Install dependencies on Fedora - GenericMappingTools/gmt GitHub Wiki

For Fedora, there are prepackaged development binaries available. Install the GMT dependencies with:

# Install necessary dependencies
sudo dnf install cmake libcurl-devel netcdf-devel gdal-devel 

# Install optional dependencies
sudo dnf install ninja-build gdal pcre-devel fftw3-devel lapack-devel openblas-devel glib2-devel ghostscript

# to enable movie-making
# ffmpeg is provided by [rmpfusion](https://rpmfusion.org/)
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-`rpm -E %fedora`.noarch.rpm
sudo dnf install GraphicsMagick ffmpeg

# to enable document viewing via gmt docs
sudo dnf install xdg-utils

# to enable testing
sudo dnf install GraphicsMagick

# to build the documentation
sudo dnf install python-sphinx