Ubuntu
The following steps explain how to add the IMCCE repository to your system. These instructions should work on most Ubuntu-based Linux systems.
Install required tools
In order to add the repositories, you will need to install some tools available from the distribution. These tools are usually already installed on most Ubuntu-based operating systems.
apt install wget gnupg2
Setup the IMCCE repository
First, you need to make sure you have a copy of the IMCCE repository GPG key.
wget -O - https://packages.imcce.fr/packages.imcce.fr.gpg.key | sudo tee /etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key
Second, you need to add the source, corresponding to your distribution version, in a separate file under /etc/apt/sources.list.d/ . You need to take care to select the instructions corresponding to the codename of your distribution in order to avoid to break your system.
The following commands create the file /etc/apt/sources.list.d/packages.imcce.fr.list .
sudo echo "deb [signed-by=/etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key] https://packages.imcce.fr/apt/noble noble main" > /etc/apt/sources.list.d/packages.imcce.fr.list
The following commands create the file /etc/apt/sources.list.d/packages.imcce.fr.list .
sudo echo "deb [signed-by=/etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key] https://packages.imcce.fr/apt/mantic mantic main" > /etc/apt/sources.list.d/packages.imcce.fr.list
The following commands create the file /etc/apt/sources.list.d/packages.imcce.fr.list .
sudo echo "deb [signed-by=/etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key] https://packages.imcce.fr/apt/lunar lunar main" > /etc/apt/sources.list.d/packages.imcce.fr.list
The following commands create the file /etc/apt/sources.list.d/packages.imcce.fr.list .
sudo echo "deb [signed-by=/etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key] https://packages.imcce.fr/apt/jammy jammy main" > /etc/apt/sources.list.d/packages.imcce.fr.list
The following commands create the file /etc/apt/sources.list.d/packages.imcce.fr.list .
sudo echo "deb [signed-by=/etc/apt/trusted.gpg.d/packages.imcce.fr.gpg.key] https://packages.imcce.fr/apt/focal focal main" > /etc/apt/sources.list.d/packages.imcce.fr.list
Third, you need to update the catalog of the available packages
sudo apt update