Results 1 to 5 of 5

Thread: How to install programs from one setup to another, easily?

  1. #1
    icyj NNTP User

    Cool How to install programs from one setup to another, easily?

    I just moved to Opensuse from Ubuntu, however I am setting up several computer and am wondering if there is an easy way to setup one computer with all the applications I want, then generate a script to move to the other computers so that I can easily have all the same programs installed on each computer? In debian or ubuntu I could do this:

    Computer copied from:
    dpkg get-selections > installed-software

    Computer copied to:
    sudo dpkg set-selections < installed-software
    sudo dselect

    Is there an similar way to do this in Opensuse 11.2?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: How to install programs from one setup to another, easil

    In Yast Software Management
    go to File > export
    you will get a file: user-packages.xml
    save it

    Use the file in other installs and Import it

    N.B. I'm not sure, but I think you will need to be using the same architecture. ie: 32 bit or 64 bit
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    icyj NNTP User

    Default Re: How to install programs from one setup to another, easil

    Perfectly easy! Thanks for immediate response!

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: How to install programs from one setup to another, easil

    Quote Originally Posted by icyj View Post
    Perfectly easy! Thanks for immediate response!
    You are welcome
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: How to install programs from one setup to another, easil

    Using yast is probably the most fool proof way (i.e. after you've imported the list you can make changes before hitting OK).

    But if you want the command line line version
    Code:
    rpm -qa --qf "%{NAME} " > installed-software
    sudo zypper in `cat installed-software`
    Note the space after %{NAME}. Its also best to double check your list before feeding it to zypper

Tags for this Thread

Posting Permissions

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