"Douglas N. Arnold" wrote:

> 1. The rpms install everything into /usr/local/dx except
> for a few things that get installed into /dx, namely:
> 
>    /dx/bin_linux/prompter
>    /dx/bin_linux/startupui
>    /dx/bin_linux/test.txt
>    /dx/bin_linux/tutor
>    /dx/include/dx/arch.h
>    /dx/include/dx/geometry.h
>    /dx/java/htmlpages
>    /dx/java/server/dxmacros/weboptionsmac.net
> 
> I suspect you meant for that stuff to go into /usr/local/dx as well,
> right?  I had to move the stuff from /dx/bin_linux to /usr/dx/bin_linux
> for dx to work.


Actually the problems I thought I had with not having the correct
libstdc++-libc6.1-2.so.3 were actually this problem.  Everything 
seems to work now.  Thanks for everyone's help!


> 3. Finally, the RPMs are not compliant with Linux Filesystem Hierarchy
> Standard (http://www.pathname.com/fhs/), concerning where they install
> files.  My understanding is that everything should be installed into
> /usr/lib/dx (rather than /usr/local/dx, /usr/dx, or /dx), except that
> the executable script dx should be moved or copied into /usr/bin/dx,
> and the man page should be moved or copied into /usr/man/man1/dx.1.

Actually this isn't correct. All third party software should go into
either /usr/local or /opt.  The idea is that you can have /usr/local
or /opt on a separate disk partition so that when you do a fresh install
which reformats the / partition space, it leaves your /usr/local or /opt
directory intact - no having to reinstall all of your software (although
in the case of Linux the libraries change so much you probably have to
anyway, but in the case of Solaris you can upgrade for years without
having to touch the /opt structure). 

As for whether it should be in 
/opt or /usr/local, I've never really understood, other than that the
standard says that /opt should be used for "Add-on packages".  Does
that include rpm's?  I've seen many SysAdmins just soft link /opt to
/usr/local to avoid the whole mess.

Scott


-- 
Scott Kruger                      Center for Energy and Space Science 
 Science Applications Intl. Corp.                    [EMAIL PROTECTED] 
 10260 Campus Point Dr.                         Phone: (858) 826-9505
 San Diego, CA 92121-1578                       Fax:   (858) 826-6261

Reply via email to