How To Install libadminutil0 on Ubuntu 18.04

In this tutorial we learn how to install libadminutil0 on Ubuntu 18.04. libadminutil0 is Utility library for 389ds administration

Introduction

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

What is libadminutil0

libadminutil0 is:

Libraries of functions used to administer 389 directory servers, usually in conjunction with the admin server.

Adminutil is broken into two libraries - libadminutil contains the basic functionality, and libadmsslutil contains SSL versions and wrappers around the basic functions. The PSET functions allow applications to store their preferences and configuration parameters in LDAP, without having to know anything about LDAP. The configuration is cached in a local file, allowing applications to function even if the LDAP server is down. The other code is typically used by CGI programs used for directory server management, containing GET/POST processing code as well as resource handling (ICU ures API).

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

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

sudo apt-get update

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

sudo apt-get -y install libadminutil0

Install libadminutil0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libadminutil0

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

sudo aptitude -y install libadminutil0

How To Uninstall libadminutil0 on Ubuntu 18.04

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

sudo apt-get remove libadminutil0

Uninstall libadminutil0 And Its Dependencies

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

sudo apt-get -y autoremove libadminutil0

Remove libadminutil0 Configurations and Data

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

sudo apt-get -y purge libadminutil0

Remove libadminutil0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libadminutil0

References

Summary

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