How to check installed packages in linux command
- apt get show installed packages
- apt get list installed packages debian
- apt get list installed packages by size
- apt get show installed package version
Yum list installed packages...
Dpkg list installed packages
The apt command is an essential tool, created by Debian, used to manage packages in Debian, Ubuntu, Linux Mint, and other derivative distributions. In this tutorial, we will learn how to use the command to list the installed packages in Ubuntu.
Listing Installed Packages
Example 1. To list installed packages with , execute:
$ sudo apt list --installedExample 2. You can also pipe to the command to show a more manageable output:
$ sudo apt list --installed | lessExample 3. Use the command to filter out a specific package name and see if it’s installed:
$ sudo apt list --installed | grep package_nameList Upgradable Packages
Example 1. List the packages that are due for an update with the following command.
First, you should update the repository cache:
$ sudo apt update $ sudo apt list --upgradableExample 2. Pipe to the command to search for a specific upgradeable package:
$ sudo apt --upgradable | grep package_nameSearching For an Installed Package
Example 1. To search for an installed package, execute:
$ apt search package_nameExample 2. The next synta
- apt get list packages installed from repository
- apt get list installed package version