How To Install libmodule-install-copyright-perl on Ubuntu 18.04

In this tutorial we learn how to install libmodule-install-copyright-perl on Ubuntu 18.04. libmodule-install-copyright-perl is package a COPYRIGHT file with a distribution

Introduction

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

libmodule-install-copyright-perl is:

Module::Install::Copyright extracts copyright and licensing information from embedded pod and/or RDF metadata included in the distribution, and outputs it as a text file called “COPYRIGHT” which should roughly conform to the Debian copyright file format.

This package also provides Module::Install::Credits.

There are three methods to install libmodule-install-copyright-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.

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

sudo apt-get update

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

sudo apt-get -y install libmodule-install-copyright-perl

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmodule-install-copyright-perl

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

sudo aptitude -y install libmodule-install-copyright-perl

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

sudo apt-get remove libmodule-install-copyright-perl

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

sudo apt-get -y autoremove libmodule-install-copyright-perl

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

sudo apt-get -y purge libmodule-install-copyright-perl

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

sudo apt-get -y autoremove --purge libmodule-install-copyright-perl

References

Summary

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