Ubuntu – Does dpkg –list no longer show all installed programs

aptcommand linedpkg

Please forgive me if I don't give enough detail. I am a new user. I recently tried to install GIMP (photo-editor) using the terminal and I think it required me to install flatpak which I don't really understand and shouldn't have installed it I guess, because now I can't do what I could before. I have since uninstalled flatpak but still have same problem.

Earlier, when I was using dpkg –list to get the name of a program I wanted to uninstall, I could see a full list of all installed programs. Now I just get this weird list that doesn't look like programs, and it starts in alphabetical order but only starting at the letter "L", e.g.

libgphoto2-6:a 2.5.16-2 amd64 gphoto2 digital camera library

is the first entry. And then,

zlib1g:amd64 1:1.2.11.dfs amd64 compression library – runtime

is the last entry.

It doesn't seem to be listing programs. Like, I have clementine installed and its no longer listed with that command. I am so confused.

To give another example, I installed and uninstalled a media player successfully earlier today using the terminal, using dpkg –list to determine said program's name. I can no longer see any real programs using this or similar commands I have found here.

EDIT: apt list –installed gives the same stupid incorrect list.

Maybe it's showing libraries instead of programs now??

Best Answer

I think that the problem lies in the terminal output configuration. Chances are that it is configured so that it shows 1000 lines, while the output of dpkg --list or apt list --installed is more than 1000 lines.

In your terminal's preferences change the number of scrollback lines from 1000 to 10000 and you should be able to list all of your installed programs.