Skip to content

AFNI and NIfTI Server for NIMH/NIH/PHS/DHHS/USA/Earth

Sections
Personal tools
You are here: Home » AFNI » Documentation » FAQs » I installed the AFNI package, but when I try to run a program, I get a 'not found' message!

I installed the AFNI package, but when I try to run a program, I get a 'not found' message!

Document Actions
Up to table of contents

Q43. I installed the AFNI package, but when I try to run a program, I get a 'not found' message!
Your problem is that the shell you are using is not finding the program you are trying to run. After you compile the AFNI binaries (or unpack them from one of the binary distributions), you need to install them in a place in the list of directories that the system searches for executable files. This list is called your "path". If you are using the shell csh or tcsh, you can add a directory to the path the system gives you with a command like
  set path = ( $path /new/directory/name )
If you are using the Bourne or Korn shells (sh, bash, or ksh), the equivalent action is
  PATH=${PATH}:/new/directory/name ; export PATH
Normally you would put such commands in the shell startup file in your home directory (.cshrc, .profile, or .bashrc, depending on your shell). This file contains a list of commands that will be executed when the shell starts. Note that editing this startup file will not cause the file to be re-executed, so the path will not change immediately. For this to happen, you will have to logout and login again, or otherwise start a new shell.

The "shell" is the program that you are typing into when you issue commands explicitly (rather than by pointing and clicking). It handles things like wildcard expansions, environment variable settings, etc. You should probably become familiar with the capabilities of your shell by reading the Unix man page for it (print it out and use it for bedtime reading).

This FAQ applies to: Any version.

Created by Robert Cox
Last modified 2005-07-31 23:38
 

Powered by Plone

This site conforms to the following standards: