Peeking into your Linux packages

By Sandra Henry-Stocker

Do you ever wonder how many thousands of packages are installed on your Linux system? And, yes, I said “thousands”. Even a fairly modest Linux system is likely to have well over a thousand packages installed. And there are many ways to get details on what they are.

First, to get a quick count of your installed packages on a Debian-based distribution such as Ubuntu, use the command apt list –installed like this:

$ apt list --installed | wc -l

This number is actually one too high because the output contains “Listing…” as its first line. This command would be more accurate:

$ apt list --installed | grep -v "^Listing" | wc -l

To get some details on what all these packages are, browse the list like this:

To read this article in full, please click here

From: Network World