From 3cfd624a2628a03c31ef19e784920ef531efc1a6 Mon Sep 17 00:00:00 2001 From: wilou Date: Thu, 15 Feb 2024 14:08:57 +0000 Subject: [PATCH] Actualiser install.sh --- install.sh | 58 +++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/install.sh b/install.sh index 9ec7851..edb71a2 100644 --- a/install.sh +++ b/install.sh @@ -45,34 +45,34 @@ cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/ sed -i 's/InhibitDelayMaxSec=30/InhibitDelayMaxSec=1800/g' /usr/lib/systemd/logind.conf.d/unattended-upgrades-logind-maxdelay.conf # Installation des composants du serveur graphique Xorg -sudo nala install -y xorg xbacklight xbindkeys xinput +nala install -y xorg xbacklight xbindkeys xinput # Installation de l'environnement de bureau MATE en mode core -sudo nala install -y mate-desktop-environment-core +nala install -y mate-desktop-environment-core # Installation du gestionnaire d'affichage -sudo nala install -y lightdm lightdm-gtk-greeter-settings +nala install -y lightdm lightdm-gtk-greeter-settings # Isntallations des outils de gestion de l'alimentation. -sudo nala install -y acpi acpid +nala install -y acpi acpid # Installation des outils de gestion du son -sudo nala install -y pulseaudio alsa-utils mate-media +nala install -y pulseaudio alsa-utils mate-media # Installation des outils de gestion des cartes réseaux -sudo nala install -y network-manager-gnome network-manager-openvpn +nala install -y network-manager-gnome network-manager-openvpn # Installation des outils de gestion d'impression, de numérisation et du bluetooth -sudo nala install -y blueman cups printer-driver-all simple-scan system-config-printer +nala install -y blueman cups printer-driver-all simple-scan system-config-printer # Activation des services fraichement installés -sudo systemctl enable acpid -sudo systemctl enable cups -sudo systemctl enable bluetooth -sudo systemctl enable lightdm +systemctl enable acpid +systemctl enable cups +systemctl enable bluetooth +systemctl enable lightdm # Installation des paquets complémentaires pour MATE -sudo nala install -y \ +nala install -y \ atril \ caja-admin \ caja-mediainfo \ @@ -117,36 +117,36 @@ xscreensaver-gl nala install -y curl flatpak freerdp2-x11 figlet htop libnotify-bin nmap net-tools speedtest-cli stress s-tui swaks testdisk tldr tlp whois wmctrl xdotool # Installation des logiciels en fonction du profil d'utilisation (décommenter selon le besoin) -sudo nala install -y blender -sudo nala install -y cheese -sudo nala install -y geany geany-plugin-addons geany-plugin-git-changebar geany-plugin-overview geany-plugin-spellcheck geany-plugin-treebrowser geany-plugin-vimode -# sudo nala install -y gimp -# sudo nala install -y hugin -sudo nala install -y imagination -# sudo nala install -y kdenlive -# sudo nala install -y obs-studio -# sudo nala install -y steam +nala install -y blender +nala install -y cheese +nala install -y geany geany-plugin-addons geany-plugin-git-changebar geany-plugin-overview geany-plugin-spellcheck geany-plugin-treebrowser geany-plugin-vimode +# nala install -y gimp +# nala install -y hugin +nala install -y imagination +# nala install -y kdenlive +# nala install -y obs-studio +# nala install -y steam # Désinstallation des paquets non désirés nala remove -y fortunes-min # Approbation du dépot pour QOwnNotes SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg' -sudo mkdir -p "$(dirname "${SIGNED_BY}")" -curl --silent --show-error --location http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/Release.key | gpg --dearmor | sudo tee "${SIGNED_BY}" > /dev/null -sudo chmod u=rw,go=r "${SIGNED_BY}" +mkdir -p "$(dirname "${SIGNED_BY}")" +curl --silent --show-error --location http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/Release.key | gpg --dearmor | tee "${SIGNED_BY}" > /dev/null +chmod u=rw,go=r "${SIGNED_BY}" # Ajout du dépot et installation de QOwnNotes à partir de celui-ci SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg' ARCHITECTURE="$(dpkg --print-architecture)" -echo "deb [arch=${ARCHITECTURE} signed-by=${SIGNED_BY}] http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/ /" | sudo tee /etc/apt/sources.list.d/qownnotes.list > /dev/null -sudo nala update -sudo nala install -y qownnotes +echo "deb [arch=${ARCHITECTURE} signed-by=${SIGNED_BY}] http://download.opensuse.org/repositories/home:/pbek:/QOwnNotes/Debian_12/ /" | tee /etc/apt/sources.list.d/qownnotes.list > /dev/null +nala update +nala install -y qownnotes # Logiciel hors dépôts : Applications Web wget --recursive --no-parent --no-host-directories --no-directories --accept '*webapp-manager*deb' 'http://packages.linuxmint.com/pool/main/w/webapp-manager/' -P /tmp/wibian/ release=$(ls /tmp/wibian/webapp-manager_1.* | tail -1) -sudo nala install -y $release +nala install -y $release # Logiciel hors dépôts : PVE VDI Client nala install -y python3-pip python3-proxmoxer python3-tk virt-viewer @@ -252,7 +252,7 @@ rm -r $builddir rm -r /tmp/wibian/ # Nettoyage des paquets inutiles du système -sudo nala autoremove +nala autoremove # Message de fin echo "Bisous" | figlet -f big