If you want to download the source and compile it yourself, download
the file wx-view_src.tgz; if you want to
download and install from the executable, download the file wx-view.tgz.
2. In either case, extract the files (the files will be untarred to a directory called wx-view under the directory where you saved the downloaded file).
3. Skip this step if you downloaded the executable (file wx-view.tgz).
To compile the source code, it is necessary that wxWindows (wxGTK) version 2.2 or above is installed on your system (please refer to www.wxwindows.org for download and installation instructions).
To compile, type make (or make static, if you want to statically link the wxGTK library -- provided that you installed wxGTK with this option).
4. Login as root (if you are not already superuser), and execute the following commands:
# mkdir /usr/local/wx-view
# mkdir /usr/local/wx-view/cache
# cp wx-view *.bmp /usr/local/wx-view
# export PATH WXVIEW_DIR
5. It is advised that you add the definition of WXVIEW_DIR to one of your initialization scripts, as well as adding it to your PATH environment variable (e.g., in the file .bash_profile). This can be done by adding the following lines to your .bash_profile:
export WXVIEW_DIR PATH
(you can follow steps 4 and 5 to the letter, or you can use any alternative mechanism of your choice if you are familiar with Linux/Unix settings, scripts, etc.)