install_htop
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
install_htop [2016/12/19 17:08] – created walkeradmin | install_htop [2016/12/19 17:23] – [On Debian and Ubuntu] walkeradmin | ||
---|---|---|---|
Line 2: | Line 2: | ||
\\ | \\ | ||
\\ | \\ | ||
- | Loaded plugins: fastestmirror | + | htop provides a graphical view of processor and memory capability and usage. It is pretty handy on the MFEL to work out if the limit of the processor(s) is being reached. It's a much more capable indicator of resource usage than the MFEL GUI performance indicator. |
- | Setting up Install | + | \\ |
- | Loading mirror speeds from cached hostfile | + | \\ |
- | * base: mirror.vorboss.net | + | ==== Install |
- | | + | \\ |
- | * extras: mirror.vorboss.net | + | To install Htop on RHEL 7/6/5 and CentOS 7/6/5, your system must have EPEL repository installed and enabled, to do so run the following commands on your respective distributions to install and enable it for your system architecture (32bit or 64bit). |
- | * updates: www.mirrorservice.org | + | \\ |
- | Resolving Dependencies | + | \\ |
- | --> Running transaction check | + | ==== On RHEL/CentOS – 32-bit OS ==== |
- | ---> | + | \\ |
- | --> Finished Dependency Resolution | + | <color red> |
- | + | wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
- | Dependencies Resolved | + | rpm -ihv epel-release-6-8.noarch.rpm |
- | + | <color red>-------------- For RHEL/CentOS 5 --------------</ | |
- | =========================================================================================================== | + | wget http://download.fedoraproject.org/ |
- | Package | + | |
- | =========================================================================================================== | + | \\ |
- | Installing: | + | \\ |
- | htop | + | ==== On RHEL/CentOS – 64-bit OS ==== |
- | + | \\ | |
- | Transaction Summary | + | <color red> |
- | =========================================================================================================== | + | wget http:// |
- | Install | + | rpm -ihv epel-release-7-8.noarch.rpm |
- | + | <color red> | |
- | Total download size: 83 k | + | wget http:// |
- | Installed size: 178 k | + | rpm -ihv epel-release-6-8.noarch.rpm |
- | Is this ok [y/N]: y | + | <color red> |
- | Downloading Packages: | + | wget http:// |
- | htop-1.0.3-1.el6.x86_64.rpm | + | rpm -ihv epel-release-5-4.noarch.rpm |
- | warning: rpmts_HdrFromFdno: | + | \\ |
- | Retrieving key from file:/// | + | \\ |
- | Importing GPG key 0x0608B895: | + | Once EPEL repository has been installed, you can hit the following yum command to fetch and install the htop package as shown. |
- | | + | \\ |
- | | + | yum install htop |
- | From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 | + | \\ |
- | Is this ok [y/N]: y | + | ==== On Fedora OS ==== |
- | Running rpm_check_debug | + | \\ |
- | Running Transaction Test | + | Fedora users can easily install htop using Fedora Extras repository by typing: |
- | Transaction Test Succeeded | + | \\ |
- | Running Transaction | + | yum install htop |
- | Installing : htop-1.0.3-1.el6.x86_64 | + | dnf install htop [On Fedora 22+ releases] |
- | | + | \\ |
- | + | ==== On Debian and Ubuntu | |
- | Installed: | + | \\ |
- | htop.x86_64 0:1.0.3-1.el6 | + | In Debian and Ubuntu, you can fetch htop by typing: |
- | + | \\ | |
- | Complete! | + | sudo apt-get install htop |
+ | \\ | ||
+ | \\ | ||
+ | ==== Error: xz compression not available | ||
+ | \\ | ||
+ | If you get the error: | ||
+ | \\ | ||
+ | Error: xz compression not available | ||
+ | \\ | ||
+ | Then it is due to an EPEL libarary mismatch, and you will have to remove the EPEL and reinstall it. | ||
+ | \\ | ||
+ | \\ | ||
+ | The code below will help, but you need to know what version to remove and to install. Just try to remove any version, if its wrong you will get an error, the error will tell you the currently installed version. | ||
+ | \\ | ||
+ | | ||
+ | wget http://download.fedoraproject.org/ | ||
+ | | ||
+ | sudo yum clean all | ||
+ | sudo rpmdb -v --rebuilddb | ||
+ | sudo yum -y install libselinux-python | ||
+ | \\ | ||
+ | \\ | ||
install_htop.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1