@@ -93,32 +93,6 @@ sudo /usr/local/share/gcm-core/uninstall.sh
93
93
94
94
### Linux
95
95
96
- #### Experimental: install from source helper script
97
-
98
- If you would like to help dogfood our new install from source helper script,
99
- run the following:
100
-
101
- 1 . To ensure ` curl ` is installed:
102
-
103
- ``` shell
104
- curl --version
105
- ```
106
-
107
- If ` curl ` is not installed, please use your distribution's package manager
108
- to install it.
109
-
110
- 1 . To download and run the script:
111
-
112
- ``` shell
113
- curl -LO https://raw.githubusercontent.com/GitCredentialManager/git-credential-manager/main/src/linux/Packaging.Linux/install-from-source.sh &&
114
- sh ./install-from-source.sh &&
115
- git-credential-manager-core configure
116
- ```
117
-
118
- ** Note:** You will be prompted to enter your credentials so that the script
119
- can download GCM's dependencies using your distribution's package
120
- manager.
121
-
122
96
#### Ubuntu/Debian distributions
123
97
124
98
Download the latest [ .deb package] ( https://github.com/GitCredentialManager/git-credential-manager/releases/latest ) , and run the following:
@@ -142,6 +116,8 @@ sudo dpkg -r gcmcore
142
116
143
117
#### Other distributions
144
118
119
+ ##### Option 1: Tarball
120
+
145
121
Download the latest [ tarball] ( https://github.com/GitCredentialManager/git-credential-manager/releases/latest ) , and run the following:
146
122
147
123
``` shell
@@ -156,6 +132,33 @@ git-credential-manager-core unconfigure
156
132
rm $( command -v git-credential-manager-core)
157
133
```
158
134
135
+ #### Option 2: Install from source helper script
136
+
137
+ 1 . Ensure ` curl ` is installed:
138
+
139
+ ``` shell
140
+ curl --version
141
+ ```
142
+
143
+ If ` curl ` is not installed, please use your distribution's package manager
144
+ to install it.
145
+
146
+ 1 . Download and run the script:
147
+
148
+ ``` shell
149
+ curl -LO https://raw.githubusercontent.com/GitCredentialManager/git-credential-manager/main/src/linux/Packaging.Linux/install-from-source.sh &&
150
+ sh ./install-from-source.sh &&
151
+ git-credential-manager-core configure
152
+ ```
153
+
154
+ ** Note:** You will be prompted to enter your credentials so that the script
155
+ can download GCM's dependencies using your distribution's package
156
+ manager.
157
+
158
+ To uninstall:
159
+
160
+ [ Follow these instructions] ( docs/linux-fromsrc-uninstall.md ) for your distribution.
161
+
159
162
** Note:** all Linux distributions [ require additional configuration] ( https://aka.ms/gcm/credstores ) to use GCM.
160
163
161
164
---
0 commit comments