Types of software packages in Linux:
Linux uses different package management systems, each with its own package format. Some common formats:
dpkg, apt, aptitude.deb
rpm, dnf, yum.rpm
tar (for unpacking)
snap
flatpak→ Precompiled, installed and run immediately.
For example:
.deb on Debian, Ubuntu.rpm on Red Hat, Fedora.snap, .flatpak, .appimage are new formats→ Contains source code, needs to be compiled before use.
Example:
.tar.gz or .tar.xz in Arch Linux (PKGBUILD)make, cmake, ninja to build| Package | Disstro used | Install with |
|---|---|---|
firefox.deb |
Ubuntu, Debian | apt or dpkg |
vlc.rpm |
Fedora, RHEL | dnf, rpm |
brave.snap |
Ubuntu (snap) | snap |
gimp.flatpak |
Multiple distros | flatpak |