How To Install rtklib on CentOS 8

rtklib is Program Package for GNSS Positioning

Introduction

In this tutorial we learn how to install rtklib on CentOS 8.

What is rtklib

RTKLIB is an open source program package for standard and precise positioning with GNSS (global navigation satellite system). RTKLIB consists of a portable program library and several APs (application programs) utilizing the library.

We can use yum or dnf to install rtklib on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rtklib.

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

sudo dnf -y install rtklib

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

sudo yum -y install rtklib

How To Uninstall rtklib on CentOS 8

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

sudo dnf remove rtklib

rtklib Package Contents on CentOS 8

/usr/bin/convbin
/usr/bin/pos2kml
/usr/bin/rnx2rtkp
/usr/bin/rtkrcv
/usr/bin/rtkshut.sh
/usr/bin/rtkstart.sh
/usr/bin/str2str
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/a4adef401746ed03cd0505d63b114f5b726c6e
/usr/lib/.build-id/36
/usr/lib/.build-id/36/af83e852f781b505da8114440d6f11cfdbdcc6
/usr/lib/.build-id/69
/usr/lib/.build-id/69/cab1e5532b3f49d7d097adc6f3a88ed4e698e6
/usr/lib/.build-id/96
/usr/lib/.build-id/96/3fd812f2281feffd83a50672932988b491f3e4
/usr/lib/.build-id/da
/usr/lib/.build-id/da/36bd00a5e50c2ca58b1a11ae2eb6be8eb4d063
/usr/share/doc/rtklib
/usr/share/doc/rtklib/readme.txt
/usr/share/doc/rtklib/readme_orig.txt
/usr/share/rtklib
/usr/share/rtklib/P1C1_ALL.DCB
/usr/share/rtklib/P1P2_ALL.DCB
/usr/share/rtklib/P2C2.DCB
/usr/share/rtklib/STA_GSI.txt
/usr/share/rtklib/STA_IGS.txt
/usr/share/rtklib/STA_IGS08.txt
/usr/share/rtklib/STA_IGS_H.txt
/usr/share/rtklib/STA_IGS_HR.txt
/usr/share/rtklib/STA_IGS_MGEX.txt
/usr/share/rtklib/TLE_GNSS_SATNO.txt
/usr/share/rtklib/TLE_GNSS_SIM.txt
/usr/share/rtklib/URL_LIST.txt
/usr/share/rtklib/elmask_sample.txt
/usr/share/rtklib/gnssdatasrc.txt
/usr/share/rtklib/igs10P1565_wocov.snx
/usr/share/rtklib/ngs_abs.pcv
/usr/share/rtklib/stations.pos

References

Summary

In this tutorial we learn how to install rtklib on CentOS 8 using yum and dnf.