trouble in installing radiance on ubuntu 8.03-a new user


(ii) it is strange that after intallion I can't findany installed
files of radiance.


dpkg -L radiance

will list the files.
You should also install the following packages:
- especially if you want to have a look at the examples. They're split
into packages on their own as they're architecture independent. Listing
the files works in the same way, just use the different package name.

It's Debian/Ubuntu policy to install everything in the /usr branch of
the file system.
The binaries will be in /usr/bin/, library files in /usr/lib or a
subdirectory of it.
The advantage is that everything is in your search path after installation
so you won't have to adjust PATH yourself.

The disadvantage is that there will be name conflicts with other packages.
For the Debian/Ubuntu packages in particular the name of the 'genbox'
program was changed to 'rgenbox'. If you want to follow the examples in


old documents you have to keep that in mind and change the commands

The manpages have been patched, so they'll show genrbox.

Another frequently used command is 'rview'. It was renamed to 'rvu' a while
ago but there are still plenty of examples and tutorials around which
use the
old name.

The commands are available under the old name if you add
/usr/lib/radiance/ to your PATH. Adding something like
export PATH=/usr/lib/radiance:$PATH
to your .bashrc or /etc/profile or to the rc file of your favourite
shell will help. Then you'll also be able to use rview.

(iii) should I set environment path after installion?

As said above you won't have to set PATH if everything is in /usr/bin/.
You can check if there is a RAYPATH variable set after you log in.

    env | grep RAYPATH

and you should see the value of the variable (or nothing if it's not set).
Strictly speaking RAYPATH is not necessary if you're not referring to
any patterns or calculation files in your scene. Some example scene
do, however, so it's probably a good idea to have it set.

The example scenes don't need it, you need to install the
package, though. If RAYPATH is not in the environment,
/usr/share/radiance will be used automatically.

There's a README which explains these details in
/usr/share/doc/radiance, in case you'd like to have additional details
added, please send me a patch or an updated file.

Hope that helps,



Bernd Zeimetz Debian GNU/Linux Developer
GPG Fingerprint: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79