createrepo from OBS:Server:2.6 project

选择您的操作系统

对于 openSUSE 13.2,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/OBS:Server:2.6/openSUSE_13.2/OBS:Server:2.6.repo
zypper refresh
zypper install createrepo
对于 openSUSE 13.1,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/OBS:Server:2.6/openSUSE_13.1/OBS:Server:2.6.repo
zypper refresh
zypper install createrepo
对于 SLE 12,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/OBS:Server:2.6/SLE_12/OBS:Server:2.6.repo
zypper refresh
zypper install createrepo
对于 SLE 11 SP3,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/OBS:Server:2.6/SLE_11_SP3/OBS:Server:2.6.repo
zypper refresh
zypper install createrepo
对于 xUbuntu 12.04,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/OBS:/Server:/2.6/xUbuntu_12.04/ /' | sudo tee /etc/apt/sources.list.d/OBS:Server:2.6.list
curl -fsSL https://download.opensuse.org/repositories/OBS:Server:2.6/xUbuntu_12.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/OBS_Server_2.6.gpg > /dev/null
sudo apt update
sudo apt install createrepo

用于 xUbuntu 12.04 的软件包: