How To Install libsysadm-install-perl on Ubuntu 18.04

In this tutorial we learn how to install libsysadm-install-perl on Ubuntu 18.04. libsysadm-install-perl is module for typical installation tasks of system administrators

Introduction

In this tutorial we learn how to install libsysadm-install-perl on Ubuntu 18.04.

What is libsysadm-install-perl

libsysadm-install-perl is:

Sysadm::Install executes shell-like commands performing typical installation tasks: Copying files, extracting tarballs, calling make. It has a fail once and die policy, meticulously checking the result of every operation and calling die() immeditatly if anything fails.

Sysadm::Install also supports a dry_run mode, in which it logs everything, but suppresses any write actions.

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

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

sudo apt-get update

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

sudo apt-get -y install libsysadm-install-perl

Install libsysadm-install-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsysadm-install-perl

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

sudo aptitude -y install libsysadm-install-perl

How To Uninstall libsysadm-install-perl on Ubuntu 18.04

To uninstall only the libsysadm-install-perl package we can use the following command:

sudo apt-get remove libsysadm-install-perl

Uninstall libsysadm-install-perl And Its Dependencies

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

sudo apt-get -y autoremove libsysadm-install-perl

Remove libsysadm-install-perl Configurations and Data

To remove libsysadm-install-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsysadm-install-perl

Remove libsysadm-install-perl configuration, data, and all of its dependencies

We can use the following command to remove libsysadm-install-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsysadm-install-perl

References

Summary

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