Skip to content

Commit 8d778a7

Browse files
author
Lessley Dennington
committed
Add instructions for apt-get install to README
Updating README.md with instructions for apt-get setup and install for Ubuntu Bionic and Hirsute.
1 parent 4706801 commit 8d778a7

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,30 @@ sudo /usr/local/share/gcm-core/uninstall.sh
8888

8989
### Linux Debian package (.deb)
9090

91+
`apt-get` support is available for Ubuntu Bionic Beaver (18.04) and Hirsute
92+
Hippo (21.04). Take the following steps to set up and install based on the
93+
version you are running:
94+
95+
#### Ubuntu 18.04 (Bionic)
96+
97+
```shell
98+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
99+
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
100+
sudo apt-get update
101+
sudo apt-get install gcmcore
102+
```
103+
104+
#### Ubuntu 21.04 (Hirsute)
105+
106+
```shell
107+
curl -sSL https://packages.microsoft.com/config/ubuntu/21.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
108+
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
109+
sudo apt-get update
110+
sudo apt-get install gcmcore
111+
```
112+
113+
#### Other Ubuntu/Debian distributions
114+
91115
Download the latest [.deb package](https://github.com/microsoft/Git-Credential-Manager-Core/releases/latest), and run the following:
92116

93117
```shell
@@ -97,9 +121,7 @@ git-credential-manager-core configure
97121

98122
Note that Linux distributions [require additional configuration](https://aka.ms/gcmcore-linuxcredstores) to use GCM Core.
99123

100-
---
101-
102-
### Linux tarball (.tar.gz)
124+
#### Other distributions
103125

104126
Download the latest [tarball](https://github.com/microsoft/Git-Credential-Manager-Core/releases/latest), and run the following:
105127

0 commit comments

Comments
 (0)