Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to install epel-release on Fedora 30 -- no match for argument: epel-release

I'm on Fedora 30. I am trying to install "epel-release".

I am following this guide: https://www.phusionpassenger.com/library/install/standalone/install/oss/el7/ -- I am unable to successfully run the command:

$ sudo yum install -y epel-release yum-utils

I get as a result:

No match for argument: epel-release

So, I tried the following commands from this article: https://www.liquidweb.com/kb/enable-epel-repository/

$ cd /tmp
$ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ yum install ./epel-release-latest-*.noarch.rpm

No such luck - this is the output:

Error: 
  Problem: problem with installed package fedora-release-workstation-30-1.noarch
   - package epel-release-7-11.noarch conflicts with fedora-release provided by fedora-release-workstation-30-1.noarch
   - package epel-release-7-11.noarch conflicts with fedora-release provided by fedora-release-workstation-30-4.noarch
   - conflicting requests

I have also tried:

$ sudo dnf install epel-relase

which that didn't work either, here's the results:

No match for argument: epel-release
Error: Unable to find a match 

I have come across several different articles basically saying to either use the first command listed or variations of the second command I've tried - all unsuccessful. side note: Is this because Fedora 30 was just "recently" released?

My end goal is to deploy a Ruby on Rails web app internally using Nginx. For that, I am following this guide: https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/el7/deploy_app.html

Any direction for how to install epel-release would be great as I can't move forward until passenger is installed.

like image 387
developer01 Avatar asked Jul 05 '19 19:07

developer01


People also ask

How do I enable and install EPEL repository?

Installing EPEL repository on a CentOS Linux and RHEL 7. Open a shell prompt. Or login to a host called server1 using ssh client. Install epel repository using: yum -y install epel-release. Refresh epel repo by typing: yum repolist.

How do I know if EPEL is enabled?

To verify that the EPEL repository is enabled run the yum repolist command that will list all available repositories. The command will display the repo ID, name and the number of packages for the enabled repositories. The output should include a line for the EPEL repository. That's it.

What is Fedora EPEL?

Extra Packages for Enterprise Linux (EPEL) is a special interest group (SIG) from the Fedora Project that provides a set of additional packages for RHEL (and CentOS, and others) from the Fedora sources. To get a package into EPEL, it has to be in Fedora first.


2 Answers

Note that EPEL is not suitable for use in Fedora! Fedora is not Enterprise Linux. EPEL provides "a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL)". Put simply, Enterprise Linux is a term that refers to Red Hat Enterprise Linux or one of its clones. And Fedora is not a Red Hat clone.

That is why you cannot install the "epel-release" package in Fedora. It simply does not exist. Don't try to use EPEL on Fedora.

As noted before, the Fedora repositories provide most (if not all) of the EPEL packages. Additional software for Fedora is available in the RPMFusion repositories. In their own words, RPMFusion is "an extension of Fedora" that "provides software that the Fedora Project or Red Hat doesn't want to ship." RPMFusion can not be used on Enterprise Linux. You could see RPMFusion as the "EPEL alternative" for Fedora, but be aware that the software collections provided by RPMFusion and EPEL are entirely unrelated and uncomparable.

EPEL is managed from within the Fedora project, and thus part of Red Hat. RPMFusion is an independent organization. You can consider their repositories reliable, but always be cautious when you install software from external sources.

Finally - on a sidenote - on recent Fedora versions, 'dnf' has replaced 'yum'.

like image 77
Lucas van Vloten Avatar answered Sep 25 '22 06:09

Lucas van Vloten


you'll need to install the EPEL (Extra Packages for Enterprise Linux) repository. The EPEL project is run by the Fedora team. When you install third-party repositories on Red Hat and CentOS systems. Install in centos:

sudo yum install yum-plugin-priorities epel-release

When the installation completes, navigate to the /etc/yum.repos.d directory, and open the CentOS-Base.repo file in your favorite text editor. After the last line of the base, updates, and extras sections, add the line: priority=1. After the last line of the centosplus section, add the line: priority=2. Save the file and close the editor. Now, Open the epel.repo file for editing. After the last line of the epel section,add the line: priority=10. After the last line of each remaining section, add the line: priority=11. Update the system and then create a list of the installed and available packages by running:

sudo yum upgrade
sudo yum list > yum_list.txt
like image 43
Mehdi sellami Avatar answered Sep 26 '22 06:09

Mehdi sellami