How To Install hxtools on Ubuntu 22.04

In this tutorial we learn how to install hxtools on Ubuntu 22.04. hxtools is Collection of tools and scripts

Introduction

In this tutorial we learn how to install hxtools on Ubuntu 22.04.

What is hxtools

hxtools is:

A collection of tools and scripts that have accumulated over the years, and each of which seems to be too small to warrants its own project.

  • bsvplay(1) - convert BASICA music files to PCM
  • cctypeinfo(1) - show sizes of C types on the implementation it was compiled with
  • checkbrack(1) - check parenthesis and bracket count
  • declone(1) - break hardlinks
  • diff2php(1) - transform patch to self-serving PHP file
  • fd0ssh(1) - pipe for password-over-stdin support to ssh
  • fnt2bdf(1) - convert VGA raw fonts to X11 BDF
  • gpsh(1) - grep in tracklists and play audio files
  • logontime(8) - show cumulative logon time from wtmp
  • mailsplit(1) - split an mbox into single files
  • mod2opus(1) – wrapper for tracker module/MIDI to Opus transcoding
  • hxnetload(8) – show utilization of network interface
  • ofl(1) - open file lister (replaces fuser and lsof -m)
  • paddrspacesize(1) - print size of processes’ address spaces
  • pesubst(1) - perl-regexp stream substitution (replaces sed for sub-stitutions)
  • pmap_dirty(1) - display amount of RAM a process uses hard
  • proc_iomem_count(1) - show MMIO region sizes
  • qplay(1) - convert QBASIC play strings to PCM
  • qtar(1) - faster interface to tar with file ordering
  • recursive_lower(1) - recursively lowercase all filenames
  • sourcefuncsize(1) - statistical analysis of code
  • spec-beautifier(1) - program to clean up RPM .spec files
  • su1(8) - what sudo should have done
  • utmp_register(1) - make entries in the utmp/wtmp database
  • vcsaview(8) - display a screen dump in VCSA format
  • vfontas(1) - VGA font file assembler
  • wktimer(1) - work timer

There are three methods to install hxtools on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install hxtools Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install hxtools using apt-get by running the following command:

sudo apt-get -y install hxtools

Install hxtools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hxtools

Install hxtools Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install hxtools

How To Uninstall hxtools on Ubuntu 22.04

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

sudo apt-get remove hxtools

Uninstall hxtools And Its Dependencies

To uninstall hxtools and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove hxtools

Remove hxtools Configurations and Data

To remove hxtools configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge hxtools

Remove hxtools configuration, data, and all of its dependencies

We can use the following command to remove hxtools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge hxtools

References

Summary

In this tutorial we learn how to install hxtools package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.