How To Install GeographicLib-devel on Rocky Linux 8

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

Introduction

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

What is GeographicLib-devel

This package contains the header files and libraries for GeographicLib. If you like to develop programs using GeographicLib, you will need to install GeographicLib-devel.

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

Install GeographicLib-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 GeographicLib-devel using dnf by running the following command:

sudo dnf -y install GeographicLib-devel

Install GeographicLib-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 GeographicLib-devel using yum by running the following command:

sudo yum -y install GeographicLib-devel

How To Uninstall GeographicLib-devel on Rocky Linux 8

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

sudo dnf remove GeographicLib-devel

GeographicLib-devel Package Contents on Rocky Linux 8

/usr/include/GeographicLib
/usr/include/GeographicLib/Accumulator.hpp
/usr/include/GeographicLib/AlbersEqualArea.hpp
/usr/include/GeographicLib/AzimuthalEquidistant.hpp
/usr/include/GeographicLib/CassiniSoldner.hpp
/usr/include/GeographicLib/CircularEngine.hpp
/usr/include/GeographicLib/Config.h
/usr/include/GeographicLib/Constants.hpp
/usr/include/GeographicLib/DMS.hpp
/usr/include/GeographicLib/Ellipsoid.hpp
/usr/include/GeographicLib/EllipticFunction.hpp
/usr/include/GeographicLib/GARS.hpp
/usr/include/GeographicLib/GeoCoords.hpp
/usr/include/GeographicLib/Geocentric.hpp
/usr/include/GeographicLib/Geodesic.hpp
/usr/include/GeographicLib/GeodesicExact.hpp
/usr/include/GeographicLib/GeodesicLine.hpp
/usr/include/GeographicLib/GeodesicLineExact.hpp
/usr/include/GeographicLib/Geohash.hpp
/usr/include/GeographicLib/Geoid.hpp
/usr/include/GeographicLib/Georef.hpp
/usr/include/GeographicLib/Gnomonic.hpp
/usr/include/GeographicLib/GravityCircle.hpp
/usr/include/GeographicLib/GravityModel.hpp
/usr/include/GeographicLib/LambertConformalConic.hpp
/usr/include/GeographicLib/LocalCartesian.hpp
/usr/include/GeographicLib/MGRS.hpp
/usr/include/GeographicLib/MagneticCircle.hpp
/usr/include/GeographicLib/MagneticModel.hpp
/usr/include/GeographicLib/Math.hpp
/usr/include/GeographicLib/NearestNeighbor.hpp
/usr/include/GeographicLib/NormalGravity.hpp
/usr/include/GeographicLib/OSGB.hpp
/usr/include/GeographicLib/PolarStereographic.hpp
/usr/include/GeographicLib/PolygonArea.hpp
/usr/include/GeographicLib/Rhumb.hpp
/usr/include/GeographicLib/SphericalEngine.hpp
/usr/include/GeographicLib/SphericalHarmonic.hpp
/usr/include/GeographicLib/SphericalHarmonic1.hpp
/usr/include/GeographicLib/SphericalHarmonic2.hpp
/usr/include/GeographicLib/TransverseMercator.hpp
/usr/include/GeographicLib/TransverseMercatorExact.hpp
/usr/include/GeographicLib/UTMUPS.hpp
/usr/include/GeographicLib/Utility.hpp
/usr/lib64/cmake/GeographicLib
/usr/lib64/cmake/GeographicLib/geographiclib-config-version.cmake
/usr/lib64/cmake/GeographicLib/geographiclib-config.cmake
/usr/lib64/cmake/GeographicLib/geographiclib-namespace-targets-release.cmake
/usr/lib64/cmake/GeographicLib/geographiclib-namespace-targets.cmake
/usr/lib64/cmake/GeographicLib/geographiclib-targets-release.cmake
/usr/lib64/cmake/GeographicLib/geographiclib-targets.cmake
/usr/lib64/libGeographic.so
/usr/lib64/pkgconfig/geographiclib.pc

References

Summary

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