How to Install and Uninstall perl Package on Debian 11 (Bullseye)

Last updated: November 22,2024

1. Install "perl" package

This guide covers the steps necessary to install perl on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install perl

2. Uninstall "perl" package

Please follow the instructions below to uninstall perl on Debian 11 (Bullseye):

$ sudo apt remove perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the perl package on Debian 11 (Bullseye)

Package: perl
Version: 5.32.1-4+deb11u2
Installed-Size: 705
Maintainer: Niko Tyni
Architecture: amd64
Replaces: perl-base (<< 5.32.0-2), perl-modules (<< 5.22.0~)
Provides: libansicolor-perl (= 5.01), libarchive-tar-perl (= 2.36), libattribute-handlers-perl (= 1.01), libautodie-perl (= 2.32), libcompress-raw-bzip2-perl (= 2.093), libcompress-raw-zlib-perl (= 2.093), libcompress-zlib-perl (= 2.093), libcpan-meta-perl (= 2.150010), libcpan-meta-requirements-perl (= 2.140), libcpan-meta-yaml-perl (= 0.018), libdigest-md5-perl (= 2.55.01), libdigest-perl (= 1.17.01), libdigest-sha-perl (= 6.02), libencode-perl (= 3.06), libexperimental-perl (= 0.020), libextutils-cbuilder-perl (= 0.280234), libextutils-command-perl (= 7.44), libextutils-install-perl (= 2.14), libextutils-parsexs-perl (= 3.400000), libfile-spec-perl (= 3.7800), libhttp-tiny-perl (= 0.076), libi18n-langtags-perl (= 0.44), libio-compress-base-perl (= 2.093), libio-compress-bzip2-perl (= 2.093), libio-compress-perl (= 2.093), libio-compress-zlib-perl (= 2.093), libio-zlib-perl (= 1.10), libjson-pp-perl (= 4.04000), liblocale-maketext-perl (= 1.29), liblocale-maketext-simple-perl (= 0.21.01), libmath-bigint-perl (= 1.999818), libmath-complex-perl (= 1.5901), libmime-base64-perl (= 3.15), libmodule-corelist-perl (= 5.20210123), libmodule-load-conditional-perl (= 0.70), libmodule-load-perl (= 0.34), libmodule-metadata-perl (= 1.000037), libnet-perl (= 1:3.11), libnet-ping-perl (= 2.72), libparams-check-perl (= 0.38), libparent-perl (= 0.238), libparse-cpan-meta-perl (= 2.150010), libperl-ostype-perl (= 1.010), libpod-escapes-perl (= 1.07), libpod-simple-perl (= 3.40), libstorable-perl (= 3.21), libsys-syslog-perl (= 0.36), libtest-harness-perl (= 3.42), libtest-simple-perl (= 1.302175), libtest-tester-perl (= 1.302175), libtest-use-ok-perl (= 1.302175), libthread-queue-perl (= 3.14), libthreads-perl (= 2.25), libthreads-shared-perl (= 1.61), libtime-hires-perl (= 1.9764), libtime-local-perl (= 1.2800), libtime-piece-perl (= 1.3401), libunicode-collate-perl (= 1.27), libversion-perl (= 1:0.9924), libversion-requirements-perl, podlators-perl (= 4.14)
Depends: perl-base (= 5.32.1-4+deb11u2), perl-modules-5.32 (>= 5.32.1-4+deb11u2), libperl5.32 (= 5.32.1-4+deb11u2)
Pre-Depends: dpkg (>= 1.17.17)
Recommends: netbase
Suggests: perl-doc, libterm-readline-gnu-perl | libterm-readline-perl-perl, make, libtap-harness-archive-perl
Conflicts: libjson-pp-perl (<< 2.27200-2)
Breaks: apt-show-versions (<< 0.22.10), libdist-inkt-perl (<< 0.024-5), libmarc-charset-perl (<< 1.35-3), libperl-dev (<< 5.24.0~), perl-doc (<< 5.32.1-1), perl-modules-5.22, perl-modules-5.24, perl-modules-5.26 (<< 5.26.2-5)
Description: Larry Wall's Practical Extraction and Report Language
Description-md5: 603cb1e5fe66da8106c364f4e9b84082
Multi-Arch: allowed
Homepage: http://dev.perl.org/perl5/
Build-Essential: yes
Tag: devel::interpreter, devel::lang:perl, devel::library, implemented-in::c,
implemented-in::perl, interface::commandline, role::devel-lib,
role::metapackage, role::program
Section: perl
Priority: standard
Filename: pool/main/p/perl/perl_5.32.1-4+deb11u2_amd64.deb
Size: 293084
MD5sum: 9e7a05c76fa13273ca01c0c39c7ca4c7
SHA256: 1cebc4516ed7c240b812c7bdd7e6ea0810f513152717ca17ce139ee0dfbc7b0d

