How To Install proj on Fedora 34

proj is Cartographic projection software (PROJ) Cartographic projection software (PROJ)

Introduction

In this tutorial we learn how to install proj on Fedora 34.

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. proj 7.2.1 2.fc34 x86_64 2.6 M proj-7.2.1-2.fc34.src.rpm fedora Cartographic projection software (PROJ) https MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install proj.

Install proj on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove proj

proj Package Contents on Fedora 34

/usr/bin/cct
/usr/bin/cs2cs
/usr/bin/geod
/usr/bin/gie
/usr/bin/proj
/usr/bin/projinfo
/usr/bin/projsync
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/9f9f1a639e8ba2519bf04bf5dc483867d44fcb
/usr/lib/.build-id/38
/usr/lib/.build-id/38/e7a461aa5c8ed4a0c388b20bb0d73657d0c25e
/usr/lib/.build-id/51
/usr/lib/.build-id/51/073d41558a40616c6d1777d52103893bfce1fe
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/25908d49108ec639a8bf9ae0af51df13c74340
/usr/lib/.build-id/75
/usr/lib/.build-id/75/4c172ae351ada09bed2075cec559bcd66b2b3c
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/4d74bbdd5d9bd29e91e823117fb7ada72d5e1e
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/0502979517d47d72d0120cd9ddee6568f2411b
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/a35ecd38311f929a910c17a9789e211669b676
/usr/lib/libproj.so.19
/usr/lib/libproj.so.21.1.2
/usr/share/doc/proj
/usr/share/doc/proj/AUTHORS
/usr/share/doc/proj/NEWS
/usr/share/doc/proj/README.md
/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/man/man1/projsync.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/README.DATA
/usr/share/proj/copyright_and_licenses.csv
/usr/share/proj/deformation_model.schema.json
/usr/share/proj/nad.lst
/usr/share/proj/nad27
/usr/share/proj/nad83
/usr/share/proj/other.extra
/usr/share/proj/proj.db
/usr/share/proj/proj.ini
/usr/share/proj/projjson.schema.json
/usr/share/proj/triangulation.schema.json
/usr/share/proj/world
/usr/bin/cct
/usr/bin/cs2cs
/usr/bin/geod
/usr/bin/gie
/usr/bin/proj
/usr/bin/projinfo
/usr/bin/projsync
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/e0c424435bae9bad8adf3c18744fb17af0d1f0
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/d7da100e8ba100c14d1e6f07337c876eaa6553
/usr/lib/.build-id/38
/usr/lib/.build-id/38/0cf6aa1e818dc03eebcc5b2c2acdbf3b738a83
/usr/lib/.build-id/49
/usr/lib/.build-id/49/518bd7a723fdbe45cc89831a671a82a0838441
/usr/lib/.build-id/62
/usr/lib/.build-id/62/7eb7c3a6edd6eb1ba6f226fe06313c0f022cfc
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/09eb1d6190b94873c8912185dddf56fa4239ba
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/da1c5ec9d5e5103774ba737d23e7520df8cb4b
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/69c958595066639959407b026123b7a0d80a80
/usr/lib64/libproj.so.19
/usr/lib64/libproj.so.21.1.2
/usr/share/doc/proj
/usr/share/doc/proj/AUTHORS
/usr/share/doc/proj/NEWS
/usr/share/doc/proj/README.md
/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/man/man1/projsync.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/README.DATA
/usr/share/proj/copyright_and_licenses.csv
/usr/share/proj/deformation_model.schema.json
/usr/share/proj/nad.lst
/usr/share/proj/nad27
/usr/share/proj/nad83
/usr/share/proj/other.extra
/usr/share/proj/proj.db
/usr/share/proj/proj.ini
/usr/share/proj/projjson.schema.json
/usr/share/proj/triangulation.schema.json
/usr/share/proj/world

References

Summary

In this tutorial we learn how to install proj on Fedora 34 using yum and dnf.