How To Install libuutil1linux on Ubuntu 18.04

In this tutorial we learn how to install libuutil1linux on Ubuntu 18.04. libuutil1linux is Solaris userland utility library for Linux

Introduction

In this tutorial we learn how to install libuutil1linux on Ubuntu 18.04.

What is libuutil1linux

libuutil1linux is:

This library provides a variety of glue functions for ZFS on Linux:

  • libspl: The Solaris Porting Layer userland library, which provides APIs that make it possible to run Solaris user code in a Linux environment with relatively minimal modification.
  • libavl: The Adelson-Velskii Landis balanced binary tree manipulation library.
  • libefi: The Extensible Firmware Interface library for GUID disk partitioning.
  • libshare: NFS, SMB, and iSCSI service integration for ZFS.

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

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

sudo apt-get update

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

sudo apt-get -y install libuutil1linux

Install libuutil1linux Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libuutil1linux using apt by running the following command:

sudo apt -y install libuutil1linux

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

sudo aptitude -y install libuutil1linux

How To Uninstall libuutil1linux on Ubuntu 18.04

To uninstall only the libuutil1linux package we can use the following command:

sudo apt-get remove libuutil1linux

Uninstall libuutil1linux And Its Dependencies

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

sudo apt-get -y autoremove libuutil1linux

Remove libuutil1linux Configurations and Data

To remove libuutil1linux configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libuutil1linux

Remove libuutil1linux configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libuutil1linux

References

Summary

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