Windows
Linux
Package Management
Windows winget list equivalent in Linux
Displays packages currently installed through the system package manager.
Windows
→
winget list
Linux equivalents
apt list --installed | grep PACKAGE
dnf list installed | grep PACKAGE
pacman -Q | grep PACKAGE
Overview
What this command does
Displays packages currently installed through the system package manager.
Migration tip: Package databases list software installed by that package manager. Flatpak, Snap and manually installed applications have separate inventories.
Practical tasks
Common use cases
List installed packages
Displays packages currently installed through the system package manager.
dpkg -l
List Debian packages
pacman -Q
List Arch packages
dnf list installed
List Fedora packages
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
dpkg -l
pacman -Q
dnf list installed
Walkthrough
Examples with explanations
dpkg -l # list installed Debian packages
pacman -Q # list installed Arch packages
dnf list installed # list installed Fedora packages
Reference
Common options and variations
| Command or option | Use |
|---|---|
dpkg -l | List Debian packages |
pacman -Q | List Arch packages |
dnf list installed | List Fedora packages |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This workflow changes mostly by Linux distribution package manager: Debian/Ubuntu uses apt, Fedora uses dnf, and Arch uses pacman.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | apt/dpkg | apt list --installed | grep PACKAGE |
dpkg -l is lower-level and also common. |
| Fedora | dnf/rpm | dnf list installed | grep PACKAGE |
rpm -qa is the lower-level RPM database query. |
| Arch | pacman | pacman -Q | grep PACKAGE |
pacman -Q lists installed native packages. |
Keep learning