@@ -112,9 +112,33 @@ Or you can run the `git update-microsoft-git` command, which will run those brew
112112
113113## Linux
114114
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:
118142
119143``` shell
120144wget -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:
128152git version
129153scalar version
130154```
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:
133157
134158``` shell
135159git clone https://github.com/microsoft/git microsoft-git
0 commit comments