Linux Basics/Package management

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Packages summarize all programs, which uses Linux programs.

sudo apt update - updating package list under Ubuntu

  • repositories can be added to package list
  • we use apt mostly instead of dpkg under Debian-based Linux.

Program / package installation: apt install / dpkg -i <program>

dpkg won't indicate the dependency, so you have to install those that's not on the system. The dpkg, rpm, apt, apt-get etc. commands have man guides (man = manual)