[sclug] [OT] Where does apt keep its list of installed software?

Neil Brown neil at neilzone.co.uk
Tue Oct 25 14:26:58 UTC 2011


Quoting Ian Park <i.d.c.park at ntlworld.com>:

Ian

> I don't know where to find
> the file in the Ubuntu filesystem which stores the list of installed
> software.

The list of *sources* which apt uses is in:

/etc/apt/sources.list

but, make sure you are checking those on the machine, and not in the live CD!

To get a list of all *packages* in the machine, you could use:

dpkg --get-selections

but, again, you'd need to make sure you are running this on the  
machine, not on the live CD (you'd need to mount the filesystem of  
your Ubuntu machine, and change root, I believe.)


Kind regards

Neil


-- 


Neil Brown

neil at neilzone.co.uk | http://neilzone.co.uk





More information about the Sclug mailing list