Location of, or command to get installed date and time of a package.
cl at isbd.net
Wed Jan 20 15:14:40 UTC 2010
On Wed, Jan 20, 2010 at 03:10:12PM +0000, Avi Greenbury wrote:
> 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
> The log file lives at /var/log/dpkg.log
The logwatch utility will extract all sorts of useful information from
the dpkg.log file, filtered in all sorts of useful ways.
More information about the ubuntu-users