In this tutorial you will learn:
- How to retrieve the list of installed packages using GUI
- How to retrieve the list of installed packages using the command line
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa|
|Other||Privileged access to your Linux system as root or via the
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of
List installed packages on Ubuntu 20.04 step by step instructions
List installed packages using GUI
List installed packages using the command lineThe above method only provided you with a list of the main applications installed on your Ubuntu 20.04 system. To get more verbose list of the installation packages your best bet is to turn to the command line.
The first command line tool you can try to list all installed packages on your Ubuntu system is
apt. Open the terminal window and execute:
$ apt list --installedAlternatively, the
dpkgcommand will list installed packages, including version number, architecture and short package description:
$ dpkg -l | grep ^iiThe following linux command will count all installed packages:
$ dpkg -l | grep ^ii | wc -l 1727Note, if you are searching for a particular package name, then use
grepcommand to search for its name. For example let's search for a package eg.
ubuntu-serverto see whether it is installed:
dpkg -l | grep ^ii | grep -i ubuntu-server ii ubuntu-server 1.443 amd64 The Ubuntu Server systemIf the above command does not produce any output it means that the
ubuntu-serverpackage is not installed yet.