How To Install ogdi on CentOS 8

ogdi is Open Geographic Datastore Interface

Introduction

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

What is ogdi

OGDI is the Open Geographic Datastore Interface. OGDI is an application programming interface (API) that uses a standardized access methods to work in conjunction with GIS software packages (the application) and various geospatial data products. OGDI uses a client/server architecture to facilitate the dissemination of geospatial data products over any TCP/IP network, and a driver-oriented approach to facilitate access to several geospatial data products/formats.

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

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

sudo dnf -y install ogdi

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

sudo yum -y install ogdi

How To Uninstall ogdi on CentOS 8

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

sudo dnf remove ogdi

ogdi Package Contents on CentOS 8

/usr/bin/gltpd
/usr/bin/ogdi_import
/usr/bin/ogdi_info
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/5f416b2e701292332b002377e1765417dffd99
/usr/lib/.build-id/09
/usr/lib/.build-id/09/a5702e3a407f21d954dd850ef6990b44e97076
/usr/lib/.build-id/39
/usr/lib/.build-id/39/d17fed99b25cced02a8084a17d918c01dc8417
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/ebe23f4d44af24919c127e8f191c4e6cea9899
/usr/lib/.build-id/75
/usr/lib/.build-id/75/408ed7197baf861eb6ed0b05b56039074fceed
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/bf2d3d36913e0c3311b74c05bcb9bd2e473547
/usr/lib/.build-id/99
/usr/lib/.build-id/99/81edecaa0c97e7e878c1092d8032204b1e7502
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/938f05a868a39c3e79dc326a91ea8d4a0583d1
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/784112a825c2f63baed8242bd5468b2c3fbdac
/usr/lib/.build-id/af
/usr/lib/.build-id/af/e2e27583b9ad6c157bc34d6e69670ac8b36474
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/257e5e013cee67812cfcb264db35f25a4acfcc
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/032d136831b64e7f7461c9debcbd3d8ab4e337
/usr/lib64/libogdi.so.4
/usr/lib64/libogdi.so.4.1
/usr/lib64/ogdi
/usr/lib64/ogdi/libadrg.so
/usr/lib64/ogdi/libgdal.so
/usr/lib64/ogdi/libremote.so
/usr/lib64/ogdi/librpf.so
/usr/lib64/ogdi/libskeleton.so
/usr/lib64/ogdi/libvrf.so
/usr/share/doc/ogdi
/usr/share/doc/ogdi/ChangeLog
/usr/share/doc/ogdi/LICENSE
/usr/share/doc/ogdi/NEWS
/usr/share/doc/ogdi/README

References

Summary

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