I have some installed programs on Ubuntu on my remote server (which I have root access to it). Now I need to install a fresh Ubuntu on some other machine/server, and I don't want to go through installing all these programs and dependencies again(mysql, rails, rvm, nginx, etc...). So is there a way to capture current state of Ubuntu programs and configurations and copy it to another Ubuntu installation ?
1 Answer
Well, I found this link which exactly solves my problem :)
http://eggsonbread.com/2010/01/28/move-ubuntu-to-another-computer-in-3-simple-steps/
-
Thanks for closing the loop on your question. Super User's purpose is to build a knowledge base here rather than a collection of links to answers elsewhere; external links often break, in which case the answer would not be useful. Please include the essential information within your answer and use the link for attribution and reference. Just a heads up, link-only answers tend to attract downvotes and are often deleted. BTW, in another day, you will be able to accept your answer to indicate that the problem has been solved. Commented Apr 17, 2016 at 17:31
-
This method, using
dpkg --get-selections
will list every single package installed, default ones, libraries, everything. They may not match exactly a freshly installed system, and forcibly downgrading packages could be unpredictable at best– Xen2050Commented Apr 17, 2016 at 21:08
dpkg
command as your answer... A search of stackexchange would have found this too askubuntu.com/questions/17823/…