machine_setup/setup/programs/package_manager/apt/packages.sh
2024-01-21 21:18:40 +01:00

27 lines
647 B
Bash

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