User Tools

Site Tools


wiki:centos_7_no_wget_install_epel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:centos_7_no_wget_install_epel [2017/01/12 18:58] walkeradminwiki:centos_7_no_wget_install_epel [2017/01/12 19:14] – [Update Repositories] walkeradmin
Line 29: Line 29:
 \\  \\ 
 <color red>curl</color> is installed, and so we can use Curl as a drop in replacement for wget. <color red>curl</color> is installed, and so we can use Curl as a drop in replacement for wget.
 +\\ 
 +\\ 
 +Before downloading anything, you need to know your Linux version (just 5,6,7 etc) for this you can use:
 +\\ 
 +\\ 
 +    rpm --query centos-release
 +    
 +    centos-release-7-2.1511.el7.centos.2.10.x86_64
 \\  \\ 
 \\  \\ 
 <file> <file>
-Instead of using         wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +Instead of using     wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
-You can use              curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm+ 
 +     You can use     curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
 +      
 +      
 +     curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
 +    
 +     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current 
 +                                    Dload  Upload   Total   Spent    Left   Speed 
 +   100 14704  100 14704    0      15144      0 --:--:-- --:--:-- --:--:-- 15143
 </file> </file>
- +\\  
- +\\  
- +Remember to use the correct version ../pub/epel/epel-release-latest-<color red> 7 </color>.noarch.rpm) 
- +\\  
- +\\  
- +  sudo rpm -ivh epel-release-latest-7.noarch.rpm 
- +  sudo yum clean all 
- +  sudo rpmdb -v --rebuilddb 
- +  sudo yum -y install libselinux-python 
- +\\  
- +\\  
-curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +That's it, epel repository is now installed. You can check from the website what is available. So for instance, from a web browser navigate to: 
- +\\  
 +\\  
 +    https://dl.fedoraproject.org/pub/epel 
 +\\  
 +\\  
 +Here you will see a list like: 
 +\\  
 +\\  
 +{{ :wiki:epel001.jpg?700 |}} 
 +\\  
 +\\  
 +Navigate to  
 +\\  
 +\\  
 +    7Server/x86_64/h 
 +\\  
 +\\  
 +And scroll down until you see htop 
 +\\  
 +\\  
 +{{ :wiki:epel002.jpg?700 |}} 
 +\\  
 +\\  
 +So we can see that htop is part of the epel repository and can be installed
 +\\  
 +\\ 
  
wiki/centos_7_no_wget_install_epel.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1