Ubuntu/Debian package question
Ben Scott
dragonhawk at gmail.com
Thu Aug 30 10:49:56 EDT 2007
On 8/30/07, Ed Robbins <ed at erobbins.com> wrote:
> Is there a way to dump out a package list on the one machine
> and import it on the other?
Yes, I think it's something like "--list-selections" to the
apt-get(1) command. Or maybe it was for dpkg(1). Redirect the output
to a file with something like "apt-get --whatever > pkglist". Then
copy that "pkglist" file to the new machine, and import it with the
option that goes the other way ("apt-get --something < pkglist").
If you check the man pages you can get the precise details. For
example, issue the command "man apt-get" to read the man page for that
command.
-- Ben
More information about the gnhlug-discuss
mailing list