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.
###Setup
To use it, A file should be added at /etc/yum.repos.d/openhab.repo with the following contents:
I noticed that openhab2 systemd service is started after rpm update, even if it wasn’t running beforehand. This causes problems for people running openhab1 but installing and working on an openhab2 migration on the side.
I’ve made PR #47 to fix the restart problem (for all Linux distributions, not just RPM), I should be able to merge it soon.
As for signed RPMs I have found a workaround in the underlining libraries, but it may take time for my pull request in that library to propagate through to our project.