mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
install-new-server.sh: update go version, add btop, non-interactive rust imstallation
This commit is contained in:
@@ -25,4 +25,4 @@ alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Cre
|
|||||||
|
|
||||||
alias python=python3
|
alias python=python3
|
||||||
|
|
||||||
alias cat='bat --theme="Monokai Extended" --style=plain'
|
# alias cat='bat --theme="Monokai Extended" --style=plain'
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ cat .bashrc >> ~/.bashrc
|
|||||||
source .bashrc
|
source .bashrc
|
||||||
|
|
||||||
# go
|
# go
|
||||||
echo "installing go 1.17.1"
|
echo "installing go 1.21.6"
|
||||||
wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz
|
wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz
|
||||||
tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz
|
tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
|
||||||
|
|
||||||
# nodejs
|
# nodejs
|
||||||
echo "installing nodejs v16"
|
echo "installing nodejs v16"
|
||||||
@@ -66,11 +66,18 @@ echo "instaling ripgrep"
|
|||||||
apt install ripgrep -y
|
apt install ripgrep -y
|
||||||
|
|
||||||
echo "install Rust"
|
echo "install Rust"
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
|
||||||
# needed for later rust packages installations
|
# needed for later rust packages installations
|
||||||
apt install build-essential -y
|
apt install build-essential -y
|
||||||
|
|
||||||
|
# btop
|
||||||
|
wget https://github.com/aristocratos/btop/releases/download/v1.3.0/btop-x86_64-linux-musl.tbz
|
||||||
|
tar -xjf btop-x86_64-linux-musl.tbz
|
||||||
|
cd btop
|
||||||
|
bash install.sh
|
||||||
|
cd ..
|
||||||
|
|
||||||
# assuming that Rust is installed
|
# assuming that Rust is installed
|
||||||
echo "installing delta (gitdiff tool)"
|
echo "installing delta (gitdiff tool)"
|
||||||
cargo install git-delta
|
cargo install git-delta
|
||||||
|
|||||||
Reference in New Issue
Block a user