How to list the installed Packages on Linux
What Are Packages on Linux Systems?
Packages on Linux are similar to apps or program installers on macOS and Windows—broadly speaking. They come bundled in an archive file that you typically download from a central repository. Different Linux distributions use different formats to deliver these files to you—Debian and Ubuntu use DEB files, for example, while RHEL and Fedora use RPM files.
Packages aren’t necessarily complete, precompiled programs, however. Sometimes they’re libraries, which provide important functionality to other applications on your PC. Packages are typically installed, updated, and removed using a package manager. The package manager will also try to grab any dependencies when you install an application, too, so you don’t need to manually hunt down every single piece of code any given application requires to operate.
There are a few major package managers that you’ll commonly encounter. Red Hat-derived distributions (like Fedora) use the dnf package manager, Debian-derived distributions (like Ubuntu) use apt, and Arch-based distributions use pacman. There are also a few distribution-agnostic package managers like Snap and Flatpak that you can use on most any Linux system.