How to Install and Uninstall libmodule-install-authorrequires-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 13,2024

1. Install "libmodule-install-authorrequires-perl" package

Please follow the guidelines below to install libmodule-install-authorrequires-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libmodule-install-authorrequires-perl

2. Uninstall "libmodule-install-authorrequires-perl" package

Learn how to uninstall libmodule-install-authorrequires-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libmodule-install-authorrequires-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmodule-install-authorrequires-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libmodule-install-authorrequires-perl
Priority: optional
Section: universe/perl
Installed-Size: 61
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.02-1
Depends: libmodule-install-perl, perl
Filename: pool/universe/libm/libmodule-install-authorrequires-perl/libmodule-install-authorrequires-perl_0.02-1_all.deb
Size: 10726
MD5sum: 2904b57dd0b37dbae71757c50bec380a
SHA1: c9ed89176084bf1777c665558148cdb3d51d49f2
SHA256: 1f80617bf0bba9a59b83875adcda7112c88636d201d8904248abb7ce0d0dd632
Description-en: declare author-only dependencies
Modules often have optional requirements, for example dependencies that
are useful for (optional) tests, but not required for the module to
work properly.
.
Usually you want all developers of a project to have these optional
modules installed. However, simply telling everyone or printing
diagnostic messages if optional dependencies are missing often isn't
enough to make sure all authors have all optional modules installed.
.
Module::Install already has a way of detecting an author environment,
so an easy way to achieve the above would be something like:
.
if ($Module::Install::AUTHOR) {
requires 'Some::Module';
requires 'Another::Module' => '0.42';
}
.
Unfortunately, that'll also make the optional dependencies show up in
the distributions "META.yml" file, which is obviously wrong, as they
aren't actually hard requirements.
.
Working that around requires a considerable amount of non-trivial
Makefile.PL hackery, or simply using Module::Install::AuthorRequires's
"author_requires" command.
Description-md5: d829ce0461180ea8741070c651ab47fb
Homepage: http://search.cpan.org/dist/Module-Install-AuthorRequires/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu