Oracle linux epel release

Как добавить репозиторий EPEL в Oracle Linux 7

Oracle Linux — это открытая операционная система на 100 % совместимая с Red Hat Enterprise Linux на уровне двоичного кода. Является стабильной альтернативой CentOS.

В Oracle Linux 7 репозиторий EPEL по-умолчанию не подключен (впрочем как и в CentOS 7). Что бы его подключить достаточно изменить параметр enabled с нуля на единицу в файле /etc/yum.repos.d/oracle-epel-ol7.repo.

После редактирования он должен выгядеть следующим образом:

[ol7_developer_EPEL] name=Oracle Linux $releasever EPEL Packages for Development ($basearch) baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL7/developer_EPEL/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1

Как подключить EPEL в CentOS 7

В Linux CentOS 7 репозиторий EPEL подключается следующей командой:

sudo yum install epel-release

Будьте внимательны, этот способ не работает в Oracle Linux 7!

Как увидеть подключенные репозитории

Репозиторий EPEL (Extra Packages for Enterprise Linux) — поддерживается в рамках проекта Fedora и содержит некоторые пакеты, которые не вошли в стандартный набор RHEL (CentOS). В частности в нем есть полезное приложение (утилита) htop.

Чтобы убедиться, что репозиторий EPEL включен, запустите следующую команду, которая выведет список всех доступных репозиториев.

Для Oracle Linux 7 результат будет примерно таким:

Источник

Как добавить репозиторий EPEL в Oracle Linux 7

Oracle Linux — это открытая операционная система на 100 % совместимая с Red Hat Enterprise Linux на уровне двоичного кода. Является стабильной альтернативой CentOS.

В Oracle Linux 7 репозиторий EPEL по-умолчанию не подключен (впрочем как и в CentOS 7). Что бы его подключить достаточно изменить параметр enabled с нуля на единицу в файле /etc/yum.repos.d/oracle-epel-ol7.repo.

После редактирования он должен выгядеть следующим образом:

[ol7_developer_EPEL] name=Oracle Linux $releasever EPEL Packages for Development ($basearch) baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL7/developer_EPEL/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1

Как подключить EPEL в CentOS 7

В Linux CentOS 7 репозиторий EPEL подключается следующей командой:

sudo yum install epel-release

Будьте внимательны, этот способ не работает в Oracle Linux 7!

Как увидеть подключенные репозитории

Репозиторий EPEL (Extra Packages for Enterprise Linux) — поддерживается в рамках проекта Fedora и содержит некоторые пакеты, которые не вошли в стандартный набор RHEL (CentOS). В частности в нем есть полезное приложение (утилита) htop.

Читайте также:  Camera radar kali linux

Чтобы убедиться, что репозиторий EPEL включен, запустите следующую команду, которая выведет список всех доступных репозиториев.

Для Oracle Linux 7 результат будет примерно таким:

Источник

How to enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8?

Large Linux distributions have a large number of packages in their repositories. These distributions base their stability on the freezing of the versions of the mentioned packages. However, it is always possible to add external repositories to install packages that are not in the official repositories. Of course, these repositories have to be reliable and quite secure. Today, I will teach you how to enable the EPEL on CentOS 8 / RHEL 8 / Oracle Linux 8 repository.

What is the EPEL repository?

The Extra Packages for Enterprise Linux (EPEL) is an unofficial repository that provides a variety of packages that are not in the official RHEL and derivative repositories. It is quite reliable and secure, so it is highly recommended to enable it if we need any packages available in this repository.

Keep in mind that Linux distirbutions such as RHEL and its derivatives, as well as Debian, Ubuntu and SUSE, incorporate packages tested by them. In this immense effort, there are many very good packages that cannot be added to the repositories.

For that reason, these repositories are born, to be able to install many extra packages without much effort… let us get to work.

Enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8

The EPEL project is fantastic. Not only because of the large number of packages available but also because of the ease of use. To add it, you have to download and install an RPM package that they put at our disposal.

So, open a terminal and upgrade the system.

This way we will have all the packages updated with the built-in security patches.

Now install the repository configuration package with the following command:

:~$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

1.- Enable the EPEL repository on CentOS 8 / RHEL 8 / Oracle Linux 8

Then, check that everything is OK with the new repository. So, list all the enabled repository.

2.- The EPEL repository was successfully added

As you can see in the image, the repository was correctly added. That is to say, we will be able to use it.

Читайте также:  Удаление файла через терминал linux

You can see all available packages with the following command:

:~$ sudo dnf repository-packages epel list

The image above shows that there are many packages available to be installed thanks to the EPEL repository.

Conclusion

In conclusion, adding the EPEL repository is almost an obligation if we want to counter many extra packages for our distribution. On the other hand, EPEL is a safe, reliable and easy to enable repository. To be so simple, the benefits are many.

