User Tools

Site Tools


install_htop

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
install_htop [2016/12/19 17:18] – [On RHEL/CentOS – 32-bit OS] walkeradmininstall_htop [2016/12/19 17:23] – [On Debian and Ubuntu] walkeradmin
Line 12: Line 12:
 ==== On RHEL/CentOS – 32-bit OS ==== ==== On RHEL/CentOS – 32-bit OS ====
 \\  \\ 
-<color red>-------------- For RHEL/CentOS 6 --------------</color>\\  +<color red>-------------- For RHEL/CentOS 6 --------------</color> 
-wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm\\  +    wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 
-rpm -ihv epel-release-6-8.noarch.rpm\\  +    rpm -ihv epel-release-6-8.noarch.rpm 
-<color red>-------------- For RHEL/CentOS 5 --------------</color>\\  +<color red>-------------- For RHEL/CentOS 5 --------------</color> 
-wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm\\  +    wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm 
-rpm -ihv epel-release-5-4.noarch.rpm\\ +    rpm -ihv epel-release-5-4.noarch.rpm
 \\  \\ 
 \\  \\ 
Line 23: Line 23:
 \\  \\ 
 <color red>-------------- For RHEL/CentOS 7 --------------</color> <color red>-------------- For RHEL/CentOS 7 --------------</color>
-wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm +    wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm 
-rpm -ihv epel-release-7-8.noarch.rpm +    rpm -ihv epel-release-7-8.noarch.rpm 
 <color red>-------------- For RHEL/CentOS 6 --------------</color> <color red>-------------- For RHEL/CentOS 6 --------------</color>
-wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm +    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 
-rpm -ihv epel-release-6-8.noarch.rpm+    rpm -ihv epel-release-6-8.noarch.rpm
 <color red>-------------- For RHEL/CentOS 5 --------------</color> <color red>-------------- For RHEL/CentOS 5 --------------</color>
-wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm +    wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 
-rpm -ihv epel-release-5-4.noarch.rpm+    rpm -ihv epel-release-5-4.noarch.rpm
 \\  \\ 
 \\  \\ 
Line 51: Line 51:
 \\  \\ 
 \\  \\ 
 +==== 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.
 \\  \\ 
 +    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 -v --rebuilddb
 +    sudo yum -y install libselinux-python
 \\  \\ 
 \\  \\ 
- 
-Loaded plugins: fastestmirror 
-Setting up Install Process 
-Loading mirror speeds from cached hostfile 
- * base: mirror.vorboss.net 
- * epel: epel.check-update.co.uk 
- * extras: mirror.vorboss.net 
- * updates: www.mirrorservice.org 
-Resolving Dependencies 
---> Running transaction check 
----> Package htop.x86_64 0:1.0.3-1.el6 will be installed 
---> Finished Dependency Resolution 
- 
-Dependencies Resolved 
- 
-=========================================================================================================== 
- Package               Arch                    Version                         Repository             Size 
-=========================================================================================================== 
-Installing: 
- htop                  x86_64                  1.0.3-1.el6                     epel                   83 k 
- 
-Transaction Summary 
-=========================================================================================================== 
-Install       1 Package(s) 
- 
-Total download size: 83 k 
-Installed size: 178 k 
-Is this ok [y/N]: y 
-Downloading Packages: 
-htop-1.0.3-1.el6.x86_64.rpm                                                          83 kB     00:00 
-warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY 
-Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 
-Importing GPG key 0x0608B895: 
- Userid : EPEL (6) <epel@fedoraproject.org> 
- Package: epel-release-6-8.noarch (installed) 
- From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 
-Is this ok [y/N]: y 
-Running rpm_check_debug 
-Running Transaction Test 
-Transaction Test Succeeded 
-Running Transaction 
-  Installing : htop-1.0.3-1.el6.x86_64                                                                 1/1 
-  Verifying  : htop-1.0.3-1.el6.x86_64                                                                 1/1 
- 
-Installed: 
-  htop.x86_64 0:1.0.3-1.el6 
- 
-Complete! 
  
install_htop.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1