Here are some common package managers used across different operating systems:
Linux
-
APT (Advanced Package Tool): Used in Debian-based distributions like Ubuntu.
- Command:
apt
- Command:
-
YUM (Yellowdog Updater, Modified): Used in Red Hat-based distributions like CentOS and Fedora.
- Command:
yum
- Command:
-
DNF (Dandified YUM): The next-generation version of YUM, used in newer Fedora and RHEL versions.
- Command:
dnf
- Command:
-
Pacman: Used in Arch Linux and its derivatives.
- Command:
pacman
- Command:
-
Zypper: Used in openSUSE.
- Command:
zypper
- Command:
macOS
- Homebrew: A popular package manager for macOS.
- Command:
brew
- Command:
Windows
-
Chocolatey: A package manager for Windows that allows installation of software via command line.
- Command:
choco
- Command:
-
Scoop: A command-line installer for Windows that focuses on simplicity.
- Command:
scoop
- Command:
Cross-Platform
-
npm (Node Package Manager): Used for managing JavaScript packages, especially in Node.js applications.
- Command:
npm
- Command:
-
pip: The package manager for Python packages.
- Command:
pip
- Command:
These package managers help users install, update, and manage software packages efficiently on their respective operating systems.
