ogdi-config command not found

In this troubleshooting guide we learn how to fix ogdi-config command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ogdi-config: command not found

or when using sudo you get the following error message

sudo: ogdi-config: command not found

Solutions to ogdi-config: command not found

How To Fix ogdi-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ogdi-config is provided by libogdi-dev package.

libogdi-dev is:

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.

This package contains the development files to build OGDI enabled programs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libogdi-dev

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libogdi-dev.

sudo apt -y install libogdi-dev

Or if you have aptitude installed you can use the following command.

sudo aptitude install libogdi-dev

Summary

In this tutorial we learn how to fix ogdi-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.