Skip to content

Commit 468a85d

Browse files
author
Lessley Dennington
authored
Merge pull request #386 from ldennington/update-linux
Add instructions for `apt-get` install to `README`
2 parents 4706801 + a3e9dd5 commit 468a85d

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

.github/workflows/release-apt-get.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
inputs:
88
release:
9-
description: 'Release Tag'
9+
description: 'Release Id'
1010
required: true
1111
default: 'latest'
1212

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)