How To Install hxtools on CentOS 8

hxtools is A collection of several tools

Introduction

In this tutorial we learn how to install hxtools on CentOS 8.

What is hxtools

hxtools contains several tools for different tasks written by Jan Engelhardt. Currently only these tools are included in Fedora * fd0ssh - Pipe for password-over-stdin support to ssh * git-forest - A text-based git tree visualizer * ofl - Open file lister (replaces fuser and lsof -m) * peicon - PE files icons extractor

We can use yum or dnf to install hxtools on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install hxtools.

Install hxtools on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install hxtools using dnf by running the following command:

sudo dnf -y install hxtools

Install hxtools on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install hxtools using yum by running the following command:

sudo yum -y install hxtools

How To Uninstall hxtools on CentOS 8

To uninstall only the hxtools package we can use the following command:

sudo dnf remove hxtools

hxtools Package Contents on CentOS 8

/usr/bin/git-forest
/usr/bin/ofl
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/740ccba307c0d075868b31479f28591acadea8
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/9443a13bfd14f0ce5d6c42ee6dfcff4d5d9e3f
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/beea44d57915b6138c4ba82dfd7e20f3104de2
/usr/libexec/hxtools/fd0ssh
/usr/libexec/hxtools/peicon
/usr/share/doc/hxtools
/usr/share/doc/hxtools/LICENSES.txt
/usr/share/licenses/hxtools
/usr/share/licenses/hxtools/LICENSE.GPL2
/usr/share/licenses/hxtools/LICENSE.GPL3
/usr/share/licenses/hxtools/LICENSE.WTFPL
/usr/share/man/man1/fd0ssh.1.gz
/usr/share/man/man1/git-forest.1.gz
/usr/share/man/man1/ofl.1.gz
/usr/share/man/man1/peicon.1.gz

References

Summary

In this tutorial we learn how to install hxtools on CentOS 8 using yum and dnf.