/etc/apt/sources.list

From wikieduonline
Revision as of 10:07, 14 March 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search
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
apt update

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: