I just spent an hour trying to solve dependencies to build freeCAD
from their slightly outdated Wiki.
Is there a way to get the packages I installed in the last hour or day with apt-get
or aptitude
?
My first try was ls -t /var/apt/cache/archive
but that list packages with weird dates. for example, one I'm sure Installed just now, python2.7-dev
, is listed as "Mar 17 2014". The only thing listed as today are a few security updates I did this morning. And there are dirs there marked from 2006. I didn't even have that install that long ago.
I can't use command line history either because I used a mix of apt-get install and aptitude. also I had several terminals and history got screwy after a while.
edit:
@jmonrio pointed to an excellent answer, but that gives me a ton of packages when i only installed a handful. it does not differentiate from what i asked to be installed from what was installed as part of the dependency chain.
Do I have any hope of getting the minimum install line for that history? i.e. without the automatically included ones.
Best Answer
Take a look at this answer:
Command to list recently installed packages that were installed via any method (apt-get, Software Center et al.):
You could run this command to list only the recently installed package names,