How To Install libm4rie-0.0.20150908 on Ubuntu 18.04

In this tutorial we learn how to install libm4rie-0.0.20150908 on Ubuntu 18.04. libm4rie-0.0.20150908 is extended Method of the Four Russians Inversion library, shared library

Introduction

In this tutorial we learn how to install libm4rie-0.0.20150908 on Ubuntu 18.04.

What is libm4rie-0.0.20150908

libm4rie-0.0.20150908 is:

M4RIE is a library for fast arithmetic with dense matrices over small finite fields of even characteristic. It uses the M4RI library, implementing the same operations over the finite field F2.

The name M4RI comes from the first implemented algorithm: The “Method of the Four Russians” inversion algorithm. This algorithm in turn is named after the “Method of the Four Russians” multiplication algorithm which is probably better referred to as Kronrod’s method.

This package contains the M4RIE shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libm4rie-0.0.20150908

Install libm4rie-0.0.20150908 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libm4rie-0.0.20150908

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

sudo aptitude -y install libm4rie-0.0.20150908

How To Uninstall libm4rie-0.0.20150908 on Ubuntu 18.04

To uninstall only the libm4rie-0.0.20150908 package we can use the following command:

sudo apt-get remove libm4rie-0.0.20150908

Uninstall libm4rie-0.0.20150908 And Its Dependencies

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

sudo apt-get -y autoremove libm4rie-0.0.20150908

Remove libm4rie-0.0.20150908 Configurations and Data

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

sudo apt-get -y purge libm4rie-0.0.20150908

Remove libm4rie-0.0.20150908 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libm4rie-0.0.20150908

References

Summary

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