How to Install and Uninstall libmodule-install-authorrequires-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

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

Please follow the guidelines below to install libmodule-install-authorrequires-perl on Ubuntu 21.10 (Impish Indri)

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

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

Please follow the steps below to uninstall libmodule-install-authorrequires-perl on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libmodule-install-authorrequires-perl package on Ubuntu 21.10 (Impish Indri)

Package: libmodule-install-authorrequires-perl
Architecture: all
Version: 0.02-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: libmodule-install-perl, perl:any
Filename: pool/universe/libm/libmodule-install-authorrequires-perl/libmodule-install-authorrequires-perl_0.02-1.1_all.deb
Size: 6556
MD5sum: 140af8634c1f0125c4e4645040479770
SHA1: 3b43880ed03cc788702b430fe4cf16569969ba57
SHA256: 87c84c5ebeae6e067cbe1bcf1cb7bc8ecc35cab94af93f23d323d655133f4192
SHA512: a5c2ec057cfe8bd53bc8a1b12b2385278f2ef63281db7ca9aa9c72fa3340193fbd326c6f51c91f92bc2f30c1d68f2dcd2cfb5f32d52fcbbf335ac199d4fd76ad
Homepage: http://search.cpan.org/dist/Module-Install-AuthorRequires/
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