Posted by: kezhong | September 12, 2011

Install hexedit on CentOS 5.5

Hexedit is a very powerful tool that shows a file both in ASCII and in hexadecimal. On Linux system, vi/vim can only modify ASCII files, however, Hexedit can modify not only ASCII files but also binary files.

The link http://rigaux.org/hexedit.html shows how to use it.

On CentOS 5.5 system, I cannot use yum to install it(but it can be installed by yum on Fedora 15). The below are installation steps.
# wget http://rigaux.org/hexedit-1.2.12.src.tgz
# gunzip hexedit-1.2.12.src.tgz
# tar xvf hexedit-1.2.12.src.tar
# cd hexedit
# ./configure
# make
# make install


Responses

  1. Wow what a mess Linux is. Windows = just run the Hexedit installer.

  2. […]   :: Links + Google + KezHong […]

  3. exedit.h:16:20: error: curses.h: No such file or directory
    hexedit.c:42: error: ‘FALSE’ undeclared here (not in a function)
    hexedit.c: In function ‘init’:
    hexedit.c:108: error: ‘TRUE’ undeclared (first use in this function)
    hexedit.c:108: error: (Each undeclared identifier is reported only once
    hexedit.c:108: error: for each function it appears in.)
    make: *** [hexedit.o] Error 1

    • yum install ncurses-devel (or equivalent for your flavour of linux)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: