Software Tools Home > Get Tools

ASF SAR Training Processor Installation Guide


Table of Contents
Obtaining and Installing the Tool
     Windows Installation
     Linux Installation
     Source Installation
Contacting us

Obtaining and Installing the Tool

Before downloading, you'll be asked on which operating system you intend to run STP. How you install the tool depends on which operating system you selected. Windows packages come with an installer, Linux packages come as an RPM, and Source packages contain source code with an autoconf-style configure script.

Windows Installation

The Windows package contains just a single file, the installer.

To install, you just need to open up the archive file that you downloaded (double-clicking on it will open it), and then run the installer program contained within.

After installation, you will have a start-menu shortcut that you can use to run the SAR Training Processor.

Linux Installation

To install the RPM, you need to have root access. If you don't, you'll need to persurade your system administrator to install the package for you. If that isn't feasible or you don't want to, you can instead download the Source package, and compile the tools yourself, where you can install them in your own home directory without requiring root privileges.

To install the package: (Do this as root)

rpm -i stp-X.X.X.rpm

(Or course you need to replace the X's with whatever version you downloaded, for example: "rpm -i stp-1.0.13-1.rpm")

After the package is installed, you can find out where it was put by using this rpm command, which does not require root access:

rpm -ql stp | grep stp

You should see something like the following:

/usr/local/bin/stp

which tells you that the package has been installed in /usr/local, which is the default.

This directory needs to be added to your path, in order to run the tools. Exactly how you do this depends on which UNIX shell you are using.

For example, suppose you've installed the software in /opt/asf_tools. For bash or the like, add these lines to your ~/.profile or ~/.bashrc file:

export PATH=/opt/asf_tools/bin:$PATH

For csh or the like, add this line to your ~/.cshrc file:

setenv PATH /opt/asf_tools/bin:$PATH

If you've gone with the default installation location of /usr/local, you may already have /usr/local/bin in your path, in which case you don't need to do anything.

Source Installation

After you've downloaded and extracted the archive, you need to compile the tools before they can be installed. To do this, make sure you're in the asf_tools directory, then:

./configure --prefix=[[installation location]]
make
make install

You will need permissions to put files into [[installation location]]! The default is /usr/local.

For example, to install the tools in "asf_tools" folder of your home directory:

./configure --prefix=~/asf_tools
make
make install


CONTACTING US

If you have any questions or comments about this software, please feel to contact us via any of the following routes. We would love to hear from you!

E-mail: uso@asf.alaska.edu
Website: http://www.asf.alaska.edu
Online forum: https://forum.asf.alaska.edu
Physical address:
       Alaska Satellite Facility
       Geophysical Institute
       University of Alaska Fairbanks
       P.O. Box 757320
       Fairbanks, AK 99775-7320