How To Install GeographicLib on Fedora 34
Introduction
In this tutorial we learn how to install GeographicLib
on Fedora 34.
What is GeographicLib
GeographicLib is a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local Cartesian coordinates, for gravity (e.g., EGM2008), geoid height and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems. The emphasis is on returning accurate results with errors close to round-off (about 5–15 nanometers). New accurate algorithms for Geodesics on an ellipsoid of revolution and Transverse Mercator projection have been developed for this library. The functionality of the library can be accessed from user code, from the Utility programs provided, or via the Implementations in other languages. GeographicLib 1.51 2.fc34 x86_64 495 k GeographicLib-1.51-2.fc34.src.rpm fedora Library for geographic coordinate transformations http MIT GeographicLib is a small set of C++ classes for performing conversions between geographic, UTM, UPS, MGRS, geocentric, and local Cartesian coordinates, for gravity (e.g., EGM2008), geoid height and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems. The emphasis is on returning accurate results with errors close to round-off (about 5–15 nanometers). New accurate algorithms for Geodesics on an ellipsoid of revolution and Transverse Mercator projection have been developed for this library. The functionality of the library can be accessed from user code, from the Utility programs provided, or via the Implementations in other languages.
We can use yum
or dnf
to install GeographicLib
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install GeographicLib.
Install GeographicLib 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 GeographicLib
using dnf
by running the following command:
sudo dnf -y install GeographicLib
Install GeographicLib 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 GeographicLib
using yum
by running the following command:
sudo yum -y install GeographicLib
How To Uninstall GeographicLib on Fedora 34
To uninstall only the GeographicLib
package we can use the following command:
sudo dnf remove GeographicLib
GeographicLib Package Contents on Fedora 34
/usr/bin/CartConvert
/usr/bin/ConicProj
/usr/bin/GeoConvert
/usr/bin/GeodSolve
/usr/bin/GeodesicProj
/usr/bin/GeoidEval
/usr/bin/Gravity
/usr/bin/MagneticField
/usr/bin/Planimeter
/usr/bin/RhumbSolve
/usr/bin/TransverseMercatorProj
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/e5708abe951a361dd36624fc87e3d255c7f765
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/2db4c86846b5ba25b3bf3ad9a4790f5348ce60
/usr/lib/.build-id/15
/usr/lib/.build-id/15/23eb67ea8618cd7bb25298f5a5ab44929e49af
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/920267bca1c420c40ff7682a23afe560bf9cec
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/b071a320db79663bf43fd1608c9efbc9fd0f88
/usr/lib/.build-id/59
/usr/lib/.build-id/59/869eb5d91686abcda3c146ddb15fd034d33d42
/usr/lib/.build-id/87
/usr/lib/.build-id/87/2a7f58b4a0776498d2a8ed9df353b7842b9b01
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/7201d4937a9798b0a6e5b6a2574ed6bf9253d6
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/7788d3b98b159a028a744b8376ae71642da7af
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/916b1a57d0b7fef998fa7d21cd795ee9fbebae
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/be49ffa6fa5ffd8e82692249612d3f13f0c4fc
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/99155287fa45c5151d9b5ae48b578cb8afc872
/usr/lib64/libGeographic.so.19
/usr/lib64/libGeographic.so.19.1.0
/usr/sbin/geographiclib-get-geoids
/usr/sbin/geographiclib-get-gravity
/usr/sbin/geographiclib-get-magnetic
/usr/share/GeographicLib
/usr/share/doc/GeographicLib
/usr/share/doc/GeographicLib/AUTHORS
/usr/share/doc/GeographicLib/NEWS
/usr/share/licenses/GeographicLib
/usr/share/licenses/GeographicLib/LICENSE.txt
/usr/share/man/man1/CartConvert.1.gz
/usr/share/man/man1/ConicProj.1.gz
/usr/share/man/man1/GeoConvert.1.gz
/usr/share/man/man1/GeodSolve.1.gz
/usr/share/man/man1/GeodesicProj.1.gz
/usr/share/man/man1/GeoidEval.1.gz
/usr/share/man/man1/Gravity.1.gz
/usr/share/man/man1/MagneticField.1.gz
/usr/share/man/man1/Planimeter.1.gz
/usr/share/man/man1/RhumbSolve.1.gz
/usr/share/man/man1/TransverseMercatorProj.1.gz
/usr/share/man/man8/geographiclib-get-geoids.8.gz
/usr/share/man/man8/geographiclib-get-gravity.8.gz
/usr/share/man/man8/geographiclib-get-magnetic.8.gz
/usr/bin/CartConvert
/usr/bin/ConicProj
/usr/bin/GeoConvert
/usr/bin/GeodSolve
/usr/bin/GeodesicProj
/usr/bin/GeoidEval
/usr/bin/Gravity
/usr/bin/MagneticField
/usr/bin/Planimeter
/usr/bin/RhumbSolve
/usr/bin/TransverseMercatorProj
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/490bf4ecaae253fef52232ed07cad013c63f6e
/usr/lib/.build-id/15
/usr/lib/.build-id/15/07dd03ff9dda139a33f06f56417b1069d5d2ce
/usr/lib/.build-id/50
/usr/lib/.build-id/50/b5bda8358483402024a90be2b4cd3409ebb548
/usr/lib/.build-id/66
/usr/lib/.build-id/66/9c1503d08cf9f6965f4b0079e9f3d33259703a
/usr/lib/.build-id/83
/usr/lib/.build-id/83/a1a23186a8db52e8e617c62e9848c4ead00bf9
/usr/lib/.build-id/87
/usr/lib/.build-id/87/ac9193d469e6032957ebfc14cb959444bf2239
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/5380e96e6dfa72f0e00b2f78e4e2af246ff776
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/37b1c1e328f46a602a596a90d9eb8b21863e97
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/f9a24d87fa1a675f55288f5383a8e6df40138f
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/da8bef9c8d59287b337d39c4435a6829fce4d5
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/bccf4f509c4b71ba3eba0d8308af362e468589
/usr/lib/.build-id/db
/usr/lib/.build-id/db/78de8f29bb97fbd29460b62d9e922c4825b612
/usr/lib/libGeographic.so.19
/usr/lib/libGeographic.so.19.1.0
/usr/sbin/geographiclib-get-geoids
/usr/sbin/geographiclib-get-gravity
/usr/sbin/geographiclib-get-magnetic
/usr/share/GeographicLib
/usr/share/doc/GeographicLib
/usr/share/doc/GeographicLib/AUTHORS
/usr/share/doc/GeographicLib/NEWS
/usr/share/licenses/GeographicLib
/usr/share/licenses/GeographicLib/LICENSE.txt
/usr/share/man/man1/CartConvert.1.gz
/usr/share/man/man1/ConicProj.1.gz
/usr/share/man/man1/GeoConvert.1.gz
/usr/share/man/man1/GeodSolve.1.gz
/usr/share/man/man1/GeodesicProj.1.gz
/usr/share/man/man1/GeoidEval.1.gz
/usr/share/man/man1/Gravity.1.gz
/usr/share/man/man1/MagneticField.1.gz
/usr/share/man/man1/Planimeter.1.gz
/usr/share/man/man1/RhumbSolve.1.gz
/usr/share/man/man1/TransverseMercatorProj.1.gz
/usr/share/man/man8/geographiclib-get-geoids.8.gz
/usr/share/man/man8/geographiclib-get-gravity.8.gz
/usr/share/man/man8/geographiclib-get-magnetic.8.gz
References
- [GeographicLib website](http://geographiclib.sourceforge.net/ http://geographiclib.sourceforge.net/)
Summary
In this tutorial we learn how to install GeographicLib
on Fedora 34 using yum and dnf.