Help with package managers
Jhair Tocancipa Triana
jhair.tocancipa at gmail.com
Tue Apr 10 15:52:51 UTC 2007
Sean Maguire writes:
> I have Ubuntu install on machine A and I want to do a second install
> on machine B. I like the package set install on machine A and want the
> same on machine B; can I generate a list so that I can "apt-get
> install <list>" and have all the packages from machine A installed on
> machine B?
,----[ man 1 dpkg ]
| To make a local copy of the package selection states:
| dpkg --get-selections >myselections
|
| You might transfer this file to another computer, and install it there with:
| dpkg --set-selections <myselections
|
| Note that this will not actually install or remove anything, but just set the
| selection state on the requested packages. You will need some other applica‐
| tion to actually download and install the requested packages. For example,
| run dselect and choose "Install".
`----
HTH,
--
--Jhair
More information about the ubuntu-users
mailing list