In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to configure EPEL warehouse with CentOS8 and RHEL8". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to configure EPEL warehouse with CentOS8 and RHEL8" can help you solve your doubts.
Prerequisites for EPEL warehouse
Minimize installed CentOS 8 and RHEL 8 server root or sudo administrator privileges network connections
Install and enable the EPEL repository on the RHEL 8.x server
Log in or SSH to your RHEL 8.x server and execute the following dnf command to install the EPEL rpm package
[root@linuxtechi ~] # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm-y
The output of the above command will be as follows
After the EPEL rpm package is successfully installed, it automatically enables and configures its yum/dnf repository. Run the following dnf or yum command to verify that the EPEL warehouse is enabled
[root@linuxtechi ~] # dnf repolist epel or [root@linuxtechi ~] # dnf repolist epel-v install and enable EPEL repository on CentOS 8.x server
Log in or SSH to your CentOS 8 server and execute the following dnf or yum command to install the epel-release rpm package. In the CentOS 8 server, EPEL rpm is in its default package repository.
[root@linuxtechi ~] # dnf install epel-release-y or [root@linuxtechi ~] # yum install epel-release-y
Execute the following command to verify the status of the EPEL repository on the CentOS 8 server
[root@linuxtechi] # dnf repolist epelLast metadata expiration check: 0:00:03 ago on Sun 13 Oct 2019 04:18:05 AM BST.repo id repo name status*epel Extra Packages for Enterprise Linux 8-x86 million 64 1977 [root@linuxtechi] # [root@linuxtechi] # dnf repolist epel-v... Repo-id: epelRepo-name: Extra Packages for Enterprise Linux 8-x86_64Repo-status: enabledRepo-revision: 1570844166Repo-updated: Sat 12 Oct 2019 02:36:32 AM BSTRepo-pkgs: 1977Repo-size: 2.1 GRepo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos Updated: Sun 13 Oct 2019 04:28:24 AM BSTRepo-baseurl: rsync://repos.del.extreme-ix.org/epel / 8/Everything/x86_64/ (34 more) Repo-expire: 172800 second (s) (last: Sun 13 Oct 2019 04:28:24 AM BST) Repo-filename: / etc/yum.repos.d/epel.repoTotal packages: 1977 [root@linuxtechi] #
The output of the above command indicates that we have successfully enabled the EPEL repository. Let's perform some basic operations on the EPEL repository.
List all available packages for the EPEL warehouse
If you want to list all the packages in the EPEL repository, run the following dnf command
[root@linuxtechi] # dnf repository-packages epel list... Last metadata expiration check: 0:38:18 ago on Sun 13 Oct 2019 04:28:24 AM BST.Installed Packagesepel-release.noarch 8-6.el8 @ epelAvailable PackagesBackupPC.x86_64 4.3.1-2.el8 epelBackupPC-XS.x86_64 0.59-3.el8 epelCGSI-gSOAP.x86_64 1.3.11-7.el8 epelCGSI-gSOAP-devel.x86_64 1.3.11-7.el8 epelField3D.x86_64 1.7.2-16.el8 epelField3D-devel.x86_64 1.7.2-16.el8 epelGraphicsMagick.x86_64 1.3.33-1.el8 epelGraphicsMagick-c++.x86_64 1.3.33-1.el8 epel... Zabbix40-web-mysql.noarch 4.0.12-1.el8 epelzabbix40-web-pgsql.noarch 4.0.12-1.el8 epelzerofree.x86_64 1.1.1-3.el8 epelzimg.x86_64 2.8-4.el8 epelzimg-devel.x86 _ 64 2.8-4.el8 epelzstd.x86_64 1.4.2-1.el8 epelzvbi.x86_64 0.2.35-9.el8 epelzvbi-devel.x86_64 0.2.35-9.el8 Epelzvbi-fonts.noarch 0.2.35-9.el8 epel [root@linuxtechi ~] # search for software packages from EPEL repository
Suppose we want to search the Zabbix package in the EPEL repository, execute the following dnf command
[root@linuxtechi ~] # dnf repository-packages epel list | grep-I zabbix
The output of the above command looks like this
Install the package from the EPEL repository
Suppose we want to install the htop package from the EPEL warehouse and run the following dnf command
Syntax:
# dnf-enablerepo= "epel" install [root@linuxtechi ~] # dnf-enablerepo= "epel" install htop-y
Note: if we do not specify-enablerepo=epel in the above command, it will look for the htop package in all available package repositories. That's all for this article. I hope the above steps will help you enable and configure EPEL repositories on CentOS 8 and RHEL 8 servers. Please share your comments and feedback in the comments section below.
After reading this, the article "how to configure EPEL Warehouse with CentOS8 and RHEL8" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.