added must install files (files that get prioritised)

This commit is contained in:
2022-09-27 13:07:33 +02:00
parent fb948873c6
commit 59c99ff53e
7 changed files with 58 additions and 1 deletions

View File

@@ -1 +0,0 @@
sudo apt-get install gcc g++ make

View File

@@ -1,2 +0,0 @@
sudo apt-get update
sudo apt-get install git -y

View File

@@ -1,17 +0,0 @@
# Get the full html and get the link of the button
wget https://go.dev/dl/
# get latest Linux download row
latestversionsh="$(grep -w 'downloadBox' "index.html")"
latestversionsh=$(echo "$latestversionsh" | grep 'linux')
a="$(grep -w 'data-linux="' "download")"
latestversionsh=${latestversionsh#*'href="'}
latestversionsh=${latestversionsh%'">'*}
# Download latest golang version
wget "https://go.dev"$latestversionsh
# Remove any previous Go installation then extract the archive
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

View File

@@ -1,16 +0,0 @@
# get nvm package
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# export nvm to env table
if [[ $(which zsh) == "/usr/bin/zsh" ]]; then
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.zshrc
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.zshrc
source ~/.zshrc
else
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.bashrc
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
source ~/.bashrc
fi
# install latest version of node
nvm install node

View File

@@ -1,2 +0,0 @@
sudo apt update
sudo apt install default-jdk -y

View File

@@ -1,2 +0,0 @@
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install php -y