


You should see an output like this: abhishekitsfoss: apt list.

To see what package can be upgraded, run the command: apt list -upgradable. You have to use the options -Wf and pipe the output to sort command to get the output sorted in order. The apt command tells you how many packages can be upgraded at the end of the update command: The apt command shows the number of upgradable packages at the bottom of the apt update command output. The dpkg-query is a tool used to show information about packages listed in the dpkg database. You can also use the dpkg-query command to list installed package filtered by size. List Installed Package Size using dpkg-query Linux-image-extra-3.13.0-143-generic 150,240 installedįrom the output above, the package which utilizes the largest space on my Ubuntu server is linux-image-extra-3.13.0-143-generic which is 150Mb in size. Run the following command to list all installed packages: apt list installed If you want to search for a specific package, you can use the following command. Linux-headers-3.13.0-143-generic 13,216 installed To list installed packages with the apt command in Ubuntu Linux, follow these steps: Open the terminal by pressing Ctrl+Alt+T or searching for Terminal in the Activities menu. To list the largest installed packages in descending order, use the command: wajig large Output
