Results 1 to 5 of 5

Thread: Managing Packages on a new install

  1. #1
    Join Date
    Oct 2007
    Beans
    211

    Managing Packages on a new install

    I'm running Lubuntu 13.10 x86 on one system, and I wan to install Lubuntu 13.10 x64 fresh on a second system. I'm familar with Ubuntu style packages, but I'm looking for an easy way to install all the packages I've become accustomed too on this new system. As I understand it, If I use "apt-get install" and list several packages I can install all these packages at once, is there an easy way to list all the packages I have installed on my first system, save that list, and then pipe that list into an "apt-get install" on my new system, to install everything in one go. There are some packages I'm getting from PPAs or binaries, so I don't expect those to be done in one go, but those are the exception. Is this possible? Is there a concern for going from a 32bit to a 64bit install?

    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: Managing Packages on a new install

    http://ubuntuforums.org/showthread.p...65#post5123565
    The rest of the thread, even old, is worth a read.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,274
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Managing Packages on a new install

    Hi deamon_knight.

    Here's another reference that adds a way to backup and restore your ppa's: How To Backup Your Ubuntu Software.

    Regards.

  4. #4
    Join Date
    Oct 2007
    Beans
    211

    Re: Managing Packages on a new install

    I tried the dpkg method and it fouled up my system, not sure what went wrong there. Although I haven't tried it, shouldn't

    <code>
    sudo apt-get install < softwarelist.txt
    </code>

    do what I'm looking for? Its generating the "softwarelist.txt" thats the question. Seems like it should be easier. Thanks for the link Papibe, I'll check it out.

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Managing Packages on a new install

    You need to use dpkg.

    From old install
    dpkg --get-selections > ~/my-packages
    From New install
    sudo dpkg --set-selections < my-packages
    sudo apt-get -y update
    sudo apt-get dselect-upgrade


    Some distro's cannot automatically get dselect (like Lubuntu)
    apt-get install dselect
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •