How to Install and Uninstall cpanminus Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "cpanminus" package

This is a short guide on how to install cpanminus on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cpanminus

2. Uninstall "cpanminus" package

This guide let you learn how to uninstall cpanminus on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cpanminus $ sudo apt autoclean && sudo apt autoremove

3. Information about the cpanminus package on Ubuntu 21.04 (Hirsute Hippo)

Package: cpanminus
Architecture: all
Version: 1.7044-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 154
Depends: perl:any, libcpan-distnameinfo-perl, libcpan-meta-check-perl (>= 0.012), libcpan-meta-perl (>= 2.150005), libcpan-meta-requirements-perl (>= 2.133), libcpan-meta-yaml-perl (>= 0.016), libfile-pushd-perl, libhttp-tiny-perl (>= 0.056) | curl | wget, libjson-pp-perl, liblocal-lib-perl (>= 2.000015), libmodule-cpanfile-perl, libmodule-metadata-perl (>= 1.000027), libparse-cpan-meta-perl, libparse-pmfile-perl (>= 0.36), libstring-shellquote-perl, libversion-perl (>= 1:0.9912)
Recommends: make
Suggests: gcc | c-compiler
Breaks: carton (<< 1.0.29)
Filename: pool/universe/c/cpanminus/cpanminus_1.7044-2_all.deb
Size: 49628
MD5sum: 9f1d29e87ed72495004e3f2bd569e7cf
SHA1: d86829d1078a243d226f8fb9dd96c60024130f96
SHA256: cc2dfb4619a94e18a03520693437a4a73acc8043a50d8b32531868749719d255
SHA512: b563696e533d18d0295d70e9f45fb392be907328ae9812ed66a46bb316cbc2907ef07dd9a42bcf3ccebd03d18c28b7cb2f347469d7aa6e0d12082b70f6300133
Homepage: https://metacpan.org/release/App-cpanminus
Description-en: script to get, unpack, build and install modules from CPAN
cpanminus provides a command-line (non interactive) interface to
automatically download, build and install Perl modules from CPAN.
.
It requires zero configuration, and stands alone. It also has a very low memory
footprint compared to similar software: when running, it requires only 10MB of
RAM.
.
It installs to wherever ExtUtils::MakeMaker and Module::Build are
configured to. So if you're using local::lib, then it installs to your
local perl5 directory. Otherwise it installs to the siteperl directory.
.
cpanminus at a boot time checks whether you have configured local::lib,
or have the permission to install modules to the sitelib directory. If
neither, it automatically sets up local::lib compatible installation
path in a perl5 directory under your home directory.
Description-md5: 6b2b64b977ad05f2016c894935b16179