[HOWTO] Install all the packages installed in one Ubuntu Installation to another

A recent Web Upd8 article featured a tool called Meta Backup, which unfortunately fails to work as expected unless all the repositories are already configured and there are no orphan packages (not sure of the term, but I’m referring to those that are listed in Synaptic>Origin>Local) .

I created a simple script which can help achieve what Meta Backup wishes to achieve, which is to install the same set of packages in another computer running same version of Ubuntu. Please keep backup of your /etc/apt in both computers. I am not responsible for any harm done to you or your PC by using this script. Having said that, here it is:

pkgbkp-0.04.tar.gz

Extract it and run “packagebkp” from the terminal as root.

  • MSTdzw

    THX, this have two packeges first I launch packagebkp and then launchpad-getkeys?
    To restore backup #sudo ./install-all-packages ?
    /etc/apt/ is automatic backup for the script ?

    Sorry for my english :]

    • Ans
      #1: No, you only run sudo ./packagebkp
      #2. Yes
      #3. Yes

    • Ans
      #1: No, you only run sudo ./packagebkp
      #2. Yes
      #3. Yes

  • ammar

    Thank for the script..it works fine for me so far
    -so if i have package in origin>local it will be installed as well?
    -in new computer i just run install-all-packages script. so deb file created by meta-backup is still useful?