[GRASS5] Structure of an optimal grass installation

Buchan Milne bgmilne at cae.co.za
Fri Nov 21 03:54:20 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Oberender wrote:
> Hi all
>
> What is the structure of an optimal grass installation (under linux as I
> don't know what it's like on different unixs)?
>
> /usr/bin/grass5
> /opt/bin/d.* (all binaries)
> /opt/lib/libgrass* (all libs)
> /opt/documents/* (all html files)

With this setup, you are mixing libraries and binaries from diffierent
3rd-party packages, which most likely will give you some headaches
sometime (ie if you install grass57 and grass5). The point of GRASS
having it's own library/binary directories is to avoid this (otherwise
you would dump them in /usr/local/lib or /usr/local/bin etc.

> /usr/share/man/man1/d.*.1 (all man pages)
>
> About that way?
> I would prefer /opt as it's the right place for optional, big packages.

Well, that depends if the package ships with your unix or not. Since
Mandrake has GRASS packages in contrib, they are part of the distro, and
don't belong in /opt, so I put the grass distribution in /usr/lib/grass5
(Mozilla is in /usr/lib/mozilla-$VER, OpenOffice.org is in
/usr/lib/openoffice already to set the precedent), with only the grass5
script in /usr/bin.

The only real issue is that you need to set the manpath manually if you
want to read man pages outside the grass shell.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/vdK7rJK6UGDSBKcRAuPHAJoCAulPPRXhiu1pH3vkwZmP6XhsGwCgkiQ5
0DVsbYZtU8UJ2f5igbKkze4=
=ARuf
-----END PGP SIGNATURE-----




More information about the grass-dev mailing list