Re: Questions about installing epel-release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. I fixed this by changing the reposdir=/etc/yum.163.yum.repos.d to /etc/yum.repos.d/, then the epel repository can be found.

 

Catherine

 

From: Nick Howitt <nick@xxxxxxxxxxxxx>
Sent: 2020
628 16:42
To: epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Subject: [EPEL-devel] Re: Questions about installing epel-release

 

 

Have a look at "yum repolist all", then enable the ones you want, either

permanently with yum-config-manager or by editing the file directly in

/etc/yum/repos.d, or temporarily when you issue a yum command with the

--enablerepo=epel switch (or whichever repo you want)/

 

On 28/06/2020 09:34, Wei, Catherine wrote:

> 

> 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.

> 

> 

> _______________________________________________

> epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

> To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/

> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines

> List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

 

_______________________________________________

epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines

List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux