-2

Ubuntu 22.04.4 LTS or later
I want to get all LEAF packages (top dependencies).

Purpose: cleaning system from packages I don't need.
It's hard to search through full list apt list --installed.
For me perfect list is filtered apt list. Or any cli or graphical app to resolve this problem.

EDIT: It's not specific to list only manual installed. So it's not question "how to list manual installed packages"

1 Answers1

-1

"top dependencies" does not have the same definition to me in this context.

But leaf packages are usually all manually selected packages, the list can be long, but usually shorter. Try dpkg-query -W

you might also want to query packages by size, so you can focus on what is taking space on your harddrive.

see this other related question How do I list installed software with the installed size?

Mathieu J.
  • 1,256