5
0
Fork 0
mirror of https://codeberg.org/B3rtl/Ubuntu-Setup-Skripte synced 2024-07-06 02:52:00 +02:00
Computertruhe-Ubuntu-Setup-.../linux_mint.sh

59 lines
2 KiB
Bash
Raw Normal View History

2019-11-03 01:03:56 +01:00
#!/usr/bin/env bash
2019-11-03 01:10:35 +01:00
###
# Variabeln setzung
###
###
# Begrüßung
###
echo -e "\nComputertruhe-Setup"
echo "-------------------"
echo ">>> Starte initiales Setup für Rechner mit frisch installiertem Linux Mint 19 ..."
2019-11-03 01:10:35 +01:00
###
# Root modus
###
echo ">>> Rootshell öffnen ..."
sudo -i
2019-11-03 01:10:35 +01:00
###
# Automatisierung
###
echo ">>> Automatische Installation empfohlener Pakete aktivieren ..."
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 --yes
echo ">>> System aktualisieren (mintupdate-cli) ..."
DEBIAN_FRONTEND=noninteractive mintupdate-cli upgrade --yes
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 --yes
echo ">>> Sprachpakete 'ar' und 'fa' installieren ..."
apt install language-pack-ar language-pack-gnome-ar language-pack-fa language-pack-gnome-fa --yes
echo ">>> Sprachunterstützung vervollständigen ..."
apt install language-selector-common --yes
apt install $(check-language-support) --yes
echo ">>> Unnötige Pakete entfernen ..."
apt clean
apt autoremove --yes
echo ">>> Rootshell beenden ..."
exit
2019-11-03 01:10:35 +01:00
###
# Abschluss
###
echo ">>> Initiales Setup beendet."
echo
echo ">>> To-dos:"
echo ">>> - Sprachpakete komplettieren"
echo ">>> - Arabisches und persisches Tastatur-Layout einrichten"