Skip to content

Packages

Installing, updating and removing software with apt, dnf and pacman, finding out which package a file belongs to, and keeping a server up to date.

Basics: Repositories, dependencies and apt, dnf and pacman side by side

Debian and Ubuntu

  • apt


    Install, update and remove packages.

  • apt-cache


    Available versions and dependencies.

  • dpkg


    Installed packages, their files and .deb files.

  • apt-mark


    Hold packages or mark them manual or auto.

  • apt-file


    Find the package that provides a file.

RHEL

  • dnf


    Package manager of RHEL, Rocky and Alma.

  • rpm


    Query packages and verify their files.

Arch

  • pacman


    Package manager of Arch Linux.

Updates in operation