You can filter the dpkg-query -l output using the grep command: sudo dpkg-query -l | grep package_name_to_search Create a List of all Installed Packages # The command will display a list of all installed packages including the packages versions, architecture, and a short description. To get a list of all installed packages type: sudo dpkg-query -l | less List Installed Packages with dpkg-query #ĭpkg-query is a command line that can be used to display information about packages listed in the dpkg database. The output above shows that you have tmux 2.3-4 installed on your system. Package is installed on the system you would type: sudo apt list -installed | grep tmux tmux/stable,now 2.3-4 amd64 To find out whether a specific package is installed, use the grep command Since the packages list is long it is a good idea to pipe the output to the less command to make it easier to read: sudo apt list -installed | less The rightmost column in the output shows whether the package was automatically installed as a dependency of another package. The command will display a list of all installed packages including information about the packages versions and architecture. To lists all packages installed on your system run the following command: sudo apt list -installed adduser/stable,now 3.115 all Īpt-listchanges/stable,now 3.10 all Īpt-utils/stable,now 1.4.8 amd64 Īutoconf/stable,now 2.69-10 all Īutomake/stable,now 1:1.15-6 all Īutotools-dev/stable,now 20161112.1 all īase-files/stable,now 9.9+deb9u5 amd64 īase-passwd/stable,now 3.5.43 amd64 Is a command-line interface for the package management system and combines the most commonly used functionalities from apt-get and apt-cache including an option to list installed packages. Knowing how to list installed packages on your Debian based system can be helpful in situations where you need to install the same packages on another machine or if you want to re-install your system. Linux Applications User Guide - Finding, Installing and Running Linux Apps via a Package Manager or Source
0 Comments
Leave a Reply. |