Script basique pour ré-installers les packages de base :
install-pakage.sh
#!/bin/bash echo -e "\nInstalling system tools...\n" sudo apt install -y gparted sudo apt install -y htop sudo apt install -y dconf-editor sudo apt install -y xfburn sudo apt install -y numlockx sudo apt install -y ncdu # sudo apt install -y realpath sudo apt install -y p7zip-full sudo apt install -y geany sudo apt install -y leafpad sudo apt install -y vim sudo apt install -y nmap sudo apt install -y whois sudo apt install -y conky-all # sudo apt install -y openssh-client # sudo apt install -y openssh-server sudo apt install -y lftp sudo apt install -y ssmtp sudo apt install -y mailutils mailutils-doc sudo apt install -y gimp # sudo apt install -y xsane // Scanner sudo apt install -y git gitk # sudo apt install -y teamviewer sudo apt install -y gnome-commander libgnomevfs2-extra pavucontrol echo -e "\nInstalling base packages...\n" sudo apt install -y baobab sudo apt install -y smartmontools // disk usage analyzer for GNOME sudo apt install -y gsmartcontrol // disk SMART information sudo apt install -y smart-notifier sudo apt install -y filezilla sudo apt install -y chromium-browser #sudo apt install -y chromium-browser-l10n #sudo apt install -y adobe-flashplugin browser-plugin-freshplayer-pepperflash sudo apt install -y fbreader sudo apt install -y calibre sudo apt install -y vlc sudo apt install -y vlc-l10n vlc-plugin-skins2 echo -e "\nInstalling security packages...\n" sudo apt install -y privoxy gufw echo -e "\nInstalling NetWork monitoring...\n" sudo apt install -y nethogs sudo apt install -y iftop sudo apt install -y speedtest-cli sudo apt install -y wireshark-qt sudo apt install -y etherape sudo apt install -y apt-transport-https curl # curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - # echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list # sudo apt update # sudo apt install -y skype sudo apt install -y lame sudo apt install -y flac sudo apt install -y soundconverter sudo apt install -y fluidsynth vlc-plugin-fluidsynth # player midi # sudo apt install -y mysql-workbench mysql-workbench-data sudo apt install -y sqlitebrowser sqlite3 sqlite3-doc # sudo apt install -y lamp-server^ # Mind the caret (^) at the end. echo -e "\nInstalling system check...\n" sudo apt install -y lynis lynx echo -e "\nInstalling multi-media packages...\n" # sudo apt install -y xnview sudo apt install -y mixxx audacity sudo apt install -y pdfshuffler sudo apt install -y mypaint inkscape sudo apt install -y ffmpeg sudo apt install -y openshot sudo apt install -y ubuntu-restricted-extras // CoDECS sudo apt install -y gtick // Gnome Métronome sudo apt install -y mediainfo mediainfo-gui sudo apt install -y sweethome3d sudo apt install -y cheese sudo apt install -y vokoscreen sudo apt install -y snapd sudo apt install -y torbrowser-launcher sudo apt install -y nginx echo -e "\nInstalling yt-dlp ...\n" sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp sudo chmod a+rx /usr/local/bin/yt-dlp # Make executable echo -e "\nInstalling Androïd communication ...\n" sudo apt install -y mtp-tools echo -e "\nInstalling game packages...\n" sudo apt install -y echo -e "\nInstalling game packages...\n" sudo apt install -y lbreakout2 gnubg sudo apt install -y supertux extremetuxracer sudo apt install -y xmoto neverball # sudo apt install -y tuxpaint tuxpaint-config # echo -e "\nInstalling wine...\n" # sudo apt install -y mono-complete # sudo apt install -y wine-stable # sudo apt install -y p11-kit-modules:i386 # sudo apt install -y libp11-kit-gnome-keyring:i386 echo -e "\nInstalling youtube-dl...\n" # sudo apt install -y youtube-dl # see http://ytdl-org.github.io/youtube-dl/download.html sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl echo -e "\nInstalling nvm (for Node.js)...\n" curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash echo -e "\nInstalling vscodium...\n" wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \ | gpg --dearmor \ | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list sudo apt -y install codium echo -e "\nCreating GIT user...\n" echo -n " Exécuter les commandes suivantes : sudo useradd -m git --shell /bin/bash # set user git password sudo passwd git su git cd mkdir .ssh && chmod 700 .ssh touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys *** Copier sa clé publique dans /home/git/.ssh/authorized_keys " echo -e "\n...Done!\n"
apt-add-repository ppa:ubuntu-wine/ppa
Pour s'éviter des soucis de stabilité, il vaut mieux ne pas faire de mise à jour automatique.
# Install Oracle public key: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - # Add VirtualBox PPA: sudo sh -c 'echo “deb http://download.virtualbox.org/virtualbox/debian trusty contrib” » /etc/apt/sources.list.d/virtualbox.list'
Add notepadqq PPA :
sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt install notepadqq
Liste des .deb
cd ~/Downloads/ wget [[http://download.teamviewer.com/download/teamviewer_i386.deb|http://download.teamviewer.com/download/teamviewer_i386.deb]] sudo gdebi teamviewer_i386.deb wget [[http://download.xnview.com/XnViewMP-linux-x64.deb|http://download.xnview.com/XnViewMP-linux-x64.deb]] sudo gdebi XnViewMP-linux-x64.deb
Imprimante