LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2010, 02:28 PM   #31
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

Can you please post the output of:
Code:
ls -l /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin
echo $PATH
which grdinfo
grdinfo
Evo2.
 
Old 02-25-2010, 02:40 PM   #32
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
Here you go:

Code:
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin
ls: cannot access /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin: No such file or directory
alex@ubuntu:~$ echo $PATH
/home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
alex@ubuntu:~$ which grdinfo
alex@ubuntu:~$ grdinfo
grdinfo: command not found
alex@ubuntu:~$
Alex
 
Old 02-25-2010, 02:44 PM   #33
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
Sorry entered wrong directory.

Code:
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMT/GMT4.5.2/bin/
total 105872
-rwxr-xr-x 1 alex alex  807572 2010-02-24 21:11 backtracker
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 binlegs
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 blockmean
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 blockmedian
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 blockmode
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 dat2gmt
-rwxr-xr-x 1 alex alex  823964 2010-02-24 21:11 dimfilter
-rwxr-xr-x 1 alex alex  823956 2010-02-24 21:11 filter1d
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 fitcircle
-rwxr-xr-x 1 alex alex    7494 2010-02-24 21:11 GMT
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 gmt2bin
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 gmt2dat
-rwxr-xr-x 1 alex alex  803476 2010-02-24 21:11 gmt2kml
-rwxr-xr-x 1 alex alex  877244 2010-02-24 21:11 gmt2rgb
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 gmtconvert
-rwxr-xr-x 1 alex alex  778900 2010-02-24 21:11 gmtdefaults
-rwxr-xr-x 1 alex alex  791220 2010-02-24 21:11 gmtdigitize
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 gmtdp
-rwxr-xr-x 1 alex alex     255 2010-02-24 21:11 gmtget
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 gmtinfo
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 gmtlegs
-rwxr-xr-x 1 alex alex  799380 2010-02-24 21:11 gmtlist
-rwxr-xr-x 1 alex alex    3149 2010-02-24 21:11 gmtlogo
-rwxr-xr-x 1 alex alex  894196 2010-02-24 21:11 gmtmath
-rwxr-xr-x 1 alex alex  787092 2010-02-24 21:11 gmtpath
-rwxr-xr-x 1 alex alex  819860 2010-02-24 21:11 gmtselect
-rwxr-xr-x 1 alex alex  778900 2010-02-24 21:11 gmtset
-rwxr-xr-x 1 alex alex    2272 2010-02-24 21:11 gmt_shell_functions.sh
-rwxr-xr-x 1 alex alex  795284 2010-02-24 21:11 gmtstitch
-rwxr-xr-x 1 alex alex  998804 2010-02-24 21:11 gmttrack
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grd2cpt
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grd2xyz
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grdblend
-rwxr-xr-x 1 alex alex  783004 2010-02-24 21:11 grdclip
-rwxr-xr-x 1 alex alex  998812 2010-02-24 21:11 grdcontour
-rwxr-xr-x 1 alex alex  783004 2010-02-24 21:11 grdcut
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grdedit
-rwxr-xr-x 1 alex alex  803484 2010-02-24 21:11 grdfft
-rwxr-xr-x 1 alex alex  823964 2010-02-24 21:11 grdfilter
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 grdgradient
-rwxr-xr-x 1 alex alex  811676 2010-02-24 21:11 grdhisteq
-rwxr-xr-x 1 alex alex  990620 2010-02-24 21:11 grdimage
-rwxr-xr-x 1 alex alex  795388 2010-02-24 21:11 grdinfo
-rwxr-xr-x 1 alex alex  811676 2010-02-24 21:11 grdlandmask
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 grdmask
-rwxr-xr-x 1 alex alex  898332 2010-02-24 21:11 grdmath
-rwxr-xr-x 1 alex alex  783004 2010-02-24 21:11 grdpaste
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 grdproject
-rwxr-xr-x 1 alex alex  799388 2010-02-24 21:11 grdraster
-rwxr-xr-x 1 alex alex  783004 2010-02-24 21:11 grdreformat
-rwxr-xr-x 1 alex alex  811676 2010-02-24 21:11 grdrotater
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grdsample
-rwxr-xr-x 1 alex alex  819868 2010-02-24 21:11 grdspotter
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grdtrack
-rwxr-xr-x 1 alex alex  787100 2010-02-24 21:11 grdtrend
-rwxr-xr-x 1 alex alex  986524 2010-02-24 21:11 grdvector
-rwxr-xr-x 1 alex alex 1019292 2010-02-24 21:11 grdview
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 grdvolume
-rwxr-xr-x 1 alex alex  848540 2010-02-24 21:11 greenspline
-rwxr-xr-x 1 alex alex    9660 2010-02-24 21:11 gshhs
-rwxr-xr-x 1 alex alex    9668 2010-02-24 21:11 gshhs_dp
-rwxr-xr-x 1 alex alex   13828 2010-02-24 21:11 gshhstograss
-rwxr-xr-x 1 alex alex  807580 2010-02-24 21:11 hotspotter
-rwxr-xr-x 1 alex alex    6557 2010-02-24 21:11 img2google
-rwxr-xr-x 1 alex alex    4890 2010-02-24 21:11 img2grd
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 img2mercgrd
-rwxr-xr-x 1 alex alex    1186 2010-02-24 21:11 isogmt
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 kml2gmt
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 makecpt
-rwxr-xr-x 1 alex alex  869044 2010-02-24 21:11 makepattern
-rwxr-xr-x 1 alex alex  803476 2010-02-24 21:11 mapproject
-rwxr-xr-x 1 alex alex  992884 2010-02-24 21:11 mgd77convert
-rwxr-xr-x 1 alex alex 1046420 2010-02-24 21:11 mgd77info
-rwxr-xr-x 1 alex alex 1025652 2010-02-24 21:11 mgd77list
-rwxr-xr-x 1 alex alex 1001076 2010-02-24 21:11 mgd77magref
-rwxr-xr-x 1 alex alex 1029756 2010-02-24 21:11 mgd77manage
-rwxr-xr-x 1 alex alex  992884 2010-02-24 21:11 mgd77path
-rwxr-xr-x 1 alex alex 1111676 2010-02-24 21:11 mgd77sniffer
-rwxr-xr-x 1 alex alex  799380 2010-02-24 21:11 mgd77togmt
-rwxr-xr-x 1 alex alex 1204564 2010-02-24 21:11 mgd77track
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 minmax
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 nc2xy
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 nearneighbor
-rwxr-xr-x 1 alex alex  807572 2010-02-24 21:11 originator
-rwxr-xr-x 1 alex alex  799380 2010-02-24 21:11 project
-rwxr-xr-x 1 alex alex  807604 2010-02-24 21:11 ps2raster
-rwxr-xr-x 1 alex alex  982420 2010-02-24 21:11 psbasemap
-rwxr-xr-x 1 alex alex    1101 2010-02-24 21:11 psbbox.sh
-rwxr-xr-x 1 alex alex  982420 2010-02-24 21:11 psclip
-rwxr-xr-x 1 alex alex 1023380 2010-02-24 21:11 pscoast
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 pscontour
-rwxr-xr-x 1 alex alex 1031572 2010-02-24 21:11 pscoupe
-rwxr-xr-x 1 alex alex 1015188 2010-02-24 21:11 pshistogram
-rwxr-xr-x 1 alex alex  982420 2010-02-24 21:11 psimage
-rwxr-xr-x 1 alex alex  885428 2010-02-24 21:11 pslegend
-rwxr-xr-x 1 alex alex  994716 2010-02-24 21:11 psmask
-rwxr-xr-x 1 alex alex 1023380 2010-02-24 21:11 psmeca
-rwxr-xr-x 1 alex alex  778900 2010-02-24 21:11 psmegaplot
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 pspolar
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 psrose
-rwxr-xr-x 1 alex alex  998804 2010-02-24 21:11 psscale
-rwxr-xr-x 1 alex alex  990612 2010-02-24 21:11 pssegy
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 pssegyz
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 pstext
-rwxr-xr-x 1 alex alex  994708 2010-02-24 21:11 psvelo
-rwxr-xr-x 1 alex alex  990612 2010-02-24 21:11 pswiggle
-rwxr-xr-x 1 alex alex 1006996 2010-02-24 21:11 psxy
-rwxr-xr-x 1 alex alex 1006996 2010-02-24 21:11 psxyz
-rwxr-xr-x 1 alex alex  803476 2010-02-24 21:11 rotconverter
-rwxr-xr-x 1 alex alex  787092 2010-02-24 21:11 sample1d
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 segy2grd
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 spectrum1d
-rwxr-xr-x 1 alex alex  942599 2010-02-24 21:11 sphdistance
-rwxr-xr-x 1 alex alex  938432 2010-02-24 21:11 sphinterpolate
-rwxr-xr-x 1 alex alex  946720 2010-02-24 21:11 sphtriangulate
-rwxr-xr-x 1 alex alex  791188 2010-02-24 21:11 splitxyz
-rwxr-xr-x 1 alex alex  807580 2010-02-24 21:11 surface
-rwxr-xr-x 1 alex alex  819860 2010-02-24 21:11 trend1d
-rwxr-xr-x 1 alex alex  819860 2010-02-24 21:11 trend2d
-rwxr-xr-x 1 alex alex  791196 2010-02-24 21:11 triangulate
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_binlist
-rwxr-xr-x 1 alex alex 1050260 2010-02-24 21:11 x2sys_cross
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_datalist
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_get
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_init
-rwxr-xr-x 1 alex alex 1050260 2010-02-24 21:11 x2sys_list
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 x2sys_merge
-rwxr-xr-x 1 alex alex 1037972 2010-02-24 21:11 x2sys_put
-rwxr-xr-x 1 alex alex 1042068 2010-02-24 21:11 x2sys_report
-rwxr-xr-x 1 alex alex 1046164 2010-02-24 21:11 x2sys_solve
-rwxr-xr-x 1 alex alex  778892 2010-02-24 21:11 x_edit
-rwxr-xr-x 1 alex alex    5552 2010-02-24 21:11 x_init
-rwxr-xr-x 1 alex alex   13772 2010-02-24 21:11 x_list
-rwxr-xr-x 1 alex alex  803476 2010-02-24 21:11 x_over
-rwxr-xr-x 1 alex alex    9676 2010-02-24 21:11 x_remove
-rwxr-xr-x 1 alex alex    5556 2010-02-24 21:11 x_report
-rwxr-xr-x 1 alex alex  782996 2010-02-24 21:11 x_setup
-rwxr-xr-x 1 alex alex   17892 2010-02-24 21:11 x_solve_dc_drift
-rwxr-xr-x 1 alex alex   13852 2010-02-24 21:11 x_update
-rwxr-xr-x 1 alex alex  795292 2010-02-24 21:11 xyz2grd
alex@ubuntu:~$
 
Old 02-25-2010, 02:46 PM   #34
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by a13x06 View Post
Code:
alex@ubuntu:~$ ls -l /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin
ls: cannot access /home/alex/Documents/Earth_Vis/GMTGMT4.5.2/bin: No such file or directory
Ok, so where did you install it? Wherever you installed it is what needs to be set in the PATH.

Evo2.
 
Old 02-25-2010, 02:47 PM   #35
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Ok, you made the same typo in your .bashrc

Please fix that then it should work.

Evo2.
 
Old 02-25-2010, 02:52 PM   #36
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
That's done the trick!!!

Thank you so much for your help and for putting up with me being a total noobie!!

All the best,

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Self-Installing Software wesireal Linux - General 2 01-08-2005 04:57 PM
Installing software K_smolka Linux - Software 4 03-11-2004 01:24 PM
I need help installing software. galant1991vr4 Linux - Newbie 4 02-02-2004 07:21 PM
Installing software in RH SirLostalot Linux - Newbie 2 11-09-2002 05:55 PM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 11:40 AM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration