###What This Is
RPM is Redhat’s Package Manager, which is used in all Redhat derived Linux distributions, it serves as a way of installing, upgrading and uninstalling software. Just like openHAB’s apt repository, we now have an RPM repository which allows us to install, setup and update openHAB automatically for the majority of Linux systems!
Some of you may have already seen that an RPM Repo in our Artifactory Instance has appeared. I’m pleased to say that we have been building RPM packages for some time and now that the instructions have been added to our docs site, I wanted to announce it here so that people can help test.
Using the repo should offer the same experience as using apt-get for Debian based systems, so let me know in the linuxpkg issue list if this is not the case!
Beta and Stable variants will be available at a later date.
To use it, A file should be added at /etc/yum.repos.d/openhab.repo with the following contents:
[openHAB-Snapshots] name=openHAB 2.x.x Snapshots baseurl=https://openhab.jfrog.io/openhab/openhab-linuxpkg-rpm/unstable enabled=1 gpgcheck=0 repo_gpgcheck=0 gpgkey=https://openhab.jfrog.io/openhab/api/gpg/key/public
And then simply install with yum, dnf or other RPM front-ends:
sudo yum install openhab2
The optional add-on packages (
openhab2-addons-legacy) are also available!
- The RPM files cannot currently be GPG verified.
- Only OSes that have systemd are supported, for example:
- CentOS 7.14 or later
- Fedora 14 or later
- RHEL 7 or later