Linux server administration/apt

From Wikiversity
Jump to navigation Jump to search

Advanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu and other Linux distributions. Main Advanced Package Tool (APT) binaries are: apt, apt-get and apt-cache

Basic apt-get commands[edit]

  • apt-get install
  • apt policy PACKAGE_NAME [1] Provides source repository for a given package.

Basic apt-cache commands[edit]

  • apt-cache search


Relevant files[edit]

  • /etc/apt/sources.list[2]: Locations to fetch packages from.
  • /etc/apt/sources.list.d/: Additional source list fragments.


See Also[edit]

  • https://askubuntu.com/a/347805/897490
  • https://wiki.debian.org/SourcesList