Package: perl
Version: 5.32.1-4+deb11u1
Installed-Size: 705
Maintainer: Niko Tyni
Architecture: amd64
Replaces: perl-base (<< 5.32.0-2), perl-modules (<< 5.22.0~)
Provides: libansicolor-perl (= 5.01), libarchive-tar-perl (= 2.36), libattribute-handlers-perl (= 1.01), libautodie-perl (= 2.32), libcompress-raw-bzip2-perl (= 2.093), libcompress-raw-zlib-perl (= 2.093), libcompress-zlib-perl (= 2.093), libcpan-meta-perl (= 2.150010), libcpan-meta-requirements-perl (= 2.140), libcpan-meta-yaml-perl (= 0.018), libdigest-md5-perl (= 2.55.01), libdigest-perl (= 1.17.01), libdigest-sha-perl (= 6.02), libencode-perl (= 3.06), libexperimental-perl (= 0.020), libextutils-cbuilder-perl (= 0.280234), libextutils-command-perl (= 7.44), libextutils-install-perl (= 2.14), libextutils-parsexs-perl (= 3.400000), libfile-spec-perl (= 3.7800), libhttp-tiny-perl (= 0.076), libi18n-langtags-perl (= 0.44), libio-compress-base-perl (= 2.093), libio-compress-bzip2-perl (= 2.093), libio-compress-perl (= 2.093), libio-compress-zlib-perl (= 2.093), libio-zlib-perl (= 1.10), libjson-pp-perl (= 4.04000), liblocale-maketext-perl (= 1.29), liblocale-maketext-simple-perl (= 0.21.01), libmath-bigint-perl (= 1.999818), libmath-complex-perl (= 1.5901), libmime-base64-perl (= 3.15), libmodule-corelist-perl (= 5.20210123), libmodule-load-conditional-perl (= 0.70), libmodule-load-perl (= 0.34), libmodule-metadata-perl (= 1.000037), libnet-perl (= 1:3.11), libnet-ping-perl (= 2.72), libparams-check-perl (= 0.38), libparent-perl (= 0.238), libparse-cpan-meta-perl (= 2.150010), libperl-ostype-perl (= 1.010), libpod-escapes-perl (= 1.07), libpod-simple-perl (= 3.40), libstorable-perl (= 3.21), libsys-syslog-perl (= 0.36), libtest-harness-perl (= 3.42), libtest-simple-perl (= 1.302175), libtest-tester-perl (= 1.302175), libtest-use-ok-perl (= 1.302175), libthread-queue-perl (= 3.14), libthreads-perl (= 2.25), libthreads-shared-perl (= 1.61), libtime-hires-perl (= 1.9764), libtime-local-perl (= 1.2800), libtime-piece-perl (= 1.3401), libunicode-collate-perl (= 1.27), libversion-perl (= 1:0.9924), libversion-requirements-perl, podlators-perl (= 4.14)
Depends: perl-base (= 5.32.1-4+deb11u1), perl-modules-5.32 (>= 5.32.1-4+deb11u1), libperl5.32 (= 5.32.1-4+deb11u1)
Suggests: perl-doc, libterm-readline-gnu-perl | libterm-readline-perl-perl, make, libtap-harness-archive-perl
Conflicts: libjson-pp-perl (<< 2.27200-2)
Breaks: apt-show-versions (<< 0.22.10), libdist-inkt-perl (<< 0.024-5), libmarc-charset-perl (<< 1.35-3), libperl-dev (<< 5.24.0~), perl-doc (<< 5.32.1-1), perl-modules-5.22, perl-modules-5.24, perl-modules-5.26 (<< 5.26.2-5)
Description: Larry Wall's Practical Extraction and Report Language
Description-md5: 603cb1e5fe66da8106c364f4e9b84082
Homepage: http://dev.perl.org/perl5/
Multi-Arch: allowed
Pre-Depends: dpkg (>= 1.17.17)
Recommends: netbase
Section: perl
Priority: standard
Filename: pool/updates/main/p/perl/perl_5.32.1-4+deb11u1_amd64.deb
Size: 293072
SHA256: ede55b2af8489f8cadc438fb3b806a51d9a7cbb7f5cfe10d60dafebf6f311474