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

Avi Greenbury avismailinglistaccount at googlemail.com
Wed Jan 20 15:10:12 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.
> 

You could grep the dpkg log file(s) for the term 'installed' (or some
refined variant thereof - you'd likely not want to pick up 'not
installed').

The log file lives at /var/log/dpkg.log

-- 
Avi Greenbury
http://aviswebsite.co.uk ;)
http://aviswebsite.co.uk/asking-questions




More information about the ubuntu-users mailing list