ImHex is an open-source hex editor designed for reverse engineering, binary analysis, and low-level data inspection. It's especially popular among security researchers, firmware analysts, and developers who need to analyze raw binary files. This tutorial demonstrates how to install ImHex on Ubuntu 24.04.
Install ImHex
First, retrieve the latest available version number directly from the GitHub releases page:
IMHEX_VERSION=$(curl -s "https://api.github.com/repos/WerWolv/ImHex/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Next, download the Debian package corresponding to that version:
wget -qO imhex.deb https://github.com/WerWolv/ImHex/releases/latest/download/imhex-$IMHEX_VERSION-Ubuntu-24.04-x86_64.deb
Once the package is downloaded, install it using APT:
sudo apt install -y ./imhex.deb
After installation, we can confirm that ImHex is properly installed by checking its version:
imhex --version
Remove the downloaded package file:
rm -rf imhex.deb
Testing ImHex
We can open ImHex either through the system's application menu or by executing the command in the terminal:
imhex
Uninstall ImHex
If you want to completely remove ImHex, run the following command:
sudo apt purge --autoremove -y imhex
If you also want to delete configuration files and local user data created by ImHex, remove its directories:
rm -rf ~/.config/imhex ~/.local/share/imhex
Leave a Comment
Cancel reply