Red hat linux epel

How To Install EPEL Repository (Repo) on an RHEL 8

H ow do I install the extra repositories such as Fedora EPEL Repository (repo) on an Red Hat Enterprise Linux server (RHEL) version 8?

You can easily install various packages by configuring an RHEL 8 system to use Fedora EPEL repos and third party packages. Please note that these packages are not officially supported by Red Hat, Inc, but provides many popular packages and apps. This quick tutorial explains how to configure a Red Hat Enterprise Linux (RHEL) version 8 to use the Fedora Extra Packages for Enterprise Linux (EPEL) repository.

Tutorial details
Difficulty level Easy
Root privileges No
Requirements RHEL 8 server or workstation Linux
Est. reading time 4 minutes

Linux commands to install EPEL Repository (repo) on an RHEL 8

The procedure to enable EPEL repository for an RHEL 8 server is as follows:

  1. Open a shell prompt.
  2. Or login to an RHEL 8.x host called server1 using ssh client:
    ssh ec2-user@rhel-8-cloud-server-ip
  3. Install epel repository using the following command:
    yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  4. Refresh repo by typing the following command:
    yum repolist
  5. Search for EPEL packages:
    dnf search package_name

Let us see all commands and options in details to enable the EPEL Repository on RHEL 8 Linux.

You can use both the yum or dnf command. In fact, yum is soft linked to dnf, and it is kept for backward compatibility reasons on Red Hat Enterprise Linux 8.x.

Installing and enabling EPEL repo on an RHEL 8

The following instructions assumes that you are running command as root user on an RHEL 8.x system and want to use use Fedora Epel repository.

Источник

How to install and enable EPEL repository on a CentOS/RHEL 7

H ow do I install the extra repositories such as Fedora EPEL repo on a Red Hat Enterprise Linux server version 7.x or CentOS Linux server version 7.x?

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements CentOS/RHEL/Fedora
Est. reading time 5m

You can easily install various packages by configuring a CentOS 7.x or RHEL 7.x system to use Fedora EPEL repos and third party packages. Please note that these packages are not officially supported by either CentOS or Red Hat, but provides many popular packages and apps. This quick tutorial explains how to configure a CentOS or Red Hat Enterprise Linux (RHEL) version 7.x to use the Fedora Extra Packages for Enterprise Linux (EPEL) repository.

What is an EPEL repository (repo)?

The EPEL repository was created by the EPEL group working at the Fedora Project. The EPEL is an acronym for Extra Packages for Enterprise Linux. The EPEL repository used by the following Linux Distributions:

  1. Red Hat Enterprise Linux (RHEL)
  2. CentOS
  3. Oracle Linux

Installing EPEL repository on a CentOS Linux and RHEL 7.x

The procedure to enable EPEL repository for a CentOS/RHEL 7.x server is as follows:

  1. Open a shell prompt.
  2. Or login to a host called server1 using ssh client.
  3. Install epel repository using: yum -y install epel-release
  4. Refresh epel repo by typing: yum repolist
  5. Install packages from epel repo : yum install pkg1

How to install EPEL repo on a CentOS and RHEL 7.x

The following instructions assumes that you are running command as root user on a CentOS/RHEL 7.x system and want to use use Fedora Epel repository.

Method #1: Install Extra Packages for Enterprise Linux repository configuration (recommended)

Just type the following yum command on a CentOS 7 or RHEL 7:
sudo yum install epel-release

Fig.01: Installing epel-release package on a Centos 7

Note: If method #1 failed, try the following method #2 to install EPEL Repo.

Method #2: Install the extra EPEL repositories from dl.fedoraproject.org

The command is as follows to download epel release for CentOS and RHEL 7.x using wget command:

To install epel-release-7-11.noarch.rpm, type:
sudo yum install epel-release-latest-7.noarch.rpm
Sample outputs:

List your new repos

Once installed you should see epel repo using the following yum repolist command
$ sudo yum repolist
Sample outputs:

Search and install package

To list all available packages under a repo called epel, enter:
$ sudo yum —disablerepo=»*» —enablerepo=»epel» list available
OR
$ sudo yum —disablerepo=»*» —enablerepo=»epel» list available | grep ‘package’
OR
$ sudo yum —disablerepo=»*» —enablerepo=»epel» list available | less
Sample outputs:

