Closed ibnsana closed 4 years ago
So gmt is not installed, of you have installed it but it is not in your system PATH. Did you follow the instructions to install GMT?
Yes, I installed it correctly.
Cloning into '2020-unavco-course'... remote: Enumerating objects: 80, done. remote: Counting objects: 100% (80/80), done. remote: Compressing objects: 100% (72/72), done. remote: Total 80 (delta 19), reused 54 (delta 7), pack-reused 0 Unpacking objects: 100% (80/80), done.
ibsana,
What do you get if you type gmt or psxy in the terminal?
Regards, J. Zurutuza
I get this: -bash: gmt: command not found
Are the gmt executables correctly set in the PATH? Try using find to see where they might be. Seems your installation is not yet done and you need to set some variables.
How can I do that?
@ibnsana What is your operating system and how did you install GMT?
@joa-quim Operating system: Catalina. I installed GMT using git clone command.
So you didn't install GMT yet. You only copied its source code. Next you need to compile it, but that's the hardest route. You should had followed the recommended way, which is to install the .dmg
If the building from source turns out to be a problem we would recommend you just install from the macOS installer which has everything you need. You can always explore building from source later.
Thanks. I installed GMT using macOS installer
OK, closing this issue - please reopen if any more problems.
I'm getting the following error while running ./test_1.sh ./test_1.sh: line 3: gmt: command not found ./test_1.sh: line 4: gmt: command not found ./test_1.sh: line 5: gmt: command not found ./test_1.sh: line 6: gmt: command not found