Actualiser install.sh
This commit is contained in:
parent
29531c6afc
commit
da87aaf6e7
69
install.sh
69
install.sh
@ -39,32 +39,28 @@ nala fetch --auto -y
|
|||||||
|
|
||||||
# Installation et configuration du logiciel des gestion automatique des mises à jour
|
# Installation et configuration du logiciel des gestion automatique des mises à jour
|
||||||
# Commande pour tester le bon fonctionnement : unattended-upgrades --dry-run --debug
|
# Commande pour tester le bon fonctionnement : unattended-upgrades --dry-run --debug
|
||||||
nala install unattended-upgrades -y
|
nala install -y unattended-upgrades
|
||||||
cp 50unattended-upgrades /etc/apt/apt.conf.d/50unattended-upgrades
|
cp 50unattended-upgrades /etc/apt/apt.conf.d/50unattended-upgrades
|
||||||
cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/
|
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
|
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
|
# Installation des composants du serveur graphique Xorg
|
||||||
sudo nala install -y \
|
sudo nala install -y xorg xbacklight xbindkeys xinput
|
||||||
xorg \
|
|
||||||
xbacklight \
|
|
||||||
xbindkeys \
|
|
||||||
xinput
|
|
||||||
|
|
||||||
# Installation de l'environnement de bureau MATE en mode core
|
# Installation de l'environnement de bureau MATE en mode core
|
||||||
sudo nala install mate-desktop-environment-core
|
sudo nala install -y mate-desktop-environment-core
|
||||||
|
|
||||||
# Installation du gestionnaire d'affichage
|
# Installation du gestionnaire d'affichage
|
||||||
sudo nala install lightdm lightdm-gtk-greeter-settings
|
sudo nala install -y lightdm lightdm-gtk-greeter-settings
|
||||||
|
|
||||||
# Installation ds outils de gestion du son
|
# Installation ds outils de gestion du son
|
||||||
sudo nala install
|
sudo nala install
|
||||||
|
|
||||||
# Installation des outils de gestion des cartes réseaux
|
# Installation des outils de gestion des cartes réseaux
|
||||||
sudo nala install network-manager-gnome network-manager-openvpn
|
sudo nala install -y network-manager-gnome network-manager-openvpn
|
||||||
|
|
||||||
# Installation des outils de gestion d'impression, de numérisation et du bluetooth
|
# Installation des outils de gestion d'impression, de numérisation et du bluetooth
|
||||||
sudo nala install blueman cups printer-driver-all simple-scan system-config-printer
|
sudo nala install -y blueman cups printer-driver-all simple-scan system-config-printer
|
||||||
|
|
||||||
# Activation des services fraichement installés
|
# Activation des services fraichement installés
|
||||||
sudo systemctl enable cups
|
sudo systemctl enable cups
|
||||||
@ -111,19 +107,19 @@ synaptic \
|
|||||||
xscreensaver-gl \
|
xscreensaver-gl \
|
||||||
|
|
||||||
# Installation des paquets utilitaires
|
# Installation des paquets utilitaires
|
||||||
nala install curl flatpak freerdp2-x11 figlet git htop libnotify-bin micro nmap net-tools speedtest-cli stress s-tui swaks testdisk tldr tlp whois wmctrl xdotool zram-tools -y
|
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)
|
# Installation des logiciels en fonction du profil d'utilisation (décommenter selon le besoin)
|
||||||
# sudo nala install blender
|
# sudo nala -y install blender
|
||||||
# sudo nala install cheese
|
# sudo nala -y install cheese
|
||||||
# sudo apt install -y geany geany-plugin-addons geany-plugin-git-changebar geany-plugin-overview geany-plugin-spellcheck geany-plugin-treebrowser geany-plugin-vimode
|
# sudo nala -y install geany geany-plugin-addons geany-plugin-git-changebar geany-plugin-overview geany-plugin-spellcheck geany-plugin-treebrowser geany-plugin-vimode
|
||||||
# sudo nala install gimp
|
# sudo nala -y install gimp
|
||||||
# sudo nala install hugin
|
# sudo nala -y install hugin
|
||||||
# sudo nala install kdenlive
|
# sudo nala -y install kdenlive
|
||||||
# sudo nala install obs-studio
|
# sudo nala -y install obs-studio
|
||||||
|
|
||||||
# Désinstallation des paquets non désirés
|
# Désinstallation des paquets non désirés
|
||||||
nala remove fortunes-min -y
|
nala -y remove fortunes-min
|
||||||
|
|
||||||
# Approbation du dépot pour QOwnNotes
|
# Approbation du dépot pour QOwnNotes
|
||||||
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
|
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
|
||||||
@ -135,13 +131,13 @@ sudo chmod u=rw,go=r "${SIGNED_BY}"
|
|||||||
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
|
SIGNED_BY='/etc/apt/keyrings/qownnotes.gpg'
|
||||||
ARCHITECTURE="$(dpkg --print-architecture)"
|
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
|
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 apt update
|
sudo nala update
|
||||||
sudo apt install qownnotes
|
sudo nala install -y qownnotes
|
||||||
|
|
||||||
# Logiciel hors dépôts : Applications Web
|
# 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/
|
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)
|
release=$(ls /tmp/wibian/webapp-manager_1.* | tail -1)
|
||||||
sudo nala install $release -y
|
sudo nala install -y $release
|
||||||
|
|
||||||
# Logiciel hors dépôts : PVE VDI Client
|
# Logiciel hors dépôts : PVE VDI Client
|
||||||
nala install python3-pip python3-proxmoxer python3-tk virt-viewer git -y
|
nala install python3-pip python3-proxmoxer python3-tk virt-viewer git -y
|
||||||
@ -154,15 +150,15 @@ chmod +x /usr/local/bin/vdiclient.py
|
|||||||
# Logiciel hors dépots : Deskreen
|
# Logiciel hors dépots : Deskreen
|
||||||
package="https://(.*)deskreen_(.*).deb"
|
package="https://(.*)deskreen_(.*).deb"
|
||||||
wget $(curl -L -s https://api.github.com/repos/pavlobu/deskreen/releases/latest | grep -o -E $package) -P /tmp/wibian/
|
wget $(curl -L -s https://api.github.com/repos/pavlobu/deskreen/releases/latest | grep -o -E $package) -P /tmp/wibian/
|
||||||
nala install /tmp/wibian/deskreen_*.deb -y
|
nala install -y /tmp/wibian/deskreen_*.deb
|
||||||
|
|
||||||
# Logiciel hors dépots : Youtube music
|
# Logiciel hors dépots : Youtube music
|
||||||
package="https://(.*)youtube-music_(.*).deb"
|
package="https://(.*)youtube-music_(.*).deb"
|
||||||
wget $(curl -L -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep -o -E $package) -P /tmp/wibian/
|
wget $(curl -L -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep -o -E $package) -P /tmp/wibian/
|
||||||
nala install /tmp/wibian/youtube-music_*.deb -y
|
nala install -y /tmp/wibian/youtube-music_*.deb
|
||||||
|
|
||||||
# Installation des thèmes wibian-light et wibian-dark
|
# Installation des thèmes wibian-light et wibian-dark
|
||||||
nala install greybird-gtk-theme papirus-icon-theme -y
|
nala install -y greybird-gtk-theme papirus-icon-theme
|
||||||
mkdir -p /home/$username/.themes
|
mkdir -p /home/$username/.themes
|
||||||
unzip $builddir/themes.zip -d /home/$username/.themes/
|
unzip $builddir/themes.zip -d /home/$username/.themes/
|
||||||
chown -R $username:$username /home/$username/.themes/
|
chown -R $username:$username /home/$username/.themes/
|
||||||
@ -173,7 +169,28 @@ notify-send -i $builddir/icones/sympatech_logo_rouge.png "Attention" "Redémarra
|
|||||||
|
|
||||||
# Flatpak (reboot nécéssaire)
|
# Flatpak (reboot nécéssaire)
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
flatpak install flathub io.github.giantpinkrobots.flatsweep io.freetubeapp.FreeTube com.github.geigi.cozy io.crow_translate.CrowTranslate com.discordapp.Discord com.jgraph.drawio.desktop com.github.tchx84.Flatseal me.hyliu.fluentreader io.github.hmlendea.geforcenow-electron org.onlyoffice.desktopeditors org.jdownloader.JDownloader io.gitlab.librewolf-community org.gnome.World.PikaBackup com.github.PintaProject.Pinta com.stremio.Stremio de.haeckerfelix.Shortwave com.github.marinm.songrec io.github.hakandundar34coding.mini-system-monitor com.github.rajsolai.textsnatcher app.drey.Warp -y
|
flatpak install -y \
|
||||||
|
flathub \
|
||||||
|
io.github.giantpinkrobots.flatsweep \
|
||||||
|
io.freetubeapp.FreeTube \
|
||||||
|
com.github.geigi.cozy \
|
||||||
|
io.crow_translate.CrowTranslate \
|
||||||
|
com.discordapp.Discord \
|
||||||
|
com.jgraph.drawio.desktop \
|
||||||
|
com.github.tchx84.Flatseal \
|
||||||
|
me.hyliu.fluentreader \
|
||||||
|
io.github.hmlendea.geforcenow-electron \
|
||||||
|
org.onlyoffice.desktopeditors \
|
||||||
|
org.jdownloader.JDownloader \
|
||||||
|
io.gitlab.librewolf-community \
|
||||||
|
org.gnome.World.PikaBackup \
|
||||||
|
com.github.PintaProject.Pinta \
|
||||||
|
com.stremio.Stremio \
|
||||||
|
de.haeckerfelix.Shortwave \
|
||||||
|
com.github.marinm.songrec \
|
||||||
|
io.github.hakandundar34coding.mini-system-monitor \
|
||||||
|
com.github.rajsolai.textsnatcher \
|
||||||
|
app.drey.Warp
|
||||||
|
|
||||||
# Scripts exécutés au premier redémarrage dans le dossier caché .runonce de l'utilisateur
|
# Scripts exécutés au premier redémarrage dans le dossier caché .runonce de l'utilisateur
|
||||||
mkdir -p /home/$username/.runonce
|
mkdir -p /home/$username/.runonce
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user