I use these steps to install nfoview on Mint 5 or Ubuntu 8.04.
Download the tar from the website and extract it:
Code:
tar -xzvf nfoview-1.2.tar.gz
cd nfoview-1.2/
Make sure you have the necessary packages installed:
Code:
sudo apt-get install python gettext intltool xfonts-terminus xfonts-terminus-oblique
Install nfoview:
Code:
sudo ./setup.py install
Probably you get these errors:
running install
running build
running build_py
running build_scripts
running install_lib
Traceback (most recent call last):
File "./setup.py", line 235, in <module>
"sdist_gna": SDistGna,},)
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "./setup.py", line 84, in run
install.run(self)
File "/usr/lib/python2.5/distutils/command/install.py", line 510, in run
self.run_command(cmd_name)
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/distutils/command/install_lib.py", line 95, in run
outfiles = self.install()
File "./setup.py", line 153, in install
assert text.count(string) == 1
AssertionError
Edit the setup file to uncomment the failed asserts.
Code:
vim ./setup.py
type :153
type i
type #
type :156
type i
type #
press Esc
type :wq
Install nfoview:
Code:
sudo ./setup.py install
Right click an nfo file and choose Open With -> Open with Other Application
Use a custom command: nfoview
Set font size to Terminus 8 and the color scheme to White on Black.