How To Install proj-devel on Rocky Linux 8

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

Introduction

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

What is proj-devel

This package contains libproj and the appropriate header files and man pages.

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

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

sudo dnf -y install proj-devel

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

sudo yum -y install proj-devel

How To Uninstall proj-devel on Rocky Linux 8

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

sudo dnf remove proj-devel

proj-devel Package Contents on Rocky Linux 8

/usr/include/geodesic.h
/usr/include/org_proj4_PJ.h
/usr/include/proj
/usr/include/proj.h
/usr/include/proj/common.hpp
/usr/include/proj/coordinateoperation.hpp
/usr/include/proj/coordinatesystem.hpp
/usr/include/proj/crs.hpp
/usr/include/proj/datum.hpp
/usr/include/proj/io.hpp
/usr/include/proj/metadata.hpp
/usr/include/proj/nn.hpp
/usr/include/proj/util.hpp
/usr/include/proj_api.h
/usr/include/proj_constants.h
/usr/include/proj_experimental.h
/usr/include/proj_symbol_rename.h
/usr/lib64/libproj.so
/usr/lib64/pkgconfig/proj.pc
/usr/share/cmake/Modules/FindPROJ4.cmake
/usr/share/man/man3/geodesic.3.gz
/usr/share/man/man3/pj_init.3.gz
/usr/share/proj/projjson.schema.json

References

Summary

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