|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: Official community repositories |
| 4 | +author: Enno |
| 5 | +summary: OBS based community repositories for RPMs and DEBs |
| 6 | +--- |
| 7 | + |
| 8 | +After a long time of not being able to provide community repositories that allow for seamless updates of Cobbler |
| 9 | +versions, we can finally announce that they are back! |
| 10 | + |
| 11 | +Here are the link for the different Cobbler versions[^1]: |
| 12 | + |
| 13 | +- Cobbler 3.0.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease30> |
| 14 | +- Cobbler 3.1.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease31> |
| 15 | +- Cobbler 3.2.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease32> |
| 16 | +- Cobbler 3.3.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease33> |
| 17 | + |
| 18 | +These repositories (and future ones for newer version of Cobbler) can be also found on our Website: |
| 19 | + |
| 20 | +- Cobbler 3: https://cobbler.github.io/downloads/2.x.x.html |
| 21 | +- Cobbler 2: https://cobbler.github.io/downloads/3.x.x.html |
| 22 | + |
| 23 | +In case you want to build the packages from source or locally for yourself you can find the instructions here: |
| 24 | +https://cobbler.readthedocs.io/en/latest/installation-guide.html |
| 25 | + |
| 26 | +### How to use the OBS repositories with the major package providers? |
| 27 | + |
| 28 | +OBS repositories offer the benefit that it automatically rebuilds your package based on updates of transitive |
| 29 | +dependencies. As such you can always be sure that your package is compatible with the installed software on your system. |
| 30 | + |
| 31 | +#### openSUSE |
| 32 | + |
| 33 | +```shell |
| 34 | +zypper addrepo https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/systemsmanagement:cobbler:<cobbler branch>.repo |
| 35 | +zypper refresh |
| 36 | +zypper install cobbler |
| 37 | +``` |
| 38 | + |
| 39 | +#### RedHat based distributions |
| 40 | + |
| 41 | +```shell |
| 42 | +cd /etc/yum.repos.d/ |
| 43 | +wget https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/systemsmanagement:cobbler:<cobbler branch>.repo |
| 44 | +yum install cobbler |
| 45 | +``` |
| 46 | + |
| 47 | +#### Ubuntu |
| 48 | + |
| 49 | +```shell |
| 50 | +echo 'deb http://download.opensuse.org/repositories/systemsmanagement:/cobbler:/<cobbler branch>/<os version>/ /' | sudo tee /etc/apt/sources.list.d/systemsmanagement:cobbler:<cobbler branch>.list |
| 51 | +curl -fsSL https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/systemsmanagement_cobbler_<cobbler branch>.gpg > /dev/null |
| 52 | +sudo apt update |
| 53 | +sudo apt install cobbler |
| 54 | +``` |
| 55 | + |
| 56 | +### Closing remarks |
| 57 | + |
| 58 | +We do hope that those repositories find wider adoption for those people that either need a specific version of Cobbler |
| 59 | +or don't have Cobbler submitted in their operating system. Please do request support for new operating systems as a |
| 60 | +[GitHub Issue](https://github.com/cobbler/cobbler/issues/new?assignees=&labels=enhancement&projects=&template=02_feature_request.md&title=). |
| 61 | + |
| 62 | +Please don't attempt to use the RPMs for operating systems that they are not built for. It will cause issues that are |
| 63 | +hard to debug. We are attempting to progress a container based release for Cobbler that enables everyone to use it on |
| 64 | +their operating system of choice. |
| 65 | + |
| 66 | +### Footnotes |
| 67 | + |
| 68 | +[^1]: These repositories are provided without any kind of warranty and "as is". |
0 commit comments