- # Preconditions:
- # - Ubuntu 22.04 (jammy)
- # - all "Software Sources" are enabled, including "jammy-updates" in "Developer Options"
- # The following commands are to be pasted in a root shell
- # - to obtain a root shell, type in a terminal the following command: sudo -i
- # - to paste a command, just select it then click with the middle button (wheel)
- # Disable "Phased Updates"
- echo 'APT::Get::Always-Include-Phased-Updates "1";' > /etc/apt/apt.conf.d/no-phased-updates
- # We authorize the replacement of files by the packages
- echo 'DPkg { Options {"--force-overwrite";} }' > /etc/apt/apt.conf.d/overwrite
- # Update packages
- apt-update
- apt full upgrade
- # Postcondition: check that the machine is running well with kernel 5.15.0-48 (as of September 12, 2022):
- uname -a
- # Removal of old Linux kernels
- apt install apt-show-versions
- apt purge `apt-show-versions | grep available | grep ^linux-`
- # Install flatpak
- apt install flatpak
- apt-clean
- # Various
- apt install dlocate less p7zip curl gnupg pv
- apt-clean
- # Install editors
- apt install vim-gtk3 nano micro gedit gnome-text-editor
- apt-clean
- wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O code.deb
- apt install ./code.deb
- # Installation of the default JRE and JDK (version 11.x)
- apt install default-jdk default-jdk-doc
- apt-clean
- # Installation of the JRE and JDK 17.x
- apt install openjdk-17-jdk openjdk-17-doc
- apt-clean
- # Installation of classic GNOME
- apt install ubuntu-desktop gnome-session-flashback
- apt-clean
- # Installing KDE/Plasma
- apt install kubuntu-desktop kate
- apt-clean
- # Software Images and video
- apt install gimp gimp-help-fr gimp-help-fr gimp-data-extras gimp-gap inkscape x264 x265 imagemagick mpv
- apt-clean
- # Installing Apache
- apt install apache2
- apt-clean
- # Directory to put websites
- mkdir /var/www/html/sites/
- chown MY_LOGIN /var/www/html/sites/ # Replace MY_LOGIN with your login name
- # Check that this URL works: http://localhost/sites/
- # and you can put files in /var/www/html/sites/ without being root
- # EF2 - BD
- apt install postgresql postgresql-client dia umbrello pgagent
- apt-clean
- # F. Brunet-Manquat
- apt install mysql-server
- apt-clean
- # Mr Mulot
- apt install libapache2-mod-php postgresql postgresql-doc php-pgsql
- apt-clean
- # F. Brunet-Manquat
- apt install apache2 gcc libapache2-mod-jk
- apt-clean
- # AW - Unspecified module
- apt install php-soap
- apt-clean
- # ASSR - MI-1 C programming - V. Roca
- apt install gcc clang gdb lldb valgrind
- apt-clean
- # AW - S. Bonhomme
- apt install libapache2-mod-php php-pear libxml2-utils firefox
- apt-clean
- # ASSR+AW EF4 - L. Bonnaud
- apt install gnome-system-monitor gnome-calculator qdirstat baobab
- apt-clean
- # ASSR ADMIN1 and ADMIN2 - L. Bonnaud
- apt install virt-manager qemu-kvm lynx
- apt-clean
- # AW INFO-5+6 - L. Bonnaud
- apt install net-tools ethtool wireshark iptables iptstate lynx
- apt-clean
- # Big-Data - All modules
- # MongoDB: not available for Ubuntu 22.04 -> use a version for Docker
- apt install docker.io
- docker sweater mongo
- mongo-express docker sweater
- # Pandas, scipy, numpy, scikit-learn, ipython
- apt install ^python3-pandas.* ^python3-scipy.* ^python3-numpy.* ^python3-sklearn.* ^ipython.*
- # R+modules
- apt install r-base-dev r-cran-codetools r-doc-html r-recommended
- # spreadsheet
- apt install libreoffice-calc
Raw Paste