-
Notifications
You must be signed in to change notification settings - Fork 359
Install dependencies on RHEL and CentOS
Dongdong Tian edited this page Feb 13, 2020
·
11 revisions
For RHEL and CentOS, GMT's dependencies are available from Extra Packages for Enterprise Linux. You can add this repository by telling yum:
sudo yum install epel-release
You then can install the GMT dependencies with:
# Install necessary dependencies
sudo yum install cmake libcurl-devel netcdf-devel
# Install optional dependencies
sudo yum install gdal gdal-devel pcre-devel fftw3-devel lapack-devel openblas-devel glib2-devel ghostscript
# to enable movie-making
# ffmpeg is provided by [rmpfusion](https://rpmfusion.org/)
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-`rpm -E %rhel`.noarch.rpm
sudo yum install GraphicsMagick ffmpeg
# to enable document viewing via gmt docs
sudo yum install xdg-utils
# to enable testing
sudo yum install GraphicsMagick
# to build the documentation
sudo yum install python-sphinx