odb command not found

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

Introduction

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

odb: command not found

or when using sudo you get the following error message

sudo: odb: command not found

Solutions to odb: command not found

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

In Ubuntu odb is provided by odb package.

odb is:

ODB is an open-source, cross-platform and cross-database object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any mapping code.

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

sudo apt-get -y install odb

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

You can also use apt command to install odb.

sudo apt -y install odb

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

sudo aptitude install odb

Summary

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