How To Install proj-static on Rocky Linux 8

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

Introduction

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

What is proj-static

This package contains libproj static library.

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

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

sudo dnf -y install proj-static

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

sudo yum -y install proj-static

How To Uninstall proj-static on Rocky Linux 8

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

sudo dnf remove proj-static

proj-static Package Contents on Rocky Linux 8

/usr/lib64/libproj.a
/usr/lib64/libproj.la

References

Summary

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