Categories: GIS Software

Acquisition/Installation of GRASS Binaries

This appendix describes how to acquire and install Linux binaries for GRASS4.13 (the 3rd update to the last full release of GRASS, version 4.1).


How to get these files:

login: anonymous
password: your email address
cd pub/grass/grass4.1/release/binaries/linux
mget grassa*

Installation instructions:
* GRASS 4.1 Update 3 for Linux
* This package contains GRASS programs only, *NO* GIS
* data is included.  You can find example GRASS data at
* Compiled by: Andy Burnett -
* compiled on: April 7, 1994

System Requiremnts:

        35 MB disk space to hold the binary distribution

System library requirements:

        libc4.5.21 or greater or greater

If you are running libraries that are older than these, this binary
distribution will *NOT* run on your linux system.

Files in this release:

        README_4.1.3            what you are currently reading
        ginstall                simple grass installation script
        grassaa --------|
        grassab         |
        grassac         |
        grassad         |
        grassae         |--     the linux GRASS binaries
        grassaf         |
        grassag         |
        grassah         |
        grassai         |
        grassaj         |
        grassak --------|


        To install this binary distribution of grass for linux, you
can simply run the ginstall script or you can unpack the files by
hand.  I recommend using the ginstall script ... it's very simple and
should be bullet proof.  To run the ginstall script, you will need
gawk (gnu awk) installed on your system and it needs to be in your

If, however, you want to do things by hand, here's what you need to

o  make the destination directory (/usr/grass, /usr/local/grass,
   whatever)  This will become your GISBASE for grass.

********************* LOOK HERE **************************************
from here on, replace $GISBASE with the name of the directory you just
********************* LOOK HERE **************************************

o  cat grassa? | gzip -d | (cd $GISBASE; tar xvf -)
   This will unpack all the grass binaries into the $GISBASE directory

o  copy $GISBASE/etc/moncap.sample to $GISBASE/etc/monitorcap and edit
o  change all occurrences of GBASE in that file to $GISBASE
o  copy $GISBASE/etc/grass4.1 into a public directory (I suggest
o  edit the copy you just made:
   change all occurrences of GBASE to $GISBASE
This appendix describes how to acquire and install Linux binaries for GRASS4.15 (the 5th and last update to the last full release of GRASS, version 4.1).

How to get these files:
login: anonymous
password: your email address
cd pub/grass/grass4.1/release/binaries/linux
mget linuxa*

Installation instructions:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Files in this release:
        README_4.1.5            what you are currently reading                simple grass installation script
        linuxaa --------|
        linuxab         |
        linuxac         |
        linuxad         |
        linuxae         |--   the linux GRASS binaries, version 4.1.5
        linuxaf         |
        linuxag         |
        linuxah         |
        linuxai --------|

* * * * * * * * * * *** * * * * * * * * * * * * * * * * * * * * * * *

The GRASS4.15 for Linux was compiled in my Linux box with the
following configuration:
        Slackware 3.0
        kernel 1.2.13
        gcc 2.7.0
        libc 5.0.9
        flex 3.5.2

~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~

The binaries was tared and gziped, then split into 9 (close to 1.3 MB
- 1200 x 1K block) files named from linuxg.aa to

You should ftp all the linuxg.a* in binary mode and also get this
readme file and an installation script -  Please put all
of these files in the same directory - source directory.

At the source directory under the UNIX prompt, type
        sh ./ full_path_to_the_destination_directory

and it should automatically unzip and untar the linuxg.a* files to the
destination directory and also edit several site-specific files.  The
total space your need is about 26 MB.

At the destination directory, your can find the grass4.1 script.  It
should have been modified to reflect your installation directory.
Now, either move/copy the grass4.1 file to one of your PATH or use the
link command as below:
        cd /usr/local/bin
        ln -s destination_directory/etc/grass4.1 grass4.1

Now, you are ready to start GRASS by typing grass4.1 and you should
know how to run GRASS afterward.

There is a readme directory in the destination_directory/etc
directory.  This directory has several readme files that come with
some incoming commands.  You can find all the compiled commands of
this binaries in the commands.readme file.  I can't guarantee that all
of them work but I have tested lots of them.  If you find some
commands that don't work, please post a message on the grass user
group and we can solve it all together.

Yung-Tsung Kang,
Michigan State University

Previous: References| Next: Acquisition/Compilation of GRASS Source Code



Published by

Recent Posts

Making Finding Geographic Information Easier: SpatioTemporal Assets Catalogs

SpatioTemporal Assets Catalogs (STAC) provides a common set of search terms so that geospatial information can be found and indexed…

October 16, 2019

USGS Launches an Online Landslide Inventory Mapping Tool

The USGS has launched an online web map that compiles existing United States landslide data into a searchable tool called…

October 10, 2019

Geospatial Data and Sustainable Development Goals

The new initiative, called Data for Now, will see the linkage of Google Earth satellite data and other GIS data…

October 7, 2019

Geospatial News | October 3, 2019

This week's geospatial news summary features GIS industry news from Epson, USGIF, NSGIC, Esri, Quantum Spatial, 1spatial, and thinkWhere.

October 3, 2019

Community Involvement in OpenStreetMap

While we tend to think the community involved in OpenStreetMap (OSM) is made up of mainly individuals, there is an…

September 30, 2019

World Bank and Geospatial Data

The World Bank in August 2018 launched the Integrated Geospatial Information Framework, which is seen as a way for GIS…

September 25, 2019