2024-01-21 18:54:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-01-21 17:22:26 +00:00
|
|
|
function install {
|
|
|
|
which $1 &> /dev/null
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "Installing: ${1}..."
|
|
|
|
sudo apt install -y $1
|
|
|
|
else
|
|
|
|
echo "Already installed: ${1}"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-21 18:54:19 +00:00
|
|
|
apt_packages=( "curl" "exfat-utils" "git" "htop" "tmux" "gimp" "inkscape" "texlive-full" "stow" "vlc" "blender" "gparted" "docker.io" "docker-compose" "python3-pip" "wget" "tree" "universal-ctags" )
|
2024-01-21 17:22:26 +00:00
|
|
|
|
|
|
|
sudo apt update
|
|
|
|
|
2024-01-21 18:54:19 +00:00
|
|
|
for package in "${apt_packages}$"
|
2024-01-21 17:22:26 +00:00
|
|
|
do
|
|
|
|
install ${package}
|
|
|
|
done
|
|
|
|
|
|
|
|
|