Migrating linux computers

by cw Email

Hopefully I can help someone with this tip:

If you want to update your computer installation, move harddrives around, or whatever, and you want your linux experience to be the same as the machine you are currently using, then follow this:

To migrate a computer from one Debian-based linux to another you need to use this:

Open terminal.

do:

dpkg -l | awk '{print $2}' > packages.txt

cat packages.txt

Now you have a list of packages installed, you can save this wherever you like, to be transferred to new pc.

To bring a new system up to the same packages installed:

terminal (on new system, with packages.txt in same directory):

sudo apt-get install `cat packages.txt`

NOTE: the Apostrophe in the apt-get install routine, rather than single quote.

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Feedback awaiting moderation

This post has 3 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Details

CombatWombat Speaks is a personal blog about Computing, Faith, and Life.
It is deliberately anonymous, as it doesn't really matter who I am.
What matters is the quality of the information within, and how
relevant it is to you.

There is a heavy emphasis here on technical computing, especially Linux, Ubuntu, Mint, Microsoft, VirtualBox, Networking, and Usability.

Please drop a comment in if you would like to have more details, or wish to learn about something specifically.

Close Details
CombatWombat speaks
2 Corinthians 10:4