User Tools

Site Tools


install_htop

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
install_htop [2016/12/19 17:08] – created walkeradmininstall_htop [2017/01/12 20:07] walkeradmin
Line 2: Line 2:
 \\  \\ 
 \\  \\ 
-Loaded pluginsfastestmirror +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 Process +\\  
-Loading mirror speeds from cached hostfile +\\  
- * basemirror.vorboss.net +==== If wget is not installed/working ==== 
- epelepel.check-update.co.uk +\\  
- * extras: mirror.vorboss.net +If the wget command is not available, or not working, you can try <color red>curl</color> as an alternative, check out this page for syntax [[wiki:use_curl_as_wget_replacement|Use Curl as wget Replacement]] 
- * updates: www.mirrorservice.org +\\  
-Resolving Dependencies +\\  
---> Running transaction check +==== Install Htop Using Binary Packages in Linux ==== 
----> Package htop.x86_64 0:1.0.3-1.el6 will be installed +\\  
---> Finished Dependency Resolution +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). 
- +\\  
-Dependencies Resolved +\\  
- +==== On RHEL/CentOS – 32-bit OS ==== 
-=========================================================================================================== +\\  
- Package               Arch                    Version                         Repository             Size +<color red>-------------- For RHEL/CentOS 6 --------------</color> 
-=========================================================================================================== +    wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 
-Installing+    rpm -ihv epel-release-6-8.noarch.rpm 
- htop                  x86_64                  1.0.3-1.el6                     epel                   83 k +<color red>-------------- For RHEL/CentOS 5 --------------</color> 
- +    wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 
-Transaction Summary +    rpm -ihv epel-release-5-4.noarch.rpm 
-=========================================================================================================== +\\  
-Install       1 Package(s) +\\  
- +==== On RHEL/CentOS – 64-bit OS ==== 
-Total download size83 k +\\  
-Installed size: 178 k +<color red>-------------- For RHEL/CentOS 7 --------------</color> 
-Is this ok [y/N]y +    wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm 
-Downloading Packages: +    rpm -ihv epel-release-7-8.noarch.rpm  
-htop-1.0.3-1.el6.x86_64.rpm                                                          83 kB     00:00 +<color red>-------------- For RHEL/CentOS 6 --------------</color> 
-warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY +    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 
-Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 +    rpm -ihv epel-release-6-8.noarch.rpm 
-Importing GPG key 0x0608B895: +<color red>-------------- For RHEL/CentOS 5 --------------</color> 
- Userid : EPEL (6) <epel@fedoraproject.org+    wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 
- Package: epel-release-6-8.noarch (installed) +    rpm -ihv epel-release-5-4.noarch.rpm 
- From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 +\\  
-Is this ok [y/N]: y +\\  
-Running rpm_check_debug +Once EPEL repository has been installed, you can hit the following yum command to fetch and install the htop package as shown. 
-Running Transaction Test +\\  
-Transaction Test Succeeded +    yum install htop 
-Running Transaction +\\  
-  Installing : htop-1.0.3-1.el6.x86_64                                                                 1/1 +==== On Fedora OS ==== 
-  Verifying  : htop-1.0.3-1.el6.x86_64                                                                 1/1 +\\  
- +Fedora users can easily install htop using Fedora Extras repository by typing: 
-Installed: +\\  
-  htop.x86_64 0:1.0.3-1.el6 +    yum install htop 
- +    dnf install htop      [On Fedora 22+ releases] 
-Complete!+\\  
 +==== On Debian and Ubuntu ==== 
 +\\  
 +In Debian and Ubuntu, you can fetch htop by typing: 
 +\\  
 +    sudo apt-get install htop 
 +\\  
 +\\  
 +==== Error: xz compression not available ==== 
 +\\  
 +If you get the error
 +\\  
 +Errorxz 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 installJust try to remove any version, if its wrong you will get an error, the error will tell you the currently installed version
 +\\  
 +    sudo rpm -e epel-release-7-5.noarch 
 +    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 
 +    sudo rpm -ivh epel-release-6-8.noarch.rpm 
 +    sudo yum clean all 
 +    sudo rpmdb ---rebuilddb 
 +    sudo yum -y install libselinux-python 
 +\\  
 +\\ 
  
install_htop.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1