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?

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

Perfectly easy! Thanks for immediate response!

You are welcome;)

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


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