GRASS 6.4.svn stable snapshot GNU/Linux binaries
How to install the Linux (x86/Intel) binary code for
GRASS 6.4.svn stable (release branch) in gzipped tar format.
Note: the x86_64 binaries will only run on 64bit CPUs (use 'uname -m' to
find out about your computer).
You can install and use GRASS 6 in parallel to GRASS 7.x.
Installation:
- get the file
grass-6.4.svn-ARCH-DD_MM_YYYY.tar.gz
- get the installation script
grass-6.4.svn-ARCH-DD_MM_YYYY-install.sh
where
- ARCH is the architecture of the platform (e.g. i686-pc-linux-gnu)
- DD-MM-YYYY is the date of the release (e.g. 21_06_2009)
For installation, run the install script with --help option:
- sh grass-6.4.svn-ARCH-DD_MM_YYYY-install.sh --help
or
- ./grass-6.4.svn-ARCH-DD_MM_YYYY-install.sh --help
Or without help, directly:
- sh grass-6.4.svn-ARCH-DD_MM_YYYY-install.sh grass64-DD-MM-YYYY-arch-bin.tar.gz
or
- ./grass-6.4.svn-ARCH-DD_MM_YYYY-install.sh grass64-DD-MM-YYYY-arch-bin.tar.gz
Libraries
The following libraries and programs are required:
- libpq (e.g. libpq3 or libpq4)
- libproj (e.g. proj for Debian, libproj for Mandriva)
- libgdal (e.g. libgdal1 for Debian, libgdal for Mandriva)
- xterm
and, recommended, also:
- tcl (e.g.tcl8.3 or tcl8.4)
- tk (e.g. tk8.3 or tk8.4)
- gdal tools
- libfftw (fftw2, fftw3 or libfftw2, libfftw3)
NOTE:
In some distributions (e.g. Debian, Mandriva) the names of libraries are slightly different.
Check, and if there is no file of the name:
libtk.so.0
libtcl.so.0
libpq.so.2
libgdal.so.1
libdfftw.so.2
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
ln -s /usr/lib/libfftw.so.2 /usr/lib/libdfftw.so.2
ldconfig
As a first argument, you should put the names of the libraries you have in your distribution.
Instead of (or in addition to) libtk.so and libtcl.so, you might have
libtk8.3.so and libtcl8.3.so (or libtk8.4.so and libtcl8.4.so). In this case, type instead:
ln -s /usr/lib/libtk8.3.so /usr/lib/libtk.so.0
ln -s /usr/lib/libtcl8.3.so /usr/lib/libtcl.so.0
ldconfig
How to uninstall
sh /usr/local/bin/grass64uninstall.sh
If it's not there, then:
rm -rf /usr/local/bin/grass64
rm -rf /usr/local/bin/grass64-DD-MM-YYYY
rm -rf /usr/local/grass64-DD-MM-YYYY
This snapshot was configured as follows:
CFLAGS="-O2" LDFLAGS="-s" ./configure \
--enable-64bit \
--with-libs=/usr/lib64 \
--with-cxx \
--with-gdal=/usr/local/bin/gdal-config \
--without-odbc \
--with-sqlite \
--with-nls \
--with-python \
--with-wxwidgets=`which wx-config` \
--with-fftw \
--with-ffmpeg --with-ffmpeg-includes="/usr/include/libav* /usr/include/libpostproc /usr/include/libswscale" \
--with-motif \
--with-mysql --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib64 \
--with-freetype --with-freetype-includes=/usr/include/freetype2 \
--enable-largefile \
2>&1 | tee config_log.txt
Get this file.
Please help us and report bugs.
Bug report form