LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   List packages WITH install date? (https://www.linuxquestions.org/questions/ubuntu-63/list-packages-with-install-date-622335/)

ranger_nemo 02-19-2008 04:40 PM

List packages WITH install date?
 
Last weekend, I installed Kubuntu 7.10 on my laptop, replacing Fedora 8.

Is there a way to list the installed packages WITH install dates? In Fed, "rpm -qa --last" did the trick nicely.

I've been searching the manuals for apt, dpkg, and aptitude, but can't find it yet.

pljvaldez 02-19-2008 05:01 PM

You might poke through /var/log/dpkg.log.

I'm not in front of my debian box, but you might look at the man page for apt-cache or apt-file also. It may have some option.

Mephisto 02-19-2008 06:58 PM

Interesting question. Not that I know of. I did a bit of poking around as well and can't find any way to do that. As pjvaldez suggested you can get the information from pdkg.log and a little judicious use of grep.

pbhj 02-19-2008 08:49 PM

How about:
Code:

cat /var/log/dpkg.log | grep "\ install\ "
?

ranger_nemo 02-21-2008 05:51 PM

Alright... Thanks, guys.


All times are GMT -5. The time now is 01:34 AM.