DeskTux

Linux on Desktops

User Tools

Site Tools


misc:sources.list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
misc:sources.list [2023-06-12 10:10] – [LTS] jensmisc:sources.list [2024-05-20 11:37] (current) – [LTS] Add info about what LTS means jens
Line 3: Line 3:
  
 You should---of course---use a [[http://www.debian.org/mirror/list|Debian mirror]] that is not too far away from you. The examples below contain the generic mirrors where you have to replace "XX" by your language/country code. Furthermore, replace CODENAME by the version you are running, you can find all available codenames on the [[https://wiki.debian.org/DebianReleases|Debian website]]. You should---of course---use a [[http://www.debian.org/mirror/list|Debian mirror]] that is not too far away from you. The examples below contain the generic mirrors where you have to replace "XX" by your language/country code. Furthermore, replace CODENAME by the version you are running, you can find all available codenames on the [[https://wiki.debian.org/DebianReleases|Debian website]].
- 
-If you use a notebook, make sure to also read [[misc:Power_Management|these instructions]] and enable TLP in your sources.list. 
  
 I also used to have the entries for [[http://deb-multimedia.org/|Marillat]] packages by default but decided to remove them. They become less and less relevant (for me) and change too much in the base system which makes it difficult to impossible to remove them again. If you still wish to use those, feel free to use them of course. For instructions see the [[http://deb-multimedia.org/|Deb Multimedia]] website. I also used to have the entries for [[http://deb-multimedia.org/|Marillat]] packages by default but decided to remove them. They become less and less relevant (for me) and change too much in the base system which makes it difficult to impossible to remove them again. If you still wish to use those, feel free to use them of course. For instructions see the [[http://deb-multimedia.org/|Deb Multimedia]] website.
Line 50: Line 48:
  
 ==== Bookworm and newer ==== ==== Bookworm and newer ====
-<code bash>+<file bash sources.list>
 ### /etc/apt/sources.list ### /etc/apt/sources.list
 # Make sure to replace XX with your local mirror language/country code # Make sure to replace XX with your local mirror language/country code
Line 56: Line 54:
  
 ### Main Sources ### Main Sources
-deb http://ftp.XX.debian.org/debian/ CODENAME main non-free-firmware+deb http://ftp.XX.debian.org/debian/ CODENAME main non-free-firmware
  
 ### Security Updates ### Security Updates
-deb http://security.debian.org/debian-security CODENAME-security main non-free-firmware+deb http://security.debian.org/debian-security CODENAME-security main non-free-firmware
  
 ### Software Updates ### Software Updates
-deb http://ftp.XX.debian.org/debian/ CODENAME-updates main non-free-firmware +deb http://ftp.XX.debian.org/debian/ CODENAME-updates main non-free-firmware 
-</code>+</file>
  
 ==== Bullseye and older ==== ==== Bullseye and older ====
 Because many servers need the firmware for hardware to function properly, I added the ''non-free'' by default here. If you are running Debian virtualized, the ''non-free'' can be remowed. Because many servers need the firmware for hardware to function properly, I added the ''non-free'' by default here. If you are running Debian virtualized, the ''non-free'' can be remowed.
  
-<code bash>+<file bash sources.list>
 ### /etc/apt/sources.list ### /etc/apt/sources.list
 # Make sure to replace XX with your local mirror language/country code # Make sure to replace XX with your local mirror language/country code
Line 74: Line 72:
  
 ### Main Sources ### Main Sources
-deb http://ftp.XX.debian.org/debian/ CODENAME main non-free+deb http://ftp.XX.debian.org/debian/ CODENAME main non-free
  
 ### Security Updates ### Security Updates
-deb http://security.debian.org/debian-security CODENAME-security main non-free+deb http://security.debian.org/debian-security CODENAME-security main non-free
  
 ### Software Updates ### Software Updates
-deb http://ftp.XX.debian.org/debian/ CODENAME-updates main non-free +deb http://ftp.XX.debian.org/debian/ CODENAME-updates main non-free 
-</code>+</file>
  
 ===== LTS ===== ===== LTS =====
-Sometimes, especially on servers, it can happen that you need to run an older version of Debian to ensure stable production. In those cases you can use the LTS repositories. LTS is available only for the i386, amd64 and several arm architectures.+Sometimes, especially on servers, it can happen that you need to run an older version of Debian to ensure stable production. In those cases you can use the LTS((Long Term Support)) repositories. LTS is usually only available only for the i386 and amd64 architectures.
  
-For current available LTS versions, please check the [[https://wiki.debian.org/DebianReleases#Production_Releases|Debian Releases]], a fitting ''sources.list'' should look like this:+For current available LTS versions and the actual support end date, please check the [[https://wiki.debian.org/DebianReleases#Production_Releases|Debian Releases]], you should never run an OS that is no longer supported and thus won't receive security updates anymore!
  
-<code bash>+A fitting ''sources.list'' should look like this: 
 + 
 +<file bash sources.list>
 ### /etc/apt/sources.list ### /etc/apt/sources.list
 # For LTS Releases # For LTS Releases
Line 98: Line 98:
 ### Security Updates ### Security Updates
 deb http://security.debian.org/ CODENAME/updates main non-free deb http://security.debian.org/ CODENAME/updates main non-free
-</code>+</file> 
 + 
 +~~DISCUSSION~~
misc/sources.list.1686564621.txt.gz · Last modified: 2023-06-12 10:10 by jens