There are multiple ways to view installed packages on Ubuntu Linux, and we’ll show you a few steps below that will list, count, and show currently installed packages. Although this post is written for Ubuntu Linux, it should also apply to other Debian-based Linux distributions using the apt package management tool. Also, for students and new users learning Linux, the easiest place to start learning is Ubuntu Linux. Ubuntu is the modern, open-source Linux operating system for desktops, servers, and other devices. Ubuntu is a great Linux operating system for beginners. To get started listing installing packages on Ubuntu Linux, follow the steps below.

How to list packages with apt on Ubuntu Linux.

apt is a command-line tool to manage packages on Ubuntu Linux. This tool is used to install, remove and perform other package-related tasks on Ubuntu Linux. You can use it to list installed packages as well. If you want to see all the installed packages on Ubuntu Linux using apt, run the commands below. When you run the commands above, it will list all installed packages including information about the package’s versions and architecture. If the list of installed packages is long, you can pipe the output to less to make it easy to read and create a page break. Press the space bar to move to the next screen.

How to list packages with dpkg-query on Ubuntu Linux

One can also use the pkg-query command to list installed packages on Ubuntu. If the way the list is formatted with the apt command isn’t adequate, you can use the dpkg-query command. Run the commands below to list installed packages using the dpkg-query command. You can also pipe the command to less to create and make it easier to read as above. You should see a similar list as the one below. the dpkg-query list is formatted appropriately as you can see above. If you want to be a little fancy, you can count the number of packages installed by running the commands below. The command above should output several packages installed on Ubuntu. That should do it! Conclusion: This post showed you how to list all installed packages on Ubuntu Linux. If you find any error above or have something to add, please use the comment form below.