I’ve finally gotten to the point where I’m reasonably comfortable with releasing
snapd for Enterprise Linux distributions (RHEL, CentOS, Scientific Linux, Oracle Linux, Amazon Linux, etc.) with the 2.36 release.
As a consequence, I’ve finally pushed updates to add
snapd-glib to EPEL for Enterprise Linux 7 distributions.
The packages will be available through the mirror network in the next 24-48 hours.
Note that there is a major caveat: EPEL 7 is building on top of Red Hat Enterprise Linux 7.6 now. Among other things, this imposes a minimum version of
selinux-policy that has to be available on your system from RHEL 7.6.
- At the time of this writing, CentOS has just started building the components released by Red Hat for RHEL 7.6, so it may be up to a month before this package is installable on CentOS and distributions derived from it.
- Oracle Linux, Scientific Linux, and other derivatives lag behind CentOS to some degree because CentOS is the upstream for all RHEL derivatives.
So for now, if you have Red Hat Enterprise Linux 7 proper and have updated to RHEL 7.6, then you can try these packages out by doing the following:
$ sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" $ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm $ sudo yum --enablerepo=epel-testing install snapd $ sudo systemctl enable --now snapd.socket
For CentOS and other derivatives of RHEL that don’t require subscription management (RHSM/RHN), the steps are as follows:
$ sudo yum install epel-release $ sudo yum --enablerepo=epel-testing install snapd $ sudo systemctl enable --now snapd.socket snapd.refresh.timer
snapd will be properly running and you can use the
snap command to manage snaps.
No integration will be provided at this time for GNOME Software, as I’m not sure how to do it for RHEL/CentOS in EPEL. However,
snapd-glib is provided in EPEL with this, so third-party tools (if any exist) could be packaged in EPEL to interact with