5
0
Fork 0
mirror of https://codeberg.org/Computertruhe/Setup-Skripte.git synced 2024-06-06 18:46:25 +02:00

Add first version of linux_mint.sh script

This commit is contained in:
York-Simon Johannsen 2019-11-03 00:24:51 +01:00
parent 5461cae5a8
commit 005f2ae40f
No known key found for this signature in database
GPG key ID: 006F8812A4B527D9

35
linux_mint.sh Normal file
View file

@ -0,0 +1,35 @@
#!/bin/sh
echo -e "\nComputertruhe-Setup"
echo "-------------------"
echo ">>> Starte initiales Setup für Rechner mit frisch installiertem Linux Mint 19 ..."
echo ">>> Rootshell öffnen ..."
sudo -i
echo ">>> Automatische Installation empfohlener Pakete aktivieren ..."
sudo sed -i 's/false/true/g' /etc/apt/apt.conf.d/00recommends
echo ">>> Besten Spiegelserver für Linux Mint auswählen ..."
mint-switch-to-local-mirror
echo ">>> Paketquellen aktualisieren ..."
apt update
echo ">>> System aktualisieren (apt) ..."
DEBIAN_FRONTEND=noninteractive apt full-upgrade -y
echo ">>> System aktualisieren (mintupdate-cli) ..."
DEBIAN_FRONTEND=noninteractive mintupdate-cli upgrade -y
echo ">>> Proprietäre Treiber installieren (sofern verfügbar) ..."
ubuntu-drivers autoinstall
echo ">>> Zusätzliche Software installieren ..."
DEBIAN_FRONTEND=noninteractive apt install 0ad beneath-a-steel-sky billard-gl blobby blockout2 calibre cheese flight-of-the-amazon-queen freeciv frozen-bubble gbrainy gnome-games goldendict gparted gweled hardinfo hedgewars inkscape keepassxc libreoffice lincity-ng lure-of-the-temptress openttd pingus pipewalker playonlinux pokerth shutter steam supertux supertuxkart teeworlds ubuntu-edu-preschool ubuntu-edu-primary ubuntu-edu-secondary ubuntu-edu-tertiary vim wesnoth widelands wine-stable winetricks -y
echo ">>> Sprachpakete 'ar' und 'fa' installieren ..."
apt install language-pack-ar language-pack-gnome-ar language-pack-fa language-pack-gnome-fa -y
echo ">>> Sprachunterstützung vervollständigen ..."
apt install language-selector-common -y
apt install $(check-language-support) -y
echo ">>> Unnötige Pakete entfernen ..."
apt clean
apt autoremove -y
echo ">>> Rootshell beenden ..."
exit
echo ">>> Initiales Setup beendet."
echo
echo ">>> To-dos:"
echo ">>> - Sprachpakete komplettieren"
echo ">>> - Arabisches und persisches Tastatur-Layout einrichten"