Fig. 02: List all available packages under a EPEL Repo on a CentOS/RHEL/Fedora Linux

  • No ads and tracking
  • In-depth guides for developers and sysadmins at Opensourceflare✨
  • Join my Patreon to support independent content creators and start reading latest guides:
    • How to set up Redis sentinel cluster on Ubuntu or Debian Linux
    • How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
    • How to set up Mariadb Galera cluster on Ubuntu or Debian Linux
    • A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode)
    • How to protect Linux against rogue USB devices using USBGuard

Join Patreon

Example: Search and install htop package from epel repo on a CentOS/RHEL 7.x

And, there you have it, a larger number of packages to install from EPEL repo on a CentOS and Red Hat Enterprise Linux (RHEL) version 7.x.

Conclusion

You learned how to install and enable EPEL repository on a CentOS or RHEL 7.x server. See:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via

Источник

How to Install EPEL Repository on RHEL 8

EPEL, short for Extra Packages for Enterprise Linux, is a free and open source repository provided by Fedora team. EPEL provides extra or supplementary software packages for CentOS, RedHat, Oracle Linux & Scientific Linux distros.

It ships both rpm and dnf based software packages and enhances the ease of installation. In this guide, you will learn how to install EPEL on Red Hat Enterprise Linux version 8.x.

Why Install EPEL Repository ?

So, why should one consider installing the EPEL repository? The reason is quite simple. EPEL gives the user access to a spectrum of high-quality software packages of commonly used software applications in RHEL and CentOS, Oracle as well as Scientific Linux as discussed earlier.

Some of the applications which constitute EPEL include htop which provides an overview of the system’s performance.

Prerequisites

Before we get started, ensure that the following requirements are met.

Let’s dive and install EPEL repository on RHEL 8.0.

Installing EPEL Repository on RHEL 8.x

To install EPEL repository, log in to your RHEL 8 instance via SSH and run the command below.

When prompted, type y and hit Enter to allow the installation to proceed.

Install Epel Repository on RHEL 8

Next, update the system using the following command.

Once the update is complete, you can verify the installation of the EPEL repository by executing the command.

Check EPEL Package Installation

To list the packages that constitute the EPEL repository, run the command.

List Software Packages Available in Epel

Further, you can decide to search for an individual package by piping the results to grep command as follows.

For instance, to search for the htop package, run the command.

Search Individual Package in Epel

Install a Package from the EPEL Repository on RHEL 8

Once the EPEL repository has been successfully installed, a package can be installed using the command.

For instance, to install the screen software package, run the command.

Install a Package from Epel Repo

Alternatively, you can issue the command as shown.

For example, to install htop package, the command will be.

Install Htop in RHEL 8 from EPEL

Conclusion

And it’s a wrap ! In this guide, you learned how to install EPEL repository on RHEL 8.x version. We welcome you to try it out and share your feedback in the comment section below.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

Источник

Как установить репозиторий EPEL на RHEL / CentOS 8

Как установить репозиторий EPEL на RHEL / CentOS 8

EPEL 8 официально выпущен для широкой публики. Установка репозитория EPEL настолько проста, что выполняется с помощью следующей команды.

Это загрузит файл репозитория /etc/yum.repos.d/epel.repo и активирует его. Вот результат установки.

Для CentOS 8

В CentOS 8 рекомендуется также включить репозиторий PowerTools, поскольку пакеты EPEL могут зависеть от пакетов из него:

Для RHEL 8

В RHEL 8 необходимо также включить репозиторий codeready-builder-for-rhel-8 — * — rpms, поскольку пакеты EPEL могут зависеть от пакетов из него:

Подтвердите установку EPEL на CentOS 8 / RHEL 8

Вы можете подтвердить добавление и функциональность репозитория EPEL, выполнив следующую команду.

Список пакетов, доступных в репозитории EPEL.

Вы можете выполнить дальнейшую фильтрацию, чтобы проверить, доступен ли требуемый пакет в репозитории EPEL.

Чтобы установить пакет из репозитория EPEL, просто запустите

Некоторые зависимости могут быть установлены из базовых репозиториев. Вот и все, вы можете установить свои любимые пакеты из репозитория EPEL. На момент написания этой статьи есть пакеты, доступные в репозитории EPEL 7, но еще не доступные в EPEL 8, вам, возможно, потребуется набраться терпения, поскольку ежедневно добавляются новые пакеты.

Источник

What’s EPEL, and how do I use it?

