@@ -112,9 +112,33 @@ Or you can run the `git update-microsoft-git` command, which will run those brew
112
112
113
113
## Linux
114
114
115
- For Ubuntu/Debian distributions, ` apt-get ` support is coming soon. For now, please use the most
116
- recent [ ` .deb ` package] ( https://github.com/microsoft/git/releases ) . For example, you can download a
117
- specific version as follows:
115
+ ` apt-get ` support is available for Ubuntu Bionic Beaver (18.04) and Hirsute
116
+ Hippo (21.04). Take the following steps to set up and install based on the
117
+ version you are running:
118
+
119
+ ### Ubuntu 18.04 (Bionic)
120
+
121
+ ``` shell
122
+ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
123
+ sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
124
+ sudo apt-get update
125
+ sudo apt-get install microsoft-git
126
+ ```
127
+
128
+ ### Ubuntu 21.04 (Hirsute)
129
+
130
+ ``` shell
131
+ curl -sSL https://packages.microsoft.com/config/ubuntu/21.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
132
+ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
133
+ sudo apt-get update
134
+ sudo apt-get install microsoft-git
135
+ ```
136
+
137
+ ### Other Ubuntu/Debian distributions
138
+
139
+ Please use the most recent
140
+ [ ` .deb ` package] ( https://github.com/microsoft/git/releases ) . For example,
141
+ you can download a specific version as follows:
118
142
119
143
``` shell
120
144
wget -O microsoft-git.deb https://github.com/microsoft/git/releases/download/v2.32.0.vfs.0.2/git-vfs_2.32.0.vfs.0.2.deb
@@ -128,8 +152,8 @@ which should have the same output:
128
152
git version
129
153
scalar version
130
154
```
131
-
132
- For other distributions, you will need to compile and install ` microsoft/git ` from source:
155
+ ### Non-Ubuntu/Debian distributions
156
+ You will need to compile and install ` microsoft/git ` from source:
133
157
134
158
``` shell
135
159
git clone https://github.com/microsoft/git microsoft-git
0 commit comments