From 005f2ae40fa246f700e8f26f4b834c92098dedd1 Mon Sep 17 00:00:00 2001 From: York-Simon Johannsen Date: Sun, 3 Nov 2019 00:24:51 +0100 Subject: [PATCH] Add first version of linux_mint.sh script --- linux_mint.sh | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 linux_mint.sh diff --git a/linux_mint.sh b/linux_mint.sh new file mode 100644 index 0000000..b2606ba --- /dev/null +++ b/linux_mint.sh @@ -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"