Most people know that Fedora is the upstream for major releases of Red Hat Enterprise Linux (RHEL). You might also notice that Red Hat ships a smaller package set for RHEL than you’ll find with Fedora, for a number of reasons. What if you’re a Fedora user who also wants ImageMagick or Chromium on your RHEL workstation? You may want to take a look at EPEL.

What is EPEL, and how do I use it with RHEL?

RHEL ships with only a subset of packages that you’ll find in Fedora Linux. This makes sense, because there’s a lot of software in Fedora that isn’t needed in an enterprise environment or falls outside the scope of RHEL. Red Hat maintains and supports the packages in RHEL far longer than the lifespan of a Fedora release, and we select the software we feel is necessary for our customers to be successful in deploying and using RHEL to run their workloads.

But Fedora users sometimes find that they miss this or that application that’s available in Fedora but not through RHEL. So, EPEL was formed. 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. EPEL follows the Fedora Packaging Guidelines to ensure successful integration, and only includes free and open source software that isn’t patent encumbered. So you won’t find any proprietary software in EPEL or things like multimedia codecs that are restricted by patents, even if software enabling them is under an open source license.

Do you know about Red Hat Enterprise Linux’s latest features and updates?

Is EPEL supported?

Before we get into the «how» we should probably address the question of support. EPEL is supported in the finest open source community tradition. («If it breaks, you get to keep both pieces.») That is to say, EPEL isn’t supported in the sense that RHEL is supported. Like most open source projects (as opposed to enterprise open source), it’s a «we do what we can» arrangement that provides a lot of benefits for users but without the assurance of production readiness or support.

Red Hat doesn’t support the packages in EPEL or offer any SLAs around bugfixes or patches for CVEs. It’s possible, too, that packages in EPEL will «come and go» (to use the project language) over the course of a single RHEL release. It’s possible that updates will require administrator intervention. The EPEL project recommends that users of EPEL subscribe to the epel-announce mailing list to be aware of upcoming issues and to have time to test before the update have any impact.

That doesn’t mean EPEL doesn’t have a place in your environment, just that you should consider where and how you deploy packages from EPEL.

What’s included with EPEL?

EPEL is a selection of packages from Fedora, but only packages that are not in RHEL or its layered products to avoid conflicts. (So, for example, you won’t find a newer version of something in EPEL that already ships with RHEL.) My back-of-napkin math shows about 3,166 packages in EPEL 8, whereas Fedora has nearly 19,000 packages for x86_64 (not counting «noarch» packages).

The package list for EPEL varies by release and architecture. Packages that are available for, say, EPEL 7 on x86_64 may not be available for EPEL 8 on Power or ARM. You can find links to the package sets on the Fedora Wiki. Packages are not automatically branched from release to release as various maintainers do not want to add their packages until they are ready to do so. This means that packages may take time to enter into a new release like EPEL 8.

Currently EPEL has packages for RHEL 6, RHEL 7, and RHEL 8. The packages in EPEL include things like modules for Python, Perl, Ruby gems, and other extras for other programming languages. You’ll find also utilities like etckeeper , ImageMagick and GraphicsMagick, and the Chromium browser builds. (Not a complete list, of course.)

I want the EPEL. Show me how!

If you are ready to give EPEL a spin, here’s how you can get started. Instructions are on the Fedora Wiki for each release. I’m going to give the commands to get EPEL running on RHEL 8, but if you’re on RHEL 6 or RHEL 7 you can find those instructions on the wiki.

First, the EPEL folks require enabling the CodeReady Linux Builder repo for RHEL 8. This is a repo with some tools you might need to build applications for RHEL (among other things).

This, of course, assumes you have a RHEL 8 machine that is subscribed. After you’ve added these repos, go ahead and install the EPEL RPM:

Now you can check to see which packages are available from EPEL:

If you want one of the packages, just install it normally using yum . So, for example, if you want to install Chromium browser on your RHEL workstation:

That will grab the appropriate packages from EPEL and install them. The -y just tells yum to go ahead and run the operation without having to confirm, if you want to see all the packages that will be installed to get Chromium before installing, omit that from the command.

EPEL is not an official part of the RHEL subscription or an official offering from Red Hat. But it can come in handy for admins and developers who work with RHEL and need a few utilities packaged for RHEL from a source they can feel good about.

Источник

Читайте также:  Windows не закрывать командную строку
Оцените статью