[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040716:installing NetCDF-3.5.1 on RedHat Linux 9



Arindam,

>Date: Fri, 16 Jul 2004 21:18:42 +0530 (IST)
>From: Arindam Ghosh <address@hidden>
>Organization: Indian Statistical Institute
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20040715:installing NetCDF-3.5.1 on RedHat Linux 9 
> Keywords: 200407151411.i6FEBIaW022745

The above message contained the following:

>      Thanks for the detailed email.As I've very little knowledge about 
> Linux, still I'm lettle bit confused: how to add the directory 
> "/root/netCDF/man" to the environment variable MANPATH ? 
> 
> "MANPATH=$MANPATH:/root/netcdf/man" is it correct?

IF the environment variable MANPATH is already defined AND you are using
a standard-conforming shell, then the above will work.  You can verify
that MANPATH is already defined by the command

    env | grep MANPATH

If it prints something, then the MANPATH environment variable is
defined.

You can verify that your user-shell is standard-conforming by the
command

    FOO=BAR eval 'echo $FOO'

which should print "BAR".

> another thing: should we add the path from /root ( for user "root") or 
> from /home/users (for user "users")?

I'm not sure what you're asking.  Environment variables exist in the
environment of each user and are specific to each user.  If a user wants
to access the manual pages for the netCDF package, then that user should
have "/root/netCDF/man" (the location of the netCDF manual pages) in
their MANPATH environment variable.

I suggest that you read a book on Linux or UNIX.

> Looking forward for your kind reply.
> With regards,
> Arindam

Regards,
Steve Emmerson