Skip to content
Linux Package Management: Install and Update

Linux Package Management: Install and Update

Managing packages is one of the most basic tasks on Linux. Each distribution has its own way to install, update, and remove applications.

Example commands

  • Debian/Ubuntu: apt update, apt install, apt remove
  • Fedora: dnf install, dnf upgrade
  • Arch: pacman -S, pacman -Syu

Best practices

Always update the package list before installing and review dependencies that will be pulled in.

Last updated on