odbxtest command not found

In this troubleshooting guide we learn how to fix odbxtest command not found error message

Introduction

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

odbxtest: command not found

or when using sudo you get the following error message

sudo: odbxtest: command not found

Solutions to odbxtest: command not found

How To Fix odbxtest: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu odbxtest is provided by opendbx-utils package.

opendbx-utils is:

OpenDBX provides a simple and lightweight API for interfacing native relational database APIs in a consistent way. By using the OpenDBX API you don’t have to adapt your program to the different database APIs by yourself.

This package provides the odbx-sql utility application for accessing database content directly via libopendbx and the opendbx test suite for verifying that various backends are working

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

sudo apt-get -y install opendbx-utils

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

You can also use apt command to install opendbx-utils.

sudo apt -y install opendbx-utils

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

sudo aptitude install opendbx-utils

Summary

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