0

I have a Kubuntu 14.10 install that I am considering backing up and recreating as I've been upgrading it since 12.04 and I'm having a few issues that might be due to age. Since I've been using it for years, I have a lot of data and programs installed.

I can easily back up the data and my PPAs but I want to cleanly reinstall programs I have installed and am looking for a way to get a list of them. I have browsed /var/log/apt/history.log but it only seems to go back about a year (and has a lot of extraneous stuff).

Basically what I am looking for is a list of packages that I installed via "apt-get install" that does not include any dependencies (which would be installed automatically) nor anything that comes already in Kubuntu (which naturally is already there) so that on a clean install I could just run "apt-get install x y z . . . . ." with everything I need.

Does such a list exist?

EDIT: I don't believe this is a duplicate as what I am looking for are only packages that I installed myself (no dependencies nor packages that come with Kubuntu).

2
  • This is not a duplicate. The linked question asks how to get a list of all installed packages on the system. This question asks how to get a list of packages that only includes those that the user manually installed using apt-get install with dependencies filtered out. Apr 21, 2017 at 10:14
  • This question on Unix & Linux stack exchange is more closely related to this question. It doesn't specifically ask for dependencies to be filtered out, but it seems that that is what the OP on that question would desire anyway, so it's probably a suitable duplicate. Apr 21, 2017 at 10:17

1 Answer 1

0

I found this:

  dpkg --get-selections | grep -v deinstall

Source: How to list all installed packages

2
  • Thanks for the reply - I found that too but it gives every package installed in the system. What I am looking for are only packages that I have installed myself (no dependencies or packages that come with Kubuntu). If that is not possible then this looks to be the closest I can get.
    – Matt
    Oct 29, 2014 at 17:11
  • This: kubuntuforums.net/… has an aptitude command to list the manually installed packages.
    – user26687
    Oct 30, 2014 at 9:39

Not the answer you're looking for? Browse other questions tagged .