Location of, or command to get installed date and time of a package.

Ray Parrish crp at cmc.net
Sat Jan 23 04:58:50 UTC 2010

Ray Parrish wrote:
> Hello,
> Is there a quick one line command that will return the installed date, 
> and time of a software package in Linux, or Ubuntu more specifically?
> Alternatively, is that data in a file somewhere in the file system? I'm 
> sure it is, as Synaptic Package Manager has the data to look at, I just 
> do not know where it stores the data.
> I can parse the file myself, if I can discover where it resides.
> Thanks for any help you can be.
> Later, Ray Parrish


Once again I would like to thank everyone for their help on this thread. 
There were some good suggestions, but in the end, I went my own way when 
I discovered that in the /var/lib/dpkg/info folder there is an installed 
files list for every package on a Linux system, and the date, and time 
of this installed files list is the installation date, and time of the 
package it's for.

With this information I was able to add the installed date, and time to 
my Linux dpkg Software Report program's output with very few lines of code.

The new version 1.17 of the Linux dpkg Software Report is now available 
for downloading on the page in the first link in my signature block 
below. Note that there are a couple of bug fixes included in this 
version as well, so if you are already using it, it would be a good idea 
to upgrade to the new version.

Later, Ray Parrish

Linux dpkg Software Report script set..
Ray's Links, a variety of links to usefull things, and articles by Ray.
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.

More information about the ubuntu-users mailing list