hte command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hte: command not found
or when using sudo you get the following error message
sudo: hte: command not found
Solutions to hte: command not found
How To Fix hte: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hte is provided by ht package.
ht is:
This program is a file viewer, editor and analyzer for text, binary, and (especially) executable files - in other words it is an advanced hexeditor and disassembler.
For more info (e.g. keybindings) see the README file!
- Supported file formats
- common object file format (COFF/XCOFF32)
- executable and linkable format (ELF)
- linear executables (LE)
- standard DO$ executables (MZ)
- new executables (NE)
- portable executables (PE32/PE64)
- java class files (CLASS)
- Mach exe/link format (MachO)
- X-Box executable (XBE)
- Flat (FLT)
- PowerPC executable format (PEF)
- Code & Data Analyser
- finds branch sources and destinations recursively
- finds procedure entries
- creates labels based on this information
- creates xref information
- allows one to interactively analyse unexplored code
- allows one to create/rename/delete labels
- allows one to create/edit comments
- supports x86, ia64, alpha, ppc and java code
- Target systems
- DJGPP
- GNU/Linux
- FreeBSD
- OpenBSD
- Win32
Please note that the program is called “hte” not “ht” as the package name suggests.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ht
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ht.
sudo apt -y install ht
Or if you have aptitude installed you can use the following command.
sudo aptitude install ht
Summary
In this tutorial we learn how to fix hte command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.