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 12:02] – Typo jensmisc:sources.list [2023-06-13 08:33] (current) 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.
  
-Because users usually do not do development, I left out the ''deb-src'' entries. If you need the sources, just duplicate all entries and replace the starting ''deb'' with ''deb-src''.+Because users usually do not do development, I left out the ''deb-src'' entries. If you need the sources, just duplicate all entries and replace the starting ''deb'' with ''deb-src'' in the duplicates.
  
 ===== Bookworm and newer ===== ===== Bookworm and newer =====
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 =====
Line 88: Line 86:
 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, please check the [[https://wiki.debian.org/DebianReleases#Production_Releases|Debian Releases]], a fitting ''sources.list'' should look like this:
  
-<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+For LTS Releases
 # Make sure to replace CODENAME with the release codename you are running # Make sure to replace CODENAME with the release codename you are running
  
Line 98: Line 96:
 ### 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>
misc/sources.list.1686564137.txt.gz · Last modified: 2023-06-12 12:02 by jens