File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed
Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,9 @@ fast and simple terminal emulator (currently under test, if I like it)
213213ln -sf ~ /privatespace/github.com/egel/dotfiles/configuration/.config/alacritty ~ /.config/alacritty
214214```
215215
216- ## gvm
216+ ## Golang
217+
218+ ### Installation via gvm
217219
218220| type | Version Manager |
219221| ---- | --------------- |
@@ -238,7 +240,7 @@ $ which go
238240go telemetry off
239241```
240242
241- ** Alternatively go via brew**
243+ ### Alternatively install via brew
242244
243245If you do not care or use a single ` go ` version, you can install it via brew, or other package managers.
244246I have added a sample configuration below for better reference:
@@ -262,6 +264,25 @@ if [[ $PATH != *"go"* && -d "$GOPATH" && -d "$GOROOT" ]]; then
262264fi
263265```
264266
267+ ### Alternatively install via tarball
268+
269+ Added for Debian installations.
270+
271+ ``` sh
272+ # update
273+ sudo apt update && sudo apt upgrade
274+
275+ # download packages
276+ cd ~ /Downloads
277+ wget https://golang.org/dl/go1.25.1.linux-amd64.tar.gz
278+ sudo tar -C /usr/local -xzf go1.25.1.linux-amd64.tar.gz
279+
280+ # then add to .profile or .zshrc (my .zshrc already have it!)
281+ echo " export PATH=/usr/local/go/bin:${PATH} " | sudo tee -a $HOME /.profile
282+
283+ source $HOME /.profile
284+ ```
285+
265286### Go global packages
266287
267288``` sh
You can’t perform that action at this time.
0 commit comments