How To Install proj on CentOS 8
Introduction
In this tutorial we learn how to install proj
on CentOS 8.
What is proj
Proj and invproj perform respective forward and inverse transformation of cartographic data to or from cartesian data with a wide range of selectable projection functions.
We can use yum
or dnf
to install proj
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install proj.
Install proj on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install proj
using dnf
by running the following command:
sudo dnf -y install proj
Install proj on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install proj
using yum
by running the following command:
sudo yum -y install proj
How To Uninstall proj on CentOS 8
To uninstall only the proj
package we can use the following command:
sudo dnf remove proj
proj Package Contents on CentOS 8
/usr/bin/cct
/usr/bin/cs2cs
/usr/bin/geod
/usr/bin/gie
/usr/bin/invgeod
/usr/bin/invproj
/usr/bin/proj
/usr/bin/projinfo
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/4337d965552e04a883bc36289058a9dd888a3f
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/062b9ff0d69792b7e3e728906f1c7c1d314a5f
/usr/lib/.build-id/57
/usr/lib/.build-id/57/084956e766ad905176157c0a51647a7c96c0e4
/usr/lib/.build-id/77
/usr/lib/.build-id/77/e0042e72c3f72426c67f523c00bcf5780f8a43
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/133a20647aba1f725167f4b9df46fe5cd129ab
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/a27c39fbae10f34d1bf65d348d7b57991a79b1
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/660cd1e7c69b3ae15a6475967b2ed0c2e762ab
/usr/lib64/libproj.so.15
/usr/lib64/libproj.so.15.3.2
/usr/share/doc/proj
/usr/share/doc/proj/AUTHORS
/usr/share/doc/proj/ChangeLog
/usr/share/doc/proj/NEWS
/usr/share/doc/proj/README
/usr/share/licenses/proj
/usr/share/licenses/proj/COPYING
/usr/share/man/man1/cct.1.gz
/usr/share/man/man1/cs2cs.1.gz
/usr/share/man/man1/geod.1.gz
/usr/share/man/man1/gie.1.gz
/usr/share/man/man1/proj.1.gz
/usr/share/man/man1/projinfo.1.gz
/usr/share/proj
/usr/share/proj/CH
/usr/share/proj/GL27
/usr/share/proj/ITRF2000
/usr/share/proj/ITRF2008
/usr/share/proj/ITRF2014
/usr/share/proj/nad.lst
/usr/share/proj/nad27
/usr/share/proj/nad83
/usr/share/proj/null
/usr/share/proj/other.extra
/usr/share/proj/proj.db
/usr/share/proj/world
References
Summary
In this tutorial we learn how to install proj
on CentOS 8 using yum and dnf.