How To Install libtaint-util-perl on Ubuntu 18.04

In this tutorial we learn how to install libtaint-util-perl on Ubuntu 18.04. libtaint-util-perl is Perl module to manipulate the Perl internal taint flag

Introduction

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

What is libtaint-util-perl

libtaint-util-perl is:

Taint::Util wraps perl’s internal routines for checking and setting the taint flag and thus does not rely on regular expressions for untainting or odd tricks involving eval and kill for checking whether data is tainted, instead it checks and flips a flag on the scalar in-place.

There are three methods to install libtaint-util-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 libtaint-util-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 libtaint-util-perl using apt-get by running the following command:

sudo apt-get -y install libtaint-util-perl

Install libtaint-util-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtaint-util-perl

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

sudo aptitude -y install libtaint-util-perl

How To Uninstall libtaint-util-perl on Ubuntu 18.04

To uninstall only the libtaint-util-perl package we can use the following command:

sudo apt-get remove libtaint-util-perl

Uninstall libtaint-util-perl And Its Dependencies

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

sudo apt-get -y autoremove libtaint-util-perl

Remove libtaint-util-perl Configurations and Data

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

sudo apt-get -y purge libtaint-util-perl

Remove libtaint-util-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtaint-util-perl

References

Summary

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