#!/bin/bash sudo su echo deb mirror://linux-libre.fsfla.org/pub/linux-libre/freesh/mirrors.txt freesh main>/etc/apt/sources.list sudo apt update grep --color=always -i PAE /proc/cpuinfo echo "Quelle version désirez-vous installer ? (si PAE s'affiche en rouge, veuillez sélectionner 1 ou 4)" echo "1: Dernière version" echo "2: Dernière version sans PAE" echo "3: Dernière version LTS" echo "4: Dernière version LTS sans PAE" read version if [ "$version" = "1" ]; then sudo apt install linux-libre elif [ "$version" = "2" ]; then sudo apt install linux-libre-nonpae elif [ "$version" = "3" ]; then sudo apt install linux-libre-lts elif [ "$version" = "4" ]; then sudo apt install linux-libre-lts-nonpae else echo "Réponse invalide" fi echo "Installation terminée, appuyez sur une touche pour redémarrer" read sudo reboot