Repositories/10.1
From openSUSE-Community
Bugfix and security support for SUSE Linux 10.1 was discontinued on May 30th, 2008. Please consider updating to a more recent version of openSUSE. For more information on the support lifetime of SUSE and openSUSE releases, please see opensuse:SUSE_Linux_Lifetime.
Contents |
[edit] Enabling Sources on SUSE 10.1
Sources here can either be added using YaST, or by using the rug command-line tool, or thirdly by using the excellent Smart package manager.
[edit] Before Beginning
We recommend that you disable ZMD before proceeding (and hence rug won't be usable, since it works through ZMD). This will still allow you to use YaST for all software management, or Smart Package Manager on the command line, it just won't be unnecessarily synced with ZMD, which has been known to cause other problems. Type this on the Console to remove ZMD and friends:
[edit] Using 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.opensuse.org/pub/opensuse/distribution/SL-10.1/inst-source/
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.opensuse.org/pub/opensuse/distribution/SL-10.1/non-oss-inst-source/ http://ftp.skynet.be/pub/suser-guru/rpm/10.1/ http://ftp.skynet.be/pub/packman/suse/10.1/ http://ftp.skynet.be/pub/ftp.suse.com/suse/update/10.1/
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
[edit] Using Smart
As noted on the Smart wiki page, Smart comes with a decent command-line tool, a jailed command-line interface, and also a Graphical front-end. Below you will find instructions on adding the sources via the Graphical User Interface (GUI), and the command-line. Smart is not installed on SUSE Linux 10.1 by default, however. So you first have to follow the instructions below for installing Smart, and then you will be good to go.
[edit] Installing Smart
Smart has a few python dependencies, but you can install them all, and smart, by simply entering the following commands. Simply paste these into a Console:
- If you've got a 32-bit system (if uname -m command does not return x86_64):
rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/rpm-python-4.4.2-40.i586.rpm rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/python-xml-2.4.2-18.i586.rpm rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/i586/python-elementtree-1.2.6-18.i586.rpm rpm -ivh http://ftp.skynet.be/pub/software.opensuse.org/smart/SUSE_Linux_10.1/i586/smart-0.49.1-1.10.i586.rpm
rpm -ivh http://software.opensuse.org/download/smart/SUSE_Linux_10.1/i586/smart-gui-0.49.1-1.10.i586.rpmOR:
- If you've got a 64-bit system (if the uname -m command returns x86_64)
rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/x86_64/rpm-python-4.4.2-40.x86_64.rpm rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/x86_64/python-xml-2.4.2-18.x86_64.rpm rpm -ihv http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/x86_64/python-elementtree-1.2.6-18.x86_64.rpm rpm -ivh http://ftp.skynet.be/pub/software.opensuse.org/smart/SUSE_Linux_10.1/x86_64/smart-0.49.1-1.14.x86_64.rpm
rpm -ivh http://ftp.skynet.be/pub/software.opensuse.org/smart/SUSE_Linux_10.1/x86_64/smart-gui-0.49.1-1.14.x86_64.rpm[edit] Enabling Sources via Graphical Front-end
First you will want to start up smart. Either hit <Alt>+<F2> and type smart, or find it in the menus. Alternatively, you can start it from the Console with kdesu 'smart --gui' The graphical front-end should now be launched:
To add channels, in the menu head over to Edit -> Channels. This is where you can edit your sources (which smart calls channels). To start adding more channels, hit on New and select Provide Channel Information.
The main repositories all use the YaST2 Repository Channel Type, so select that option: it should be the last one in the list. Now, to add the first source/channel, enter the following information:
Alias: suse-oss101 Name: SUSE Linux 10.1 Online Base URL: http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/
and don't worry about any of the other options. The information should now look something like this:
Follow the same process for the next selection of channels:
Alias: suse-non-oss101 Name: SUSE Linux Non-OSS 10.1 Online Base URL: http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/non-oss-inst-source/
Alias: packman101 Name: Packman 10.1 Base URL: http://ftp.skynet.be/pub/packman/suse/10.1/
Alias: guru101 Name: Guru 10.1 Base URL: http://ftp.skynet.be/pub/suser-guru/rpm/10.1/
Now, in the main Smart Window Menu, head to File -> Update Channels, so that Smart can take in all the new repositories that have been added. Once it's done, you're good to go!
[edit] Enabling sources via Console
Simply enter the following commands:
smart channel --add suse-oss101 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/ smart channel --add suse-non-oss101 type=yast2 baseurl=http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-10.1/non-oss-inst-source/ smart channel --add packman101 type=yast2 name="Packman 10.1" baseurl=http://ftp.skynet.be/pub/packman/suse/10.1/ smart channel --add guru101 type=yast2 name="Guru 10.1" baseurl=http://ftp.skynet.be/pub/suser-guru/rpm/10.1/
smart update[edit] Mirrors
Note that the sources above all use the Skynet mirror (http://ftp.skynet.be). Many more mirrors exist; it's recommended to use one in your vicinity. See Package_Sources/Mirrors for more information.
