How To Install libodb-api-bin on Ubuntu 18.04

In this tutorial we learn how to install libodb-api-bin on Ubuntu 18.04. libodb-api-bin is Tools for the Observational Data Processing (ODB) API

Introduction

In this tutorial we learn how to install libodb-api-bin on Ubuntu 18.04.

What is libodb-api-bin

libodb-api-bin is:

ODB API is a software developed at ECMWF for encoding and processing of observational data. It includes a SQL filtering and statistics engine, command line tools and APIs for C/C++, Fortran and Python.

This package provides tools for ODB handling.

There are three methods to install libodb-api-bin on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libodb-api-bin Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libodb-api-bin using apt-get by running the following command:

sudo apt-get -y install libodb-api-bin

Install libodb-api-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libodb-api-bin using apt by running the following command:

sudo apt -y install libodb-api-bin

Install libodb-api-bin Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libodb-api-bin using aptitude by running the following command:

sudo aptitude -y install libodb-api-bin

How To Uninstall libodb-api-bin on Ubuntu 18.04

To uninstall only the libodb-api-bin package we can use the following command:

sudo apt-get remove libodb-api-bin

Uninstall libodb-api-bin And Its Dependencies

To uninstall libodb-api-bin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libodb-api-bin

Remove libodb-api-bin Configurations and Data

To remove libodb-api-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libodb-api-bin

Remove libodb-api-bin configuration, data, and all of its dependencies

We can use the following command to remove libodb-api-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libodb-api-bin

References

Summary

In this tutorial we learn how to install libodb-api-bin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.