# GMT installation in Fedora 35

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-installation-in-fedora-35/2747>\
**Category:** Q&A\
**Created:** [March 30, 2022, 7:31am UTC](https://forum.generic-mapping-tools.org/t/gmt-installation-in-fedora-35/2747 "2022-03-30T07:31:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arpi](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Arpi](https://forum.generic-mapping-tools.org/u/Arpi)\
**Post date:** [March 30, 2022, 7:31am UTC](https://forum.generic-mapping-tools.org/t/gmt-installation-in-fedora-35/2747/1 "2022-03-30T07:31:24Z")

</div>

**Hi, I have followed the steps to install GMT 6.3.0 in my Fedora 35 os following the steps mentioned in "[https://github.com/GenericMappingTools/gmt/blob/master/INSTALL.md](https://github.com/GenericMappingTools/gmt/blob/master/INSTALL.md)"**

**After successful installation of the GMT, I tried to use the GMT command “psxy” on my command prompt but I am receiving a counter message "bash: psxy: command not found…"**

but if I am getting the answers to the following queries through the portal :  
“which gmt” : “/usr/bin/gmt”  
“whereis gmt” : “gmt: /usr/bin/gmt /usr/lib64/gmt /usr/include/gmt /usr/share/gmt”  
“gmt --version”:6.3.0

This is how my .basrc file is at present. Please let me know whether any modification is needed in order to run the GMT in my Fedora

_# .bashrc_

_# Source global definitions_  
_if [-f /etc/bashrc]; then_

- . /etc/bashrc\*  
_fi_  
_export SACHOME=/usr/local/sac_  
_export SACAUX=${SACHOME}/aux_  
_export PATH=${PATH}:${SACHOME}/bin_  
_export SACLIB=/usr/local/sac/lib/libsacio.a_  
_export TERM=vt100_  
_export TAUP\_HOME=/usr/local/TauP-2.6.0_  
_#export GMT\_INC=/usr/local/GMT4.0/include_  
_#export GMT\_LIBS=/usr/local/GMT4.0/lib_

_LD\_LIBRARY\_PATH=/usr/local/seismo/LIB_  
_SEISAN\_TOP=/usr/local/seismo_  
_SEISAN\_RES=/usr/local/seismo_  
_SEISAN\_EDITOR=gedit_  
_SEISARCH=linux_  
_#GMT\_INC=/usr/local/gmt-5.3.1/include_  
_#GMT\_LIBS=/usr/local/gmt-5.3.1/lib_  
_# User specific environment_  
_if ! [[“$PATH” =~ “$HOME/.local/bin:$HOME/bin”]]_  
_then_

- PATH=$HOME/.local/bin:$HOME/bin:$PATH:$SACAUX:$SACLIB:$SEISAN\_TOP/PRO:$SEISAN\_TOP/COM:$TAUP\_HOME/bin:/usr/local/RFTNCODE/bin:/usr/local/RFTNCODE/IterDecon:/usr/local/hk\*  
_fi_  
\*export PATH \*

_# Uncomment the following line if you don’t like systemctl’s auto-paging feature:_  
_# export SYSTEMD\_PAGER=_

_# User specific aliases and functions_

Thank you.

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [March 30, 2022, 8:23am UTC](https://forum.generic-mapping-tools.org/t/gmt-installation-in-fedora-35/2747/2 "2022-03-30T08:23:38Z")

</div>

If you wish to run old GMT4 scripts that do no start with “gmt” then see the [migration](https://docs.generic-mapping-tools.org/latest/migrating.html) information.
