How To Install libmagics++-metview-dev on Ubuntu 18.04

In this tutorial we learn how to install libmagics++-metview-dev on Ubuntu 18.04. libmagics++-metview-dev is Libraries needed for building MetView

Introduction

In this tutorial we learn how to install libmagics++-metview-dev on Ubuntu 18.04.

What is libmagics++-metview-dev

libmagics++-metview-dev is:

Magics++ is the latest generation of the ECMWF’s Meteorological plotting software MAGICS. Although completely redesigned in C++, it is intended to be as backwards-compatible as possible with the Fortran interface.

This package includes the header files and static libraries needed to build metview against magics++.

There are three methods to install libmagics++-metview-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 libmagics++-metview-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 libmagics++-metview-dev using apt-get by running the following command:

sudo apt-get -y install libmagics++-metview-dev

Install libmagics++-metview-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmagics++-metview-dev

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

sudo aptitude -y install libmagics++-metview-dev

How To Uninstall libmagics++-metview-dev on Ubuntu 18.04

To uninstall only the libmagics++-metview-dev package we can use the following command:

sudo apt-get remove libmagics++-metview-dev

Uninstall libmagics++-metview-dev And Its Dependencies

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

sudo apt-get -y autoremove libmagics++-metview-dev

Remove libmagics++-metview-dev Configurations and Data

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

sudo apt-get -y purge libmagics++-metview-dev

Remove libmagics++-metview-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmagics++-metview-dev

References

Summary

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