Please share this post that can help many people. And join our Telegram channel.

Источник

Installing epel-release in CentOS 8 and Oracle Linux 8 – The EASY Way

NOTE: if you absolutely need to have “epel-release” installed due to dependancies on Oracle Linux – then use the rpm way:

The Whole Story

With the news late last year, that Redhat was killing off CentOS, there was a shockwave throughout the industry. To those outside of the linux server environment, I am not sure you could comprehend the vast affect this will have. Many companies rely of the Community ENTerprise Operating System (CentOS) distro which was a direct down stream of RedHat Enterprise Linux (RHEL). And when you have hundreds of production servers currently running CentOS 7, which has a maintenance update End Of Life (EOL) of 2024, that gives a lot of companies just 3 years to find an alternative, and CentOS 8, which ahs already been released, is not it (CentOS 8 has an EOL of December 2021).

Personally, aside from work, I use CentOS for my test servers, and I have been looking for a proper alternative. Currently the new seems to be all about “Rocky Linux” (unreleased) and “AlmaLinux“, both of which have no real history with Linux. These Distro’s, to me, lack the stability of CentOS. In comes “Oracle Linux“, a modified downstream of RHEL which totes its compatibility with currently running CentOS servers, and a way to move over to Oracle Linux, without having to reinstall. This is a BIG leg up for Oracle.

I myself have started testing Oracle Linux 8, the equivalent to CentOS 8, but without the short lifespan. Now coming from CentOS I was always used to installing the Extended Packages for Enterprise Linux repo (EPEL) by simply typing in yum install epel-release (Centos 7) but when I started to test Oracle, no such package existed. I later found that they modified the name to be oracle-epel-release-el8 and it took me quite a while to find this out, so I figured I would post and get the word out.

Читайте также:  Linux screen show all screens

In the search for the Oracle version of the epel-release install, I came across a plethora of CentOS 8 articles explaining how to install the long way, using an rpm off the fedora site. So I figured I would repost an easier way to do it, as the package is available in the default repo.

Источник

🐧 Как настроить EPEL-репозиторий в OEL 7

Вопрос: Как установить / получить пакеты из EPEL Repository на OEL 7?

1. Создайте файл репозитория, например /etc/yum/repos.d/epel-yum-ol7.repo.

# cat /etc/yum.repos.d/epel-yum-ol7.repo [ol7_epel] name=Oracle Linux $releasever EPEL ($basearch) baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1
# yum repolist Loaded plugins: langpacks repo id repo name status ol7_UEKR3/x86_64 Latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux 7Server (x86_64) 669 ol7_epel/x86_64 Oracle Linux 7Server EPEL (x86_64) 991 ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 23,095 repolist: 24,755

3. Затем вы можете установить нужные вам пакеты, такие как nrpe, nagios, nagios-plugins с помощью команд yum.

# yum install nrpe yum install nrpe Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package nrpe.x86_64 0:3.1.1-1.el7 will be installed --> Processing Dependency: nagios-common for package: nrpe-3.1.1-1.el7.x86_64 --> Running transaction check ---> Package nagios-common.x86_64 0:4.3.2-8.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================================== Installing: nrpe x86_64 3.1.1-1.el7 ol7_epel 250 k Installing for dependencies: nagios-common x86_64 4.3.2-8.el7 ol7_epel 22 k Transaction Summary =============================================================================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 272 k Installed size: 334 k Is this ok [y/d/N]: y Downloading packages: warning: /var/cache/yum/x86_64/7Server/ol7_epel/packages/nagios-common-4.3.2-8.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY ] 0.0 B/s | 0 B --:--:-- ETA Public key for nagios-common-4.3.2-8.el7.x86_64.rpm is not installed (1/2): nagios-common-4.3.2-8.el7.x86_64.rpm | 22 kB 00:00:00 (2/2): nrpe-3.1.1-1.el7.x86_64.rpm | 250 kB 00:00:01 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 244 kB/s | 272 kB 00:00:01 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle Importing GPG key 0xEC551F03: Userid : "Oracle OSS group (Open Source Software group) " Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03 Package : 7:oraclelinux-release-7.1-1.0.5.el7.x86_64 (@anaconda/7.1) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle Is this ok [y/N]: y Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : nagios-common-4.3.2-8.el7.x86_64 1/2 Installing : nrpe-3.1.1-1.el7.x86_64 2/2 Verifying : nagios-common-4.3.2-8.el7.x86_64 1/2 Verifying : nrpe-3.1.1-1.el7.x86_64 2/2 Installed: nrpe.x86_64 0:3.1.1-1.el7 Dependency Installed: nagios-common.x86_64 0:4.3.2-8.el7 Complete!

Источник

Оцените статью
Adblock
detector