Package Managers in Linux
A package manager is a tool that helps install, update, remove, and manage software on Linux systems.
Purpose of Package Management
- Install software packages
- Update
- Remove
- Query
- Resolve Dependencies
Different Format of Packages on Linux
| Distribution | Package Manager | Commands | Package Format |
|---|---|---|---|
| Ubuntu/Debian | APT (Advanced Package Tool) | apt, apt-get, apt-cache | .deb |
| RHEL/CentOS/Fedora | DNF/YUM | dnf, yum | .rpm |
| Arch Linux | Pacman | pacman | .tar.xz |
| Gentoo | Portage | emerge | ebuild scripts or .tbz2 |
| Slackware | Slackware Package Tools | slackpkg, pkgtool | .tgz, .txz |
| openSUSE | Zypper | zypper | .rpm |