Hi, I want to use htop on the epel-release repo on my CentOs 7.7
[root@katt-shanghai yum.repos.d]# uname -a
Linux
katt-shanghai.arrisi.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC
2020 x86_64 x86_64 x86_64 GNU/Linux
I have installed epel-release like this:
[root@katt-shanghai yum.repos.d]# yum --enablerepo=extras install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================
Package Arch Version
Repository Size
==========================================================================================================================================================
Installing:
epel-release noarch 7-11
extras 15 k
Transaction Summary
==========================================================================================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm
| 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch
1/1
Verifying : epel-release-7-11.noarch
1/1
Installed:
epel-release.noarch 0:7-11
Complete!
And I can see the epel.repo and epel-testing.repo under /etc/yum.repos.d. However when I
execute "yum repolist"
[root@katt-shanghai yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
repo id repo name
status
base/7/x86_64 CentOS-7 - Base -
163.com 10,070
extras/7/x86_64 CentOS-7 - Extras -
163.com 397
updates/7/x86_64 CentOS-7 - Updates -
163.com 862
repolist: 11,329
[root@katt-shanghai yum.repos.d]#
There is no epel repo in the list and I can't install any tool in the epel repo since
it reports no such repository. Note that I run all the commands as root user.
Could someone help? Thanks.