This evening, I was looking at some microcontroller files and I needed a hex editor to tweak the machine code. That led me to search for a good hex editor for my ubuntu desktop. I downloaded several programs (GUI as well as console) and poked around a bit with each. Here are five gui hex editors you can use on ubuntu 9.04.
Ghex is hex editor for GNOME. GHex allows the user to load data from any file, view and edit it in either hex or ascii.
On ubuntu 9.04 , ghex is available in universe repository.
$ sudo apt-get install ghex
I could not locate the current home page of khexedit on internet. It is good editor based on kde 3.5. Unfortunaltley , khexedit is missing in the Jaunty repository. I downloaded khexedit form the hardy repository, and nstalled the package with
$ sudo dpkg -i khexedit_3.5.9-0ubuntu3_i386.deb
The screen shot looks like below.
Okteta is a KDE utility. It is included in the new KDE 4.3 also. The data is displayed in two variants: as the numeric values of the bytes and as the characters assigned to the values. Values and characters can be shown either in two columns (the traditional display in hex editors) or in rows with the value on top of the character. Editing can be done both for the values and for the characters. Besides the usual editing capabilities Okteta also brings a small set of tools, like a table listing decodings into common simple data types, a table listing all possible bytes with its' character and value equivalents, a info view with a statistic, a checksum calculator and a filter tool. All modifications to the data loaded can be endlessly undone or redone.
On ubuntu 9.04 you can install okteta with
$ sudo apt-get install okteta
Octeta looks like this screen shot.
4 ) Wxhexeditor
wxHexEditor is another Hex Editor useful for editing large files. Debian/Ubuntu package is not available now. However, you can download it in source or get a binary from here. It is still in alpha but looks very promising.
lfhex is an application for viewing and editing files in hex, octal, binary, or ascii text. The main strength of lfhex is it's ability to work with files much larger than system memory.
The interface is not very impressive. It can be installed with
$ sudo apt-get install lfhex
See the screen shot below.