
7 May
2012
7 May
'12
12:57 a.m.
On 07/05/12 10:34, Carl Turney wrote:
Hi All,
This the best forum for such a question?
I'm using Ubuntu Lucid (until July, when I'll go over to Precise).
Wondering if there's any sort of terminal command parameter for apt, or menu option in Synaptic, where I can get a dump or list of every package currently installed in my laptop Lucid system? But wait, there's more...
I think dpkg --get-selections is the command you are looking for. You can then use awk dpkg --get-selections | awk '{ print $1 } ' will get you just the list you need, and you should then be able to pipe that into apt-get or aptitude with something like xargs apt-get install < /tmp/selections