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


Recent Posts

European Global Position System Failure Points to the Importance of Location Technology

What is being called a “major outage” by the European Global Navigation Satellite System (GNSS) Agency, or GSA, highlights the…

2 days ago

How to Change the Projection of a Shapefile Using QGIS

If you know the starting coordinate system or projection of your shapefile, you can quickly export the data into another…

6 days ago

How Refugees are Using GIS to Map Their Geographies and Experiences

Story maps are a powerful tool that tell events and what has happened to those who are displaced.

7 days ago

Analyzing the Benefits of Green Space on Mental Health Using GIS

A recent large-scale study in Denmark combined historical Landsat satellite data and a survey that recorded mental health benefits to…

7 days ago

NASA is Expanding its Worldwide Landslide Data Catalog Using Volunteers

NASA has developed Landslide Reporter as a way to collect as much information as possible about landslides from citizen scientists from around…

7 days ago

Using Remote Sensing to Detect Structural Changes in Bridges

Researchers are using synthetic aperture radar (SAR) collected from satellites to detect structural changes in bridges.

1 week ago