How To Install libvmmlib-dev on Ubuntu 18.04

In this tutorial we learn how to install libvmmlib-dev on Ubuntu 18.04. libvmmlib-dev is templatized C++ vector and matrix math library

Introduction

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

What is libvmmlib-dev

libvmmlib-dev is:

Vmmlib’s basic functionality includes a vector and a matrix class, with additional functionality for the often-used 3d and 4d vectors and 3x3 and 4x4 matrices.

More advanced functionality include solvers, frustum computations and frustum culling classes, and spatial data structures.

It is implemented using C++ templates, making it versatile, and being a header library, it is very easy to integrate into other libraries and programs.

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

sudo apt-get -y install libvmmlib-dev

Install libvmmlib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvmmlib-dev

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

sudo aptitude -y install libvmmlib-dev

How To Uninstall libvmmlib-dev on Ubuntu 18.04

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

sudo apt-get remove libvmmlib-dev

Uninstall libvmmlib-dev And Its Dependencies

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

sudo apt-get -y autoremove libvmmlib-dev

Remove libvmmlib-dev Configurations and Data

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

sudo apt-get -y purge libvmmlib-dev

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

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

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

References

Summary

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