This page was already viewed 367times
Apt is a command-line utility for managing linux .deb packages in various linux distributions (Ubuntu, Debian, and other related Linux distributions). With the apt tool, one is able to install, update and remove all of the packages coming in the system.
Of course, apt is designed for interactive use and embeds a multitude of ways to easily manage a system. It also offers easy way to communicate with mantainers Linux OS source repositories.
*What is a sources.list file?The /etc/apt/sources.list file and the ones contained in /etc/apt/sources.list.d/ are designed to support any number of active sources and a variety of source media. They contains one source per line odered by preference (the most preferred source first). The information is acquired by apt-get update (or equivalent command from another apt command-line).
*What does this article provides?This article provides you with a complete list of standard linux distributions related apt sources.list files content. It relies on standard and official distribuions maintainers repositories and according to the OS flavors.
The distribution is related to one of the supported stable distribution codenames (Stretch, buster, bullseye).
There are three components that may be requested from repositories corresponding to package categories in term of compliance. The main section takes all packages conforming the DFSG (Debian Free-Software directives) and which does not need other package than the one defined in the internal perimeter to work. They are the only packages considered as part of Debian distribution. The contrib component takes all packages conforming the DFSG but requiring dependencies outside of the main component. The non-free component takes all packages that are not conform to the DFSG.
below is the sources.list files contents for the following distributions:
*Bullseye (debian 11) distribution sources.listdeb http://deb.debian.org/debian bullseye main contrib non-free deb-src http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://deb.debian.org/debian-security bullseye-security main contrib non-free deb-src http://deb.debian.org/debian-security bullseye-security main contrib non-free*Buster (debian 10) distribution sources.list
deb http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian buster-updates main contrib non-free deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free*Stretch (debian 9) distribution sources.list
deb http://deb.debian.org/debian stretch main contrib non-free deb-src http://deb.debian.org/debian stretch main contrib non-free deb http://deb.debian.org/debian stretch-updates main contrib non-free deb-src http://deb.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org/debian-security stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
The distribution is related to one of the supported stable distribution codenames (Jammy, Focal, Bionic, Xenial).
There are components that may be requested from repositories corresponding to package categories. The Main component corresponds to Canonical-supported free and open-source software.The Universe component corresponds to Community-maintained free and open-source software. The Restricted component is for proprietary drivers for devices. The Multiverse component corresponds to software restricted by copyright or legal issues.
below is the sources.list files contents for the following distributions:
*Jammy (ubuntu 22.04) distribution sources.listdeb http://fr.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu jammy-updates main restricted universe deb-src http://fr.archive.ubuntu.com/ubuntu jammy-updates main restricted universe deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse*Focal (ubuntu 20.04) distribution sources.list
deb http://fr.archive.ubuntu.com/ubuntu focal main restricted universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu focal main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu focal-updates main restricted universe deb-src http://fr.archive.ubuntu.com/ubuntu focal-updates main restricted universe deb http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse*Bionic (ubuntu 18.04) distribution sources.list
deb http://fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe deb-src http://fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse*Xenial (ubuntu 16.04) distribution sources.list
deb http://fr.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse deb-src http://fr.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse deb http://fr.archive.ubuntu.com/ubuntu xenial-updates main restricted universe deb-src http://fr.archive.ubuntu.com/ubuntu xenial-updates main restricted universe deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse