Difference between revisions of "/etc/apt/sources.list"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  cat /etc/apt/sources.list [[/etc/apt/sources.list.d/]]*
 
  cat /etc/apt/sources.list [[/etc/apt/sources.list.d/]]*
 
  [[apt-cache policy]]
 
  [[apt-cache policy]]
 +
 +
  [[sed -Ei]] 's/^# deb-src /deb-src /' [[/etc/apt/]]sources.list
  
 
== Relevant configuration files and directories ==
 
== Relevant configuration files and directories ==

Revision as of 10:02, 14 March 2024

cat /etc/apt/sources.list | grep -v "#" | grep .
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
apt-cache policy
 sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list

Relevant configuration files and directories

  • /etc/apt/sources.list[1]: Configuration files with locations to fetch packages from.
  • /etc/apt/sources.list.d/: directory with additional source list fragments.


Related terms

See also

  • https://wiki.debian.org/SourcesList
  • Advertising: