How to install the same package on multiple ubuntu machine?

NoOp glgxg at sbcglobal.net
Mon Nov 14 00:38:52 UTC 2011


On 11/12/2011 06:58 PM, Peng Yu wrote:
> Hi,
> 
> I have a number of ubuntu machines with the same version of OS. I want
> install some package on all of them. Login to each of them and run the
> installation command (could be apt-get or traditional
> configure->make->make install) is time consuming. Is there some tool
> that can help me automate this process? Thanks!
> 

If these are multiple packages you could simply build a markings file
and then distribute that and your sources list & run as a script file.

Refs:
<https://help.ubuntu.com/community/ReinstallingSamePackages>
http://ubuntuforums.org/showthread.php?t=1057608
HOWTO Reinstall all of your current packages if you do a fresh Ubuntu
install
<http://kevin.vanzonneveld.net/techblog/article/restore_packages_using_dselectupgrade/>
<http://www.ubuntugeek.com/howto-reinstall-all-of-currently-installed-packages-in-fresh-ubuntu-install.html>

Note: you can easily modify the marking/dpkglist.txt file to suit your
requirements. If you use Synaptic you can just select the packages that
you wish to mark rather than the entire list of installed packages.





More information about the ubuntu-users mailing list