How To Install libdmraid1.0.0.rc16 on Ubuntu 18.04

In this tutorial we learn how to install libdmraid1.0.0.rc16 on Ubuntu 18.04. libdmraid1.0.0.rc16 is Device-Mapper Software RAID support tool - shared library

Introduction

In this tutorial we learn how to install libdmraid1.0.0.rc16 on Ubuntu 18.04.

What is libdmraid1.0.0.rc16

libdmraid1.0.0.rc16 is:

dmraid discovers, activates, deactivates and displays properties of software RAID sets (eg, ATARAID) and contained DOS partitions.

dmraid uses the Linux device-mapper to create devices with respective mappings for the ATARAID sets discovered.

This package contains the dmraid shared library, which implements the back half of dmraid, including on-disk metadata formats.

There are three methods to install libdmraid1.0.0.rc16 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 libdmraid1.0.0.rc16 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libdmraid1.0.0.rc16 using apt-get by running the following command:

sudo apt-get -y install libdmraid1.0.0.rc16

Install libdmraid1.0.0.rc16 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdmraid1.0.0.rc16 using apt by running the following command:

sudo apt -y install libdmraid1.0.0.rc16

Install libdmraid1.0.0.rc16 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 libdmraid1.0.0.rc16 using aptitude by running the following command:

sudo aptitude -y install libdmraid1.0.0.rc16

How To Uninstall libdmraid1.0.0.rc16 on Ubuntu 18.04

To uninstall only the libdmraid1.0.0.rc16 package we can use the following command:

sudo apt-get remove libdmraid1.0.0.rc16

Uninstall libdmraid1.0.0.rc16 And Its Dependencies

To uninstall libdmraid1.0.0.rc16 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libdmraid1.0.0.rc16

Remove libdmraid1.0.0.rc16 Configurations and Data

To remove libdmraid1.0.0.rc16 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libdmraid1.0.0.rc16

Remove libdmraid1.0.0.rc16 configuration, data, and all of its dependencies

We can use the following command to remove libdmraid1.0.0.rc16 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdmraid1.0.0.rc16

References

Summary

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