![]() So, the packages from that repositories will also be updated to the latest available versions. One thing is whenever you run “yum update” command, those additional repositories will be updated. These are the important repositories that provide packages that are not found in the CentOS official repositories. Updates/7/x86_64 CentOS-7 - Updates 1,676Īs you see in the above output, I have added two more additional repositories namely EPEL, and REMI. Remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 820 Loading mirror speeds from cached hostfileĮpel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,075 ![]() This guide was tested on CentOS 7 server, however the same method should work on Fedora, RHEL, Scientific Linux, and other RPM based Linux distributions.Īs you already know, we can list the number of available repositories in CentOS using the following command as the root user: yum repolist Sample output: Loaded plugins: fastestmirror This short tutorial describes how to enable or disable a single or group of YUM repositories while installing software in CentOS. If you ever wonder how to do that, here you go. Sometimes, you might want to install software from a group of specific repositories, or you may want to disable all repositories and install a package from a single repository. The outputs of this command are same as with “yum repolist”.I am sure most of you use many YUM repositories to install software on any RPM based distributions like RHEL, CentOS, Fedora etc. To List only enabled repositories, issue the following command: yum repolist enabled If you want to list more information about those configured repositories on your system, just pass “ -v” option, then more detailed information is listed. Loading mirror speeds from cached hostfile
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |