How To Install GMT-devel on Rocky Linux 8

In this tutorial we learn how to install GMT-devel on Rocky Linux 8. GMT-devel is Development files for GMT

Introduction

In this tutorial we learn how to install GMT-devel on Rocky Linux 8.

What is GMT-devel

The GMT-devel package contains libraries and header files for developing applications that use GMT.

We can use yum or dnf to install GMT-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install GMT-devel.

Install GMT-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install GMT-devel using dnf by running the following command:

sudo dnf -y install GMT-devel

Install GMT-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install GMT-devel using yum by running the following command:

sudo yum -y install GMT-devel

How To Uninstall GMT-devel on Rocky Linux 8

To uninstall only the GMT-devel package we can use the following command:

sudo dnf remove GMT-devel

GMT-devel Package Contents on Rocky Linux 8

/usr/include/gmt
/usr/include/gmt/compat
/usr/include/gmt/compat/qsort.h
/usr/include/gmt/config.h
/usr/include/gmt/declspec.h
/usr/include/gmt/gmt.h
/usr/include/gmt/gmt_common.h
/usr/include/gmt/gmt_common_math.h
/usr/include/gmt/gmt_common_string.h
/usr/include/gmt/gmt_config.h
/usr/include/gmt/gmt_constants.h
/usr/include/gmt/gmt_contour.h
/usr/include/gmt/gmt_customio.h
/usr/include/gmt/gmt_dcw.h
/usr/include/gmt/gmt_decorate.h
/usr/include/gmt/gmt_defaults.h
/usr/include/gmt/gmt_dev.h
/usr/include/gmt/gmt_dimensions.h
/usr/include/gmt/gmt_error.h
/usr/include/gmt/gmt_error_codes.h
/usr/include/gmt/gmt_fft.h
/usr/include/gmt/gmt_gdalread.h
/usr/include/gmt/gmt_grd.h
/usr/include/gmt/gmt_grdio.h
/usr/include/gmt/gmt_hash.h
/usr/include/gmt/gmt_hidden.h
/usr/include/gmt/gmt_io.h
/usr/include/gmt/gmt_macros.h
/usr/include/gmt/gmt_mb.h
/usr/include/gmt/gmt_memory.h
/usr/include/gmt/gmt_modern.h
/usr/include/gmt/gmt_nan.h
/usr/include/gmt/gmt_notposix.h
/usr/include/gmt/gmt_plot.h
/usr/include/gmt/gmt_private.h
/usr/include/gmt/gmt_project.h
/usr/include/gmt/gmt_prototypes.h
/usr/include/gmt/gmt_psl.h
/usr/include/gmt/gmt_remote.h
/usr/include/gmt/gmt_resources.h
/usr/include/gmt/gmt_shore.h
/usr/include/gmt/gmt_symbol.h
/usr/include/gmt/gmt_synopsis.h
/usr/include/gmt/gmt_texture.h
/usr/include/gmt/gmt_time.h
/usr/include/gmt/gmt_types.h
/usr/include/gmt/gmt_version.h
/usr/include/gmt/gshhg
/usr/include/gmt/gshhg/gmt_gshhg.h
/usr/include/gmt/gshhg/gshhg.h
/usr/include/gmt/mgd77
/usr/include/gmt/mgd77/cm4_functions.h
/usr/include/gmt/mgd77/mgd77.h
/usr/include/gmt/mgd77/mgd77_IGF_coeffs.h
/usr/include/gmt/mgd77/mgd77_codes.h
/usr/include/gmt/mgd77/mgd77_e77.h
/usr/include/gmt/mgd77/mgd77_functions.h
/usr/include/gmt/mgd77/mgd77_init.h
/usr/include/gmt/mgd77/mgd77_recalc.h
/usr/include/gmt/mgd77/mgd77_rls_coeffs.h
/usr/include/gmt/mgd77/mgd77defaults.h
/usr/include/gmt/mgd77/mgd77magref.h
/usr/include/gmt/mgd77/mgd77sniffer.h
/usr/include/gmt/mgd77/mgd77snifferdefaults.h
/usr/include/gmt/postscriptlight.h
/usr/include/gmt/potential
/usr/include/gmt/potential/okbfuns.h
/usr/include/gmt/potential/talwani.h
/usr/include/gmt/psl_config.h
/usr/include/gmt/segy
/usr/include/gmt/segy/segy.h
/usr/include/gmt/segy/segy_io.h
/usr/include/gmt/segy/segyreel.h
/usr/include/gmt/seis
/usr/include/gmt/seis/meca.h
/usr/include/gmt/seis/sacio.h
/usr/include/gmt/seis/utilmeca.h
/usr/include/gmt/spotter
/usr/include/gmt/spotter/spotter.h
/usr/include/gmt/x2sys
/usr/include/gmt/x2sys/x2sys.h
/usr/lib64/libgmt.so
/usr/lib64/libpostscriptlight.so

References

Summary

In this tutorial we learn how to install GMT-devel on Rocky Linux 8 using yum and dnf.