Gnuplot

Discussion in 'Mac Programming' started by ellie:), Jan 7, 2010.

  1. ellie:) macrumors newbie

    Joined:
    Jan 7, 2010
    #1
    Hi there, I just installed gnuplot this morning and everything went well. However, when I try to use it again at night.. It is GONE.. :eek:
    I don't know why.. and when I tried to type " sudo port install gnuplot"
    it says "sudo: port: command not found" . :(
     
  2. seepel macrumors 6502

    seepel

    Joined:
    Dec 22, 2009
    #2
    Maybe /opt/local/bin isn't making it into your path for some reason?

    Code:
    echo $PATH
    Here's mine

    Code:
    /Users/myusername/bin:/local/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    
    You can see /opt/local/bin is the third one. You could also try

    Code:
    ls /opt/local/bin
    to see if port is in there. And finally you could also run it with the full path

    Code:
    /opt/local/bin/port install gnuplot
     
  3. ellie:) thread starter macrumors newbie

    Joined:
    Jan 7, 2010
    #3
    After typing "echo $PATH"
    this is the thing I got -> "/bin:/sbin:/usr/bin:/usr/sbin "

    :confused:
     

Share This Page