Results 1 to 4 of 4

Thread: Auto-install a list of packages

  1. #1
    Join Date
    Apr 2009
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Auto-install a list of packages

    Is it possible to configure Ubuntu to automatically install a list of packages in addition to the default ones? I format pretty often, so remembering and reinstalling all the packages is sort of a pain. For example: vim, subversion, git etc ...

    What is the general approach to automating a modified install?

  2. #2
    Join Date
    Dec 2006
    Beans
    1,482
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Auto-install a list of packages

    I would just save a list of all the packages you want in a text file somewhere, and when you get to a new installation, just copy and paste into an apt-get command, for example:

    sudo apt-get install vim subversion git etc someotherpackage whatever

    I think there may be more "advanced" ways of doing this, but it seems like a simple list is easiest
    Sharing Wifi Is Caring Wifi {o,o} Ubuntu Community Docs..
    |)__)
    -”-”-
    O RLY?

  3. #3
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Auto-install a list of packages

    Well, if you're going to clone another install then you can create a list of the installed packages, and automatically install them.

    The other way to do is to just copy the names of the packages you like into a terminal command. The package manager can install as many packages as you like in one command. For example:
    Code:
    sudo apt-get install package1 package2 package3
    I have a little text file tucked away of packages that I like to install on a fresh machine. One copy-paste and I can go have a cup of coffee while it sets it all up for me.

  4. #4
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Auto-install a list of packages

    You can have Synaptic make a list for you: File, Save Markings. You can then import it to your new install.
    GRUB2

    Retired.

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
  •