Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install and enable REMI repositories on CentOS 8 and RHEL 8

Shulou Source: shulou.com Published: 2022-06-01 23:25:04 10月04日 Update

Today, I will talk to you about how to install and enable REMI warehouse on CentOS 8 and RHEL 8. Many people may not know much about it. In order to make you understand better, the editor summarizes the following contents. I hope you can get something from this article.

REMI is a free repository created and maintained by Remi Collect, and its main goal is to provide the latest version of PHP stack, full functionality, and other software packages to Fedora and Enterprise Linux (RHEL, CentOS, Oracle, Scientific Linux) systems.

The following will show you how to install the REMI repository on the RHEL 8/CentOS 8 Linux distribution.

Install and enable the REMI repository on CentOS 8/RHEL 8

Install the REMI repository on CentOS 8/RHEL 8 by running the following command from the system terminal (the old yum command is also available):

# yum method to install epel extension repository #

Sudo yum-y install epel-release

# yum installs REMI extension repository #

Sudo yum-y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

# yum cleans the repository cache and rebuilds #

Sudo yum clean all & & yum repolist

# dnf method to install epel extension repository #

Sudo dnf-y install epel-release

# dnf installs REMI extension repository #

Sudo dnf-y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm

# yum cleans the repository cache and rebuilds #

Sudo dnf clean all & & dnf repolist

Check the enabled warehouse:

$sudo dnf repolist

The returned information is shown in the following figure. You can see that the REMI source is already in the list:

You can install yum-config-manager, which will help you quickly enable and disable repositories from the command line:

Sudo dnf- y install dnf-utils

You can then enable the warehouse at run time:

Sudo dnf-enablerepo=remi install php-xxx

In addition to the EPEL source, there is also a REMI source under CentOS/RHEL, and the REMI source ensures the latest version of the software (note: it is not necessarily stable).

After reading the above, do you have any further understanding of how to install and enable REMI repositories on CentOS 8 and RHEL 8? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Warehouse content command method system cache software run information function more latest version version goal knowledge article terminal industry information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MySQL Apple MariaDB Shulou Technology