mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-26 21:30:55 +08:00
1.4 KiB
1.4 KiB
[Quick Tip] How To List All Installed Packages On Linux Distributions
To list all installed package on a Linux system depends on which distribution you are running and the package management mode used.
In this tutorial, we are going to look at commands on some of the notable and popularly used distros.
NOTE: You can pipe the less command OR redirected to a text file using the redirection operator (>). Below are examples
example | less
example > installed_packages.txt
Red Hat/Fedora Core/CentOS Linux:
rpm -qa
FreeBSD / OpenBSD:
pkg_info
Arch Linux:
pacman -Qq
Ubuntu / Debian / Linux Mint:
dpkg --get-selections
dpkg --list
dpkg -l
Good day.
via: http://www.unixmen.com/quick-tip-list-installed-packages-linux-distributions/
作者:Enock Seth Nyamador 译者:译者ID 校对:校对者ID