How to install the Linux (x86/Intel) binary releases
of GRASS 5.3.x in gzipped tar format.
Use at your own risk.
Installation:
- get the file
grass-5.3.0-x.distro_version.hw-bin.tar.gz
- get the installation script
grass-5.3.0-x.distro_version.hw-install.sh
where
- x: binary_version
- distro_version: Linux distribution with version
- hw: is the hardware architecture of your platform (e.g. i386)
For installation, run the install script with --help option:
- sh grass-5.3.0-x.distro_version.hw-install.sh --help
or - ./grass-5.3.0-x.distro_version.hw-install.sh --help
Or without help, directly:
- sh grass-5.3.0-x.distro_version.hw-install.sh grass5.3_i686-pc-linux_bin.tar.gz
or
- ./grass-5.3.0-x.distro_version.hw-install.sh grass5.3_i686-pc-linux_bin.tar.gz
Libraries
The following libraries are required:
- libpq (e.g. libpq3-7.3.4-2mdk.i586.rpm)
- proj (e.g. proj-4.4.7-1mdk.i586.rpm)
- libproj (e.g. libproj0-4.4.7-1mdk.i586.rpm)
- libgdal(e.g. libgdal0-1.1.9-2mdk.i586.rpm)
and, recommended, also:
- tcl (e.g. tcl-8.3.3-21mdk.i586.rpm)
- tk (e.g. tk-8.3.3-21mdk.i586.rpm)
- gdal tools (e.g. gdal-1.1.9-2mdk.i586.rpm)
- libfftw (must be fft2, e.g. libfftw2-2.1.5-2mdk.i586.rpm)
- libgrass (e.g. libgrass5-1.0.0-1mdk.src.rpm - but only if inserted in one of above packages as dependency)
optional:
- libgdal0-devel-1.1.9-2mdk.i586.rpm
- libgrass5_0-devel-1.0.0-1mdk.i586.rpm
- libproj0-devel-4.4.7-1mdk.i586.rpm
You can find these RPMs on www.rpmfind.net
NOTE:
In some distributions (e.g. Mandrake) the names of libraries is
slightly different. Check, and if there is no file of the name:
libtk.so.0
libtcl.so.0
libpq.so.2
libgdal.1.1.so
then you should type:
su
ln -s /usr/lib/libtk.so /usr/lib/libtk.so.0
ln -s /usr/lib/libtcl.so /usr/lib/libtcl.so.0
ln -s /usr/lib/libpq.so.3 /usr/lib/libpq.so.2
ln -s /usr/lib/libgdal.1.1.so /usr/lib/libgdal.so.1
ldconfig
Instead of (or in addition to) libtk.so and libtcl.so, you might
have libtk8.4.so and libtcl8.4.so. In this case, type instead:
ln -s /usr/lib/libtk8.4.so /usr/lib/libtk.so.0
ln -s /usr/lib/libtcl8.4.so /usr/lib/libtcl.so.0
ldconfig
Please help us and report bugs.
Bug report form