[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dump package list to file?



On Sat, Nov 25, 2000 at 01:44:29PM +0000, Phillip Deackes wrote:
> > I want to dump a list of the packages I have installed on a current
> > potatoe installto a file, so I can later build a machine with the same
> > packages? How do I do this?
> > 
> 
> Easy. Just do 'dpkg -l > filename'

No, I don't think that's what the person wants (that'll give them a
list of *all* Debian packages and it's output will be truncated to
boot).

$ dpkg --get-selections >> filename

And later on the other machine...

$ dpkg --set-selections < filename

-- 
Eric G. Miller <egm2@jps.net>



Reply to: