Add Package Repositories to YaST
From openSUSE
| YaST Software Management is a great tool for dealing with packages. You can install packages, remove them, update, and even protect them. openSUSE comes with a lot of packages, but even more packages can be made available for easy installation with YaST Software Management by adding additional repositories. |
| Note: See Package_Repositories for a list of official openSUSE repositories, and Additional YaST Package Repositories for a list of available third-party repositories. |
Contents |
Adding Repositories
Start YaST by clicking on it under System in your menu or by typing yast in the run command box (press Alt+F2).
Select Software Repositories.
Click on Add, select Specify URL.
Then enter a Repository Name and a URL. It's recommended to copy/paste URLs to avoid typos.
Package metadata will be downloaded and parsed - this takes time depending on mirror speed, your bandwidth, the size of the repository, the speed of your system.
You can remove or disable repositories at any time.
Refresh
Some repositories never change, like the official oss and non-oss. You should set refresh to Off for them. Non official and update have new packages available all the time. It's convenient to have them refreshed automatically at start up.
Alternative methods
Repositories can also be added by using one of the following ways.
Zypper
You can add repositories to YaST with the Zypper command line interface.
The syntax is:
But, in 10.2 it's:
YaST-ncurses
Simply type yast in console and press Enter. Now use your TAB and cursor keys to go to the right panel. Then use TAB and your Arrow keys to navigate and go to Software Repositories. To add repositories, go to Add and select specify URL. Complete the fields with the necessary information then press Finish.
With Konqueror
This works with FTP repositories only. For HTTP you must add the repositories manually.
In Konqueror, browse to the directory just above the one to add, and right-click on the directory to add. Then go to Action and choose Add directory as YaST source.
Quick Package Setup from System Tray
The quickest way to add the repositories is to right-click on the updater applet in the system tray (green chameleon icon), choose "Add/Remove Update Sources", choose "Add" then "Specify URL" from the list of media type, give the repository name and paste a URL into the URL field. The applet will then process updates from them automatically.
See Also
External Links
Passed QA check: Fsundermeyer 13:33, 12 June 2009 (UTC)


