Skip to content

Commit 32c45cd

Browse files
committed
Add autossh, mosh, Intel and OpenCL packages to the installer script
1 parent 4ec872b commit 32c45cd

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

apt/install_software.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,28 @@ if [ "${EUID}" -ne 0 ]; then
1313
fi
1414

1515
echo "Installing apt packages."
16-
apt-get update
16+
apt update
1717
APT_PACKAGES=(
18-
"apt-transport-https" "autojump" "bleachbit" "bluetooth" "build-essential" "ca-certificates"
19-
"cifs-utils" "clamtk" "cloc" "cmake" "curl" "cutecom"
18+
"apt-transport-https" "autojump" "autossh" "bleachbit" "bluetooth" "build-essential" "ca-certificates"
19+
"cifs-utils" "clamtk" "clinfo" "cloc" "clpeak" "cmake" "curl" "cutecom"
2020
"docker-ce" "docker-ce-cli" "containerd.io" "docker-buildx-plugin" "docker-compose-plugin"
2121
"exfatprogs" "filelight" "filezilla" "freerdp2-wayland"
2222
"gcc-multilib" "g++-multilib" "gdisk" "gfortran" "gimp" "git" "git-delta" "git-gui" "gparted" "htop"
2323
"inkscape" "kde-config-flatpak" "keepassxc" "ktorrent" "libenchant-2-voikko"
2424
"libreoffice" "libreoffice-help-fi" "libreoffice-voikko"
25-
"links" "lm-sensors" "mumble" "network-manager-openvpn" "openssh-server" "optipng"
26-
"pipewire-audio" "powertop"
25+
"links" "lm-sensors" "mosh" "mumble" "network-manager-openvpn" "openssh-server" "optipng"
26+
"pipewire-audio" "pocl-opencl-icd" "powertop"
2727
"python3-dev" "python3-venv"
2828
"remmina" "remmina-plugin-kwallet" "s-tui" "screen" "signal-desktop" "stress" "synaptic" "tmispell-voikko"
2929
"texlive-full" "texmaker" "tikzit" "ufw" "usbtop" "vlc" "wget" "wireguard" "xindy" "yt-dlp" "zsh"
3030
)
3131
if [ "$(hostnamectl chassis)" = "laptop" ]; then
3232
APT_PACKAGES+=("tlp" "touchegg")
3333
fi
34-
apt-get install "${PACKAGES[@]}"
34+
if grep -wq "GenuineIntel" /proc/cpuinfo; then
35+
APT_PACKAGES+=("intel-media-va-driver" "intel-microcode" "intel-mkl" "intel-opencl-icd")
36+
fi
37+
apt install "${APT_PACKAGES[@]}"
3538

3639
echo "Installing Snap packages."
3740
snap install pycharm-professional --classic

0 commit comments

Comments
 (0)