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

Re: save package selection?



MaD dUCK wrote:
> hi, is there a way to save the selection of packages (independent of
> version numbers) that exist on the system so that the same set of
> programs can be conveniently restored or installed on another machine?
> 
> sure, i can parse dpkg -l into perl and do my thing that way, but
> that's a feature a package management system like dpkg/dselect ought
> to have. even crappy-suse comes with that... (redhat doesn't though).

You can issue 'dpkg --get-selections > <filename_here>' to get a list of the
current package status. Then later something like 'dpkg --set-selections
< <filename_here>' will tell the system what to install.
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
                      | everything is of great understanding,
'91 GS500E            | for belief in one false principle is the
Morgantown WV         | beginning of all unwisdom.

Attachment: pgpwZdgk82m6K.pgp
Description: PGP signature


Reply to: