« Back to Package manager

List installed packages on a Linux system

This article is under development, so might change a few times in a short period. Got feedback or ideas to extend it? Let's improve it together!
Linux distribionFull commandShort commandAlternative
AlmaLinuxdnf list installed
Debiandpkg –listdpkg -l
OpenSUSEzypper search –installed-onlyzypper search -i
Ubuntudpkg –listdpkg -l

Debian and Ubuntu

Systems that run or based on Debian or Ubuntu can use the dpkg command to list the installed packages.

dpkg --list

OpenSUSE and SUSE

For OpenSUSE and SUSE systems, the zypper command can show the installed packages. Use the search command.

zypper search --installed-only

Relevant commands in this article

Like to learn more about the commands that were used in this article? Have a look, for some there is also cheat sheet available.

  • dnf
  • dpkg
  • zypper

Feedback

Small picture of Michael Boelen

This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution.

Mastodon icon