How To Install libperl5.30 on Ubuntu 20.04

In this tutorial we learn how to install libperl5.30 on Ubuntu 20.04. libperl5.30 is shared Perl library shared Perl library

Introduction

In this tutorial we learn how to install libperl5.30 on Ubuntu 20.04.

What is libperl5.30

libperl5.30 is:

This package contains the shared Perl library, used by applications which embed a Perl interpreter.

It also contains the architecture-dependent parts of the standard library (and depends on perl-modules-5.30 which contains the architecture-independent parts). Task: server, print-server, ubuntu-desktop-minimal, lamp-server, ubuntu-desktop, cloud-image, postgresql-server, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop Build-Essential: yes

Package: libperl5.30 Architecture: amd64 Version: 5.30.0-9build1 Multi-Arch: same Priority: optional Section: libs Source: perl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Niko Tyni [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 27081 Depends: libbz2-1.0, libc6 (>= 2.29), libcrypt1 (>= 1:4.1.0), libdb5.3, libgdbm-compat4 (>= 1.18-3), libgdbm6 (>= 1.18-3), zlib1g (>= 1:1.2.2.3), perl-modules-5.30 (>= 5.30.0-9build1) Suggests: sensible-utils Breaks: libcompress-raw-bzip2-perl (« 2.084), libcompress-raw-zlib-perl (« 2.084), libcompress-zlib-perl (« 2.084), libdigest-md5-perl (« 2.55), libdigest-sha-perl (« 6.02), libencode-perl (« 3.01), libfilter-perl (« 1.59), libio-compress-base-perl (« 2.084), libio-compress-bzip2-perl (« 2.084), libio-compress-perl (« 2.084), libio-compress-zlib-perl (« 2.084), libmime-base64-perl (« 3.15), libstorable-perl (« 3.15), libsys-syslog-perl (« 0.35), libthreads-perl (« 2.22), libthreads-shared-perl (« 1.60), libtime-hires-perl (« 1.9760), libtime-piece-perl (« 1.3300) Replaces: libarchive-tar-perl (<= 1.38-2), libcompress-raw-bzip2-perl (« 2.084), libcompress-raw-zlib-perl (« 2.084), libcompress-zlib-perl (« 2.084), libdigest-md5-perl (« 2.55), libdigest-sha-perl (« 6.02), libencode-perl (« 3.01), libio-compress-base-perl (« 2.084), libio-compress-bzip2-perl (« 2.084), libio-compress-perl (« 2.084), libio-compress-zlib-perl (« 2.084), libmime-base64-perl (« 3.15), libmodule-corelist-perl (« 2.14-2), libstorable-perl (« 3.15), libsys-syslog-perl (« 0.35), libthreads-perl (« 2.22), libthreads-shared-perl (« 1.60), libtime-hires-perl (« 1.9760), libtime-piece-perl (« 1.3300), perl (« 5.22.0~), perl-base (« 5.22.0~) Filename: pool/main/p/perl/libperl5.30_5.30.0-9build1_amd64.deb Size: 3942624 MD5sum: 22fe2fa3c697b2d245aa55c8c5802ae3 SHA1: 021ed6c14cd893fbb03291009e6d14033f854c73 SHA256: d97224261b755049e59c782ac59518d66172777a426dcd2a825f37fbdbab648f Homepage: http://dev.perl.org/perl5/ Description-en: shared Perl library This package contains the shared Perl library, used by applications which embed a Perl interpreter.

It also contains the architecture-dependent parts of the standard library (and depends on perl-modules-5.30 which contains the architecture-independent parts). Task: server, print-server, ubuntu-desktop-minimal, lamp-server, ubuntu-desktop, cloud-image, postgresql-server, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop Build-Essential: yes

There are three methods to install libperl5.30 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libperl5.30 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libperl5.30 using apt-get by running the following command:

sudo apt-get -y install libperl5.30

Install libperl5.30 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libperl5.30 using apt by running the following command:

sudo apt -y install libperl5.30

Install libperl5.30 Using aptitude

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 libperl5.30 using aptitude by running the following command:

sudo aptitude -y install libperl5.30

How To Uninstall libperl5.30 on Ubuntu 20.04

To uninstall only the libperl5.30 package we can use the following command:

sudo apt-get remove libperl5.30

Uninstall libperl5.30 And Its Dependencies

To uninstall libperl5.30 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libperl5.30

Remove libperl5.30 Configurations and Data

To remove libperl5.30 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libperl5.30

Remove libperl5.30 configuration, data, and all of its dependencies

We can use the following command to remove libperl5.30 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libperl5.30

References

Summary

In this tutorial we learn how to install libperl5.30 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.