Repositories/10.2

From openSUSE-Community

(Redirected from Package Sources/10.2)

Contents

[edit] Enabling Additional Repositories on openSUSE 10.2

[edit] Disable ZMD

We recommend that you disable ZMD before proceeding. openSUSE 10.2 contains both the ZMD (Enterprise Software Management) and the openSUSE Software Management Pattern, but ZMD is used by default. openSUSE Software management can take the YaST installer front-end, and it also comes with a nice command line tool, called Zypper (see Zypper). Type this on the Console to remove ZMD and friends:

su -c "rczmd stop; rpm -e zmd libzypp-zmd-backend sqlite-zmd rug zen-updater"

Now you're good to go with YaST or Zypper. As mentioned on the previous page, we're going to be adding all package repositories using skynet's excellent mirror (http://ftp.skynet.be/pub/), so that you will get faster download rates. However, it's a good idea to use another Mirror close to you.

[edit] Add Repositories to YaST

1. Fire up YaST:

If you are using the KDE Desktop Environment
openSUSE Menu -> Computer -> YaST (Administrator Settings).
If you are using the GNOME Desktop Environment:
Computer -> More Applications -> YaST (Administrator Settings)

2. Enter your root/administrator password, and then go to Software -> Installation Source.

First remove any source that appears there, such as the CD source, or the debug. It should be completely blank, as above. Now hit Add and then select Specify URL.

Now paste in the following URL:

http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/oss/

Once you hit Next it will start getting the relevant package source information.

Once it's finished, you can add more sources. Follow the same procedure for the following four URLs:

http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/non-oss/
http://ftp.skynet.be/pub/suser-guru/rpm/10.2/
http://ftp.skynet.be/pub/packman/suse/10.2/
http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.2/

Now simply hit Finish and you're done! You can now install more packages using the excellent Software Management module in YaST.

[edit] Other Methods

Though everything will work perfectly and the recommended package management is using YaST, there are other methods that can be quick on the command-line with package management in openSUSE 10.2. These are briefly documented below:

[edit] Via Zypper

Zypper is the new commandline tool in the openSUSE package management stack. You can use it just like rug.

To add the relevant sources, issue the following commands:

su

rpm --import http://linux01.gwdg.de/~pbleser/guru-rpm.asc http://packman.unixheads.com/suse/10.2/gpg-pubkey-1abd1afb.asc zypper -v sa http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/oss/ suse-oss102 zypper -v sa http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/non-oss/ suse-non-oss102 zypper -v sa http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.2/ update102 zypper -v sa http://ftp.skynet.be/pub/suser-guru/rpm/10.2/ guru102

zypper -v sa http://ftp.skynet.be/pub/packman/suse/10.2/ packman102

The -v option just provides a little extra verbosity; it isn't required. For other options, see Using_zypper.

[edit] Via Smart

Smart is a popular meta-package manager contained on the openSUSE CDs and DVD. To add the repositories via Smart, simply:

su

smart channel --add suse-oss102 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/oss/ -y smart channel --add suse-non-oss102 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/10.2/repo/non-oss/ -y smart channel --add update10.2 type=rpm-md name="update 10.2" baseurl=http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.2/ -y smart channel --add packman102 type=rpm-md name="Packman 10.2" baseurl=http://ftp.skynet.be/pub/packman/suse/10.2/ -y smart channel --add guru102 type=yast2 name="Guru 10.2" baseurl=http://ftp.skynet.be/pub/suser-guru/rpm/10.2/ -y

smart update

[edit] Mirrors

Note that the sources above all use ftp.skynet.be. Loads more mirrors exist, it's recommended to use one in your vicinity. See Package_Sources/Mirrors for more information.