wiki:centos_7_no_wget_install_epel
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:centos_7_no_wget_install_epel [2017/01/12 18:58] – walkeradmin | wiki: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> | <color darkorange> | ||
+ | \\ | ||
\\ | \\ | ||
\\ | \\ | ||
Line 17: | Line 18: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | The repository refers to Extra Packages for Enterprise Linux (EPEL). So we are installing the epel repositories, | ||
+ | \\ | ||
+ | \\ | ||
---- | ---- | ||
==== Update Repositories ==== | ==== Update Repositories ==== | ||
Line 29: | Line 32: | ||
\\ | \\ | ||
<color red> | <color red> | ||
+ | \\ | ||
+ | \\ | ||
+ | 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 | ||
\\ | \\ | ||
\\ | \\ | ||
< | < | ||
- | Instead of using | + | Instead of using |
- | You can use curl -O https:// | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | curl -O https:// | + | |
+ | You can use curl -O https:// | ||
+ | |||
+ | |||
+ | curl -O https:// | ||
+ | |||
+ | % Total % Received % Xferd Average Speed | ||
+ | Dload Upload | ||
+ | 100 14704 100 14704 0 | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | Remember to use the correct version ../ | ||
+ | \\ | ||
+ | \\ | ||
+ | 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:// | ||
+ | \\ | ||
+ | \\ | ||
+ | Here you will see a list like: | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | \\ | ||
+ | Navigate to | ||
+ | \\ | ||
+ | \\ | ||
+ | 7Server/ | ||
+ | \\ | ||
+ | \\ | ||
+ | And scroll down until you see htop | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | \\ | ||
+ | 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)