Build Service/User
Un article de openSUSE.
| Cette page n'est pas encore traduite (ou pas complètement). Merci de participer au travail si vous en avez le temps et la compétence |
The software that was built by the Build Service gets exported to our mirrors and is easy installable via any package installation tool. The current projects are browseable for everybody at the URL: http://software.opensuse.org/download/
Sommaire |
RPM based repositories
All rpm based repositories have YUM meta data, which can be used with any YUM compatible installer.
The openSUSE gpg key needs to be accepted by the installation tools. You can import it as root user via the following command:
rpm --import http://software.opensuse.org/openSUSE-Build-Service.asc
WARNING: Please note that the key only guarantees that package was built inside of the openSUSE build service. It does not guarantee that the packager is a SUSE employee.
Adding the Package Source
Simply hand it over to YaST's Installation Source module. Select Add -> By URL, and then enter the appropriate URL that you want.
http://software.opensuse.org/download/<projectname>/<directory>
where <projectname> and <directory> have to be replaced with the wanted project path and your distribution. So, for example:
http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1/
Other Methods
For SUSE Linux 9.3, 10.0, 10.1 and Factory, you can also use smart', zypper, yum, or apt to install and update packages from the Build Service. The latest smart and yum packages can be found at http://software.opensuse.org/download/home:/cthiel1/
Zypper
With openSUSE 10.2, you can also use the command line tool named zypper to add repositories:
zypper sa -r <URL_to_your_repo_file>
For example:
zypper sa -r http://software.opensuse.org/download/openSUSE:/Tools/SUSE_Linux_Factory/openSUSE:Tools.repo
For more information, use
zypper help
Smart
smart channel --add http://software.opensuse.org/download/<projectname>/<directory>/<project>.repo
To install a package you need to call
smart update smart install <package> smart upgrade # Performs an upgrade of all installed packages using the new repositories.
yum
YUM can use the repositories after the generated .repo file got copied into the /etc/yum.repos.d/ directory. Afterwards you can use yum commandline tools or GUI tools like kyum.
APT
APT isn't very well supported on openSUSE, so we recommend that you use one of the other above methods instead. This paragraph is a translation of an updated article for SuSE Linux 10.1 Apt v SUSE LINUX 10.1 from the czech SuSE portal which deals with the installation and usage of APT (Advanced Package Tool) in SUSE.
First we need apt and apt-libs. Both packages can be found on the DVD. The graphical front-end for Apt - Synaptic - is missing for an unknown reason, so we must be content with the command line version.
To install the above mentioned packages successfully we need to download and install the package install-apt4suse.rpm. The easiest installation is to launch mc as root, find and open the downloaded package by Enter and start the script INSTALL.
In a further step we launch:
install-apt4suse --update-srclist
which updates the current list of mirrors. The result can be checked in /etc/apt/sources.list. The following table shows the commands which can be used with APT:
| apt-get update | Creates a list of available packets |
| apt-get upgrade | Updates pre-installed packets by newer versions |
| apt-get -s upgrade | Shows more details about what is to be updated |
| apt-get -s install "packet name" | Shows more details about what is to be installed |
| apt-get install "packet name" | Installs a packet |
| apt-get reinstall "packet name" | Re-installs a packet |
| apt-get remove "packet name" | Removes a packet |
| apt-get clean | Cleanup of the buffered setups |
In case of errors with GPG during the installation process open the file /etc/apt/apt.conf.d/gpg-checker.conf and change the entry
GPG::Check true;
to
GPG::Check false;
The usage of APT is faster and more transparent to end users compared to YaST and the new ZEN installer.
See also The Advanced Package Tool for SUSE for more information.
Package Search
You can search the Build Service using this package search by Benjamin Weber: http://packages.opensuse-community.org A real deep search interface will get integrated later.
deb based repositories
Debian deb files do not get exported yet. We will export them soon as well and create apt repositories out of it.
generic upcoming features
Yes, we do plan to implement a nice search in software.opensuse.org. We do also plan to write a GUI tool for easier searching, browsing and repository subscriptions.

