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
wiki:centos_7_no_wget_install_epel [2017/01/12 18:58] walkeradminwiki:centos_7_no_wget_install_epel [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== CentOs 7 no WGET install EPEL ====== ====== CentOs 7 no WGET install EPEL ======
 <color darkorange>Jan 2017</color> <color darkorange>Jan 2017</color>
 +\\ 
 \\  \\ 
 \\  \\ 
Line 17: Line 18:
 \\  \\ 
 \\  \\ 
 +The repository refers to Extra Packages for Enterprise Linux (EPEL). So we are installing the epel repositories, they may be others, but I am not looking at alternatives at this poin.t 
 +\\  
 +\\ 
 ---- ----
 ==== Update Repositories ==== ==== Update Repositories ====
Line 29: Line 32:
 \\  \\ 
 <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
 +\\ 
 +\\ 
 +Now you can install the correct epel version
 \\  \\ 
 \\  \\ 
 <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 +
-</file> +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-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>
 +\\ 
 +\\ 
 +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
 +\\ 
 +\\ 
 +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.1484247529.txt.gz · Last modified: 2023/03/09 22:35 (external edit)