Linux distributions
● RPM-based
○ Uses the Red Hat Package Manager (RPM) format
● dpkg-based ○ Uses the Debian package format (.deb)
Package Management Systems
■ Package management systems ensure proper installation, upgrading, and removal of software
■ They also handle software dependencies, ensuring required libraries are installed
What are the key features of RPM-Based Linux Distros?
● Uses the Red Hat Package Manager (RPM) format
● Package management tools
○ dnf (previously yum)
○ zypper (for openSUSE)
● Preferred in enterprise environments due to stability, security, and structured release cycles
● Some distributions, like Red Hat Enterprise Linux (RHEL), require a paid
Examples of RPM based distros
Red Hat Enterprise Linux (RHEL)
○ Commercial distribution, offers official support
● Fedora ○ Upstream testing ground for RHEL, latest software updates ● CentOS Stream ○ Rolling preview of RHEL (replacing traditional CentOS) ● AlmaLinux & Rocky Linux ○ Free, stable, and binary-compatible alternatives to RHEL ● openSUSE ○ Uses zypper for package management, known for enterprise and desktop use
Package Installation in RPM-Based Systems
dnf
openSUSE
Uses zypper for package management, known for
enterprise and desktop use
dnf installation with FireFox
sudo dnf install firefox
zypper installation with FireFox
sudo zypper install firefox
What are the key features of dpkg-Based Linux Distros?
■ Key Features
● Uses the Debian package format (.deb)
● Package management tools
○ apt (Advanced Package Tool) ■ Fetches and installs software automatically ○ dpkg ■ Manually installs .deb files ● Extensive repositories and strong community support ● More user-friendly and frequently updated
Examples of dpkg-Based Distributions
Debian, Ubuntu, Linux Mint, Kali Linux
Debian
○ Highly stable, used as the foundation for many other
distros
Ubuntu
○ Popular, user-friendly, with frequent updates and a large
software ecosystem
Linux Mint
Designed for desktop users, similar to Windows UI
Kali Linux
Specialized for penetration testing and cybersecurity
Package Installation in dpkg-Based Systems
apt (Ubuntu, Debian, Linux Mint, Kali Linux)
Using dpkg (manually installing a .deb file)
sudo dpkg -i firefox.deb
apt installation of FireFox
sudo apt install FireFox