- Posted In
- Red Hat Enterprise Linux
How to add optional repos to RHEL 8?
Hi, I would like to know how to add optional repos, and/or EPEL to RHEL 8?
I tried typing into terminal: subscription-manager repos --enable rhel-8-server-extras-rpms
It didn't work, I don't know what's going on, thanks! :)
Welcome back ! :) There is no extras channel in RHEL 8 ... RHEL 8 comes with a completely new repository structure :
BaseOS and AppStream contain all software packages, which were available in extras and optional repositories before.
If you want to enable the repo containing development software - enable codeready-builder-for-rhel-8-x86_64-rpms.
EPEL and RPM Fusion are not set up for RHEL 8 yet and it may take some longer time, because RHEL 8 is very new. :)
Hi, thanks for your helpful reply, as always! I will keep a eye out for EPEL when it comes out! :)
You're welcome, GD (as always) ! :)
It seems EPEL is now available. I tried to install using
It installed successfully but showing "Error: Failed to synchronize cache for repo 'epel'". Can you please help me with this. I am trying this in VMware before installing on my laptop and replacing my OS with RHEL 8
As of today, EPEL is still considered "under construction" ... so, issues are expected.
I suggest you wait until everything is ready and officially announced and released. :)
Have they removed the EPEL8 beta release you're talking about here? I'm getting a 403, but navigating to https://dl.fedoraproject.org/pub/epel/ show me that there's no epel8 out.
That location seems unreliable at the moment (possibly because the epel-release package was updated to 8-5 recently) but the package is there if you look for the versioned file in the repo, so currently https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/e/epel-release-8-5.el8.noarch.rpm
One of the things they are still fixing is the epel-release RPM, and later versions are available for testing at https://bodhi.fedoraproject.org/updates/?packages=epel-release . However EPEL 8 only has a limited number of packages built so far as that it up to each individual package maintainer, and some packages may require a lot of work because a lot has changed between RHEL7 and RHEL8, so you may still have to wait for the packages you want.
Thanks Michael for adding some details. :)
HI, Sayed thanks for letting me know that EPEL is available! :)
The above command has a ' " ' after it, so if you are entering it exactly like that it would fail.
To extend Christian's answer - there are two more repositories for RHEL 8 that may be relevant. First, the traditional "supplementary" repository still exists, for third-party binaries (mostly IBM's version of Java). Second, many of the packages that used to be found in the "optional" repository for RHEL 6 or RHEL 7 are now in the "CodeReady Linux Builder" repository for RHEL 8:
In particular, many of the *-devel packages are now in the CodeReady Builder repo.
Hi, thanks for your reply, I will try yo add CodeReady Linux Builder, and check out to see whats in it!
I forgot to ask what command do I type in terminal to get "CodeReady" repo installed? Thanks! :)
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
sudo dnf upgrade
Forgot to say that you can still use the
yumcommand instead of
dnf... if it is more convenient for you.
On RHEL 8 YUM is a sysmlink to DNF, which runs under the hood when you invoke the yum command. :)
Hello Christian I guess I won't install EPEL for RHEL 8. I am self learning on a developer subscription with self support. So I have been seeing your name everywhere. And you seem to be the Wizard of Redhat Oz lol. So I have a question. If I don't install EPEL how do I install Openvpn to use the free Vpnbook vpn.
Thanks for your kind words ... but even wizards don't know everything and as I don't have any experience with
setting up OpenVPN without EPEL, I can't recommend another method ... unfortunately. A DDG search lead
me to an article which explains how to do it by (temporarily) enabling the EPEL 7 repository. Although that's
not something I would recommend, better wait until the repository is set up for RHEL 8. Oh, and one thing ...
there are so many other members active in our community, who deserve the "wizard honor" more than me. :)
EPEL-8.0 has now been officially released. See Announcing EPEL-8.0 Release
Thanks for the information, Michael ! :)
For anyone interested, here's the command to get the list of repos for RHEL 8
subscription-manager repos --list
I recommend perhaps redirecting the list to a file such as:
subscription-manager repos --list > listofrepos.txt
NOTE: Christian already listed the repositories of prime importance, however, this list is seemingly possibly comprehensive (at least for my subscription base). Many of these are related to "rhel-atomic", but you can at least see what is available.
This was absolutely helpful, thanks for posting this! :)
Thanks for the article you cited for EPEL 8 availability. I did notice at the Fedora EPEL site that it shows a release of 2019-10-01.
Hopefully your source is correct. That being said, I noticed at the EPEL main page https://fedoraproject.org/wiki/EPEL, I do not currently see RHEL 8 as I type this on 2019-08-14 21:10hrs. Hopefully the EPEL team is just lagging a little. In any case, these links do serve as a reference for EPEL-8 related things
EPEL is now available. I tried installing in RHEL 8. Installed successfully. Tried updating also....worked fine
Thanks Sayed Anowar,
Nice to know. I'm genuinely curious if the current edition of EPEL is beta or not based on the link I posted yesterday.
At my favorite mirror I see a 8, a testing/8 and a playground/8 repo directory structure, so it looks like EPEL has gone GA on 09-Aug-2019 (the date stamp on the Packages sub directory).
Jan Gerrit Kootstra
Even though being GA (generally available) now, I would still consider it "under construction" until RHEL/EPEL 8.1 is released. :)
Hi, Christian! I agree with your answer EPEL 8 doesn't have quite the amount of packages as EPEL 7 has. :)
Not much available currently, maybe it'll be "fully ready" when RHEL 8.1 gets released, we'll see... :)
Thanks much Jan Gerrit/Christian!
You're welcome, RJ ! I think we should be careful and first see what works on a testing server, not in production. :)
Ha! I'm replying 2 years later...
If someone puts EPEL in production, it should be only for the limited time needed to install something. I had to spend hours fixing severe issues (several years ago) because EPEL badly polluted my python and caused very serious issues.
I recommend people be very very judicious on what they allow from EPEL on a server. Workstations are not as critical; workstations can generally be reloaded on a whim, servers, maybe not.
I have a script that installs the EPEL repo in the environments I work on and the script includes a cron at 11PM to remove (not disable) the EPEL repository because I do not want EPEL persistently there given the kind of issues it can cause namely/especially for servers.
I still call it "looks GA", I have not found a link on the project page or the "standard" link.
I will just test it at home and on some VMs at the office. I will not announce it on our Linux community board as usable, until I see it is really stable.
That's a good idea, Jan Gerrit - a very good idea ... "better be safe than sorry", as you use(d) to say - right ? :)
epel-8-release may be 'available', but it think the EPEL 8 repository will take quite some time to be useful; I installed it on a test RHEL 8 system, and using "yum list available" I can only see about 310 packages in the EPEL 8 repo (vs. about 13k packages in EPEL 7). The vast majority of Perl-* packages are not yet present, notable apps like xfce & mate desktops and x2go are all missing. I suspect the current "release" is the EPEL 8 infrastructure & build / test tooling - but the Fedora package maintainers each/all have to 'tag' their packages with an epel8 (or epel8-sandbox) tag in order to have them pulled in & built for RHEL 8 / EPEL 8. That might take a bit of time yet.
I can confirm what you said, yesterday I checked the content on dl.fedoraproject.org and saw that's not much available from the EPEL 8 repositories - hence my comment : I would still consider it "under construction". :)
I agree, the number of packages in 8 is not "fully stocked" like EPEL 7 is. :)
Yes, it is basically empty.
There is more in epel-testing ie. https://dl.fedoraproject.org/pub/epel/testing/8/Everything/ which can be moved to main EPEL 8 after 14 days (if the packager chooses) or when they get sufficient karma in https://bodhi.fedoraproject.org/updates/ so there should be more available in the next week or two.
Michael, I think it's good to know that the repo is set up for RHEL 8, but I also think we should
not "create and/or give the impression" that it's recommended to use it at the moment. Hope
you agree with me, we have many not so experienced users around, who may get into trouble.
Yes, you are right. I was hoping to encourage some testing but I agree that is really for those who have enough experience to give useful feedback and know what to do if things go wrong.
Thank you, Michael ! :)
As per my experience, Some package are breaking in EPEL8 even if it is pushed to main repo (passed testing) as dependency package might be in testing. So it is recommended to be careful for now as EPEL8 is under construction.
So if you are using EPEL 8 then please be careful.
Are there RHEL 8.1 repos? I want podman 1.4.4 (that should be packaged with RHEL 8.1), but I still cannot install it. When I upgraded my RHEL 8.0 to 8.1, my repos are still the same
Of course the RHEL 8 repos are the same, there is no dedicated 8.1 repository. :)
To use a newer podman version enable/install the container-tools:rhel8 module :
sudo dnf module install container-tools:rhel8
sudo dnf upgrade
Thanks, it worked!
You're welcome, Moss ! :)
if Base and AppStream contain ALL the 'optional' then where are things like 'a2ps' (and MANY MANY others)... it WAS in 'rhel-7-server-optional-rpms' ~]# yum list installed|grep a2ps Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast a2ps.x86_64 4.14-23.el7 @rhel-7-server-optional-rpms
Here's some good information from Red-Hatter Stephen Wadeley see replies at this discussion on viewing available repositories using subscription-manager.
I want to enable this repo rh-ocs-4-for-rhel-8-x86_64-rpms via Red Hat Satellite. I need help on what repo should be enabled as I could not see this exact repo (rh-ocs-4-for-rhel-8-x86_64-rpms) on my satellite.