How To Install libdballe-dev on Ubuntu 18.04

In this tutorial we learn how to install libdballe-dev on Ubuntu 18.04. libdballe-dev is DB-All.e C development library for weather research

Introduction

In this tutorial we learn how to install libdballe-dev on Ubuntu 18.04.

What is libdballe-dev

libdballe-dev is:

DB-All.e is a fast on-disk database where meteorological observed and forecast data can be stored, searched, retrieved and updated.

The Debian packaging of DB-All.e includes all the features of the libraries, but any subset can be used without interference from other subsets. It is also possible to rebuild the library to include only those features that are needed.

Features provided:

  • Unit conversion
  • Handling of physical variables
  • Encoding and decoding of BUFR and CREX reports from:
    • fixed land and sea stations, like synops and buoys
    • mobile stations: ships, airplanes
    • soundings: temp, pilot
    • METAR reports
    • Satellite strides (decode only)
  • Decoding of AOF reports
  • Interpretation of weather reports as physical data precisely located in space and time, and encoding of physical data into weather reports.
  • Smart on-disk database for observed and forecast weather data based on physical principles, built to support operations such as quality control, data thinning, correlation of data from mixed sources

There are three methods to install libdballe-dev 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 libdballe-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libdballe-dev using apt-get by running the following command:

sudo apt-get -y install libdballe-dev

Install libdballe-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdballe-dev using apt by running the following command:

sudo apt -y install libdballe-dev

Install libdballe-dev 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 libdballe-dev using aptitude by running the following command:

sudo aptitude -y install libdballe-dev

How To Uninstall libdballe-dev on Ubuntu 18.04

To uninstall only the libdballe-dev package we can use the following command:

sudo apt-get remove libdballe-dev

Uninstall libdballe-dev And Its Dependencies

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

sudo apt-get -y autoremove libdballe-dev

Remove libdballe-dev Configurations and Data

To remove libdballe-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libdballe-dev

Remove libdballe-dev configuration, data, and all of its dependencies

We can use the following command to remove libdballe-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdballe-dev

References

Summary

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