0

I want to list all packages that are not automatically installed as dependencies.

E.g. I've installed build-essential, whose dependencies include gcc. I want to output a list that contains build-essential, but not gcc.

  • 1
    I think this sort of question already asked http://askubuntu.com/questions/2389/generating-list-of-manually-installed-packages-and-querying-individual-packages This link may help you. – Dharani Dharan Nov 20 '15 at 06:34
  • @DharaniDharan Thanks, apt-mark showmanual is what I'm looking for. – Tianren Liu Nov 21 '15 at 02:40

0 Answers0