Installation problem in LINUx

I just want to ask you that how i can install generic mapping tool LINUX.

OS? Need more info.

I see now LINUx in title. Which distro?

If Debian, you could do # apt install gmt, but that’ll give you an old version (6.1.1).

My suggestion would be to build it yourself. This might work:

# apt install build-essential cmake libcurl4-gnutls-dev libnetcdf-dev libgdal-dev gdal-bin libfftw3-dev libpcre3-dev liblapack-dev libblas-dev libglib2.0-dev ghostscript
$ git clone
$ cd gmt
$ mkdir build
$ cmake --build . --parallel $(nproc)
# cmake --build . --target install --parallel $(nproc)

See here for more.