Linux provides a lot of command line tools for easy and practical use. Hex editor packages are some of them. In this tutorial we will look hex editor which can be used to edit files especially binary files in hexadecimal format.
Xxd
Xxd is very popular hex editor between Linux application developers and system administrators. It provides basic hex editor features. More detailed can be get from following tutorial.
How To Use Linux Xxd Command Tutorial For Hex and Binary Operations With Example?

Dhex
Dhex is very good and feature-full editor which provides console based hex edit screen. It provides menus like Goto
, Search
, HexCal
etc.
We can install dhex like below.
$ sudo apt install dhex -y

Vim
Vim is actually a text editor but have ability to edit hex files. We can install vim with the following command. We can install vim like below.
$ apt install vim
After opening file we shold change the editor mode into hex with the following vim command.
:%!xxd

Emacs
Emacs is alternative text editor to Vim and it provides hex edit features like vim. We can install emacs with the following command.
$ apt install emacs
Hexedit
Hexed is a bit more than a hex editor. It provides getting diff of files and can be used to compare binary files. It is user interface is based on ncurses. We can install it like below.
$ apt install hexedit
Bless
Bless is the most advanced hex editor which provides a lot features. We can install bless with the following command.
$ apt install bless
It provides graphical user interface like Windows hex editors. It cat edit large data files and block devices. It supports multilevel undo-redo operations. Data can be rendered fast in screen. Enhanced data conversion table.

Hexcurse
Hexcurse can be installed with the following command.
$ apt install hexcurse
Hexcurse provides two panes those used to show hexadecimal and ASCII format. We can use Goto
menu to go to the specified address. Find
is used to find specified string.

Don’t forget wxHexEditor : http://www.wxhexeditor.org/ for massive files, and it can compare two files too.
Linux XXXX 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
The program Bless does not work properly on Linux Debian 9.5 “stretch”. When I try to select an area for cut or paste, then the program disappear without give advise of nothing at all. No error message, simply disappears. And all the work is lost! —
So I’ve made from SUPERUSER console: “apt-get install okteta” Works fine!
https://packages.debian.org/it/sid/okteta.
And .. as said by mert (above) I confirm:
wxHexEditor also is a good choice makes the assembly from op-codes selected!
Don’t forget wxHexEditor : http://www.wxhexeditor.org/ for massive files, and it can compare two files too. — Have a nice day. —
Linux XXXX 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
The program Bless does not work properly on Linux Debian 9.5 “stretch”. When I try to select an area for cut or paste, then the program disappear without give advise of nothing at all. No error message, simply disappears. And all the work is lost! —
So I’ve made from SUPERUSER console: “apt-get install okteta” Works fine!
https://packages.debian.org/it/sid/okteta.
And .. as said by mert (above) I confirm:
wxHexEditor also is a good choice makes the assembly from op-codes selected!
Don’t forget wxHexEditor : http://www.wxhexeditor.org/ for massive files, and it can compare two files too. — Have a nice day. —