How To Install perl-debug on Ubuntu 20.04
Introduction
In this tutorial we learn how to install perl-debug
on Ubuntu 20.04.
What is perl-debug
perl-debug is:
debugperl provides a debug-enabled version of Perl which can produce extensive information about the interpreter as it compiles and executes a program (see the -D switch in perlrun(1)).
Note that this package is primarily of use in debugging Perl rather than perl programs, which may be traced/debugged using the standard perl binary using the -d switch (see perldebug(1)).
In addition, this package also includes debugging information for the normal Perl interpreter. Build-Ids: 00205444c45f407775ffa38072fbb937468b8439 013c817414e2e49e9bf36276ef4e3b740d9ee9ec 02d0dde24a799aacc4fb753152e1f16a88d6fa79 0492afad25b991a80dd5cdaae443a9f544c0ea69 066c15837a654aad6ab51858b1e974b6fe4f9b3c 07cffc3544437cbbe46b9d3c6ebdcf15232cbe7c 0829354ab26226291ba069081d531dd6d077f652 08b3fc738a1cea49e734abb87e172f608b1b3d28 0a0a5157ecbf699c4fc7aef743e2fa0c8b3eb744 11e98ab64effe5cbea15c92224fc41c452a2a18a 13c37d1c3e06eab8bce5a87bd695b6409fd919e5 15949a521a5112b188c4a71e7bf2b3a0032ba8dc 1b8faf75e72cd5d5b9c19aedd053bb1408c8f4af 1f351696a1f67c8c52afd2bda883aeaa24291025 227182377e550805a9348a42ac79756232ca4e41 2309a1208d23bd64e625bd30af0fcb54b346d585 3f816c66482abbfbd3df54c989798345ff284cca 47f3d15191ec5dc5c6e1a4028a28dc445c9e2e58 4f083662e23874bc628d2aa88fe985f6ef8e6400 4f49ffc2bd9fa55585e3fda59544f4ef6e08d294 525310e7af0dedc38eda8064fac1e031f7f89b6e 532361bfbea3af22f57abca1d7deee14281db6f6 5aad6c926f19ba382577024aa6f3df6d0325ba8b 61af8aee4633b4d8cc4bf2a2978645bab0df5b00 6d1d84b723547aebdf127521c3333f8a05e9de8c 6e8304df14b2a2fc97789876035cb05ed32c2032 6ea42b0b92584c18a827db1a25e11f5f4fcd9d4d 76bd6358895154d789cf6c63a64d516498059f2a 7756667bb5639b13e37743acb271dbc2244196b0 787ce328e2b884403e2e4a16b19dabee652bf659 7d04d489516a5c07a24170fbd090f230d76182f1 87c49a2f34d037bd0fa827858c8786360a25c192 8b63ee11161fd5bebf604da8ac68c03749be7048 8e01ded4b48ecb39aae59d7d982e1929dd2fc32f 8e56d9f6808fa578ba3a3be0da9ff05f852c628d 92723d4d9e26a2a37614e7d50f750525cbb2654e 954000a9fe5bcac20b68c2640681cd29e87dbe20 97e3513d509be4d71b2e812fa7cbea256f08bd97 a078da99b16dd082c161281c1227a34c79c45d8a a4b2c295b74bbff4b51ad2768f80b7adbc328a44 a68b380118b5ac4a870346122e598cc47eb25e49 afd588fa72883b88f1c6133d1dcad47203025c66 b11f1a4dc603499c17bb230f6a2bfc12484a6419 b1771902df4ca8efbbb8af9b003e901331b7573d b3e1ec884da718dacb32da7f6dce88cc83c53a77 ba11b15b5bb41131de38a838788367d47d47dccb bd4df6ebf5be1473326744a3f7a019af99ed8bc2 c2c8f7bac0f4e166fb64bf19f21df4299b06625e c910c9cfd799526a7e538833691e8a60beb42bcb d26ebca7acc44a5bd24e92d4d166dc49ee9921e2 d603f43d617fb32e8a7497ba53d4f06a591d23c1 e3acd85efe9ef16ec6a15eccdefb0f0767ba08f9 e76256a7fe354993cddb0a9ab232a28738c74a83 ea033ed50296fde23a1d6eca53f7aa07539c9d84 f37b5ecfe428bef7a2a7ee9d344d56e155dd8055 f63b29d7c07631a04d6ed6c099ab5859e637c1a6 f9e81cee5259650976da373d2baf0e0e1d1aca06
Package: perl-debug Architecture: amd64 Version: 5.30.0-9build1 Priority: optional Section: perl Source: perl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Niko Tyni [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 23018 Depends: perl (= 5.30.0-9build1), libc6 (>= 2.29), libcrypt1 (>= 1:4.1.0) Filename: pool/main/p/perl/perl-debug_5.30.0-9build1_amd64.deb Size: 10553012 MD5sum: 2d8a5920a9623c8b04cb80b335a9d9fe SHA1: 2ad85fa29bdbba62cd8a5aca827ddc3ec78de3df SHA256: 431105dfe054e833d41b456675ecae54860bbeb4344c868917126f43d8bed1d3 Homepage: http://dev.perl.org/perl5/ Description-en: debug-enabled Perl interpreter debugperl provides a debug-enabled version of Perl which can produce extensive information about the interpreter as it compiles and executes a program (see the -D switch in perlrun(1)).
Note that this package is primarily of use in debugging Perl rather than perl programs, which may be traced/debugged using the standard perl binary using the -d switch (see perldebug(1)).
In addition, this package also includes debugging information for the normal Perl interpreter. Build-Ids: 05dddb10c7eea8f8244cd6542cd526620ca6657c 09f8cabb15587b58796084079e5702fe82ad526f 132f638de56c1e7365406142eef7b18405976ce9 1512317c25320da9cd8df4ec0948ff88b35d3a50 1e564bb943611923be65bc9a1209612a3bf1eb15 2396f91b2d6fe629d5c2dcf32a5dbf75ac4ebb17 2d10d3b11b1257adfce415c1e01f50cd390272f0 2d8153a577a490e215fecbf8c6e16519ee6519bc 2ea60f43fdb066fb5b59050ea46770925259d007 4154e9f4ed9cbc14fca4c6880e7cc481f272fd30 41900445ed1771effd3cfa0a106f30b8d3c3f448 4263f8ff21e19d37bcf6d3350a2e059ccb931e6a 4366f184db37b400d3ff9bf6ef1dd4ee2562e095 4b9717bd8b5a7fc503f334f4ada523e4cad80bba 4bf75af4b394da08daedc4660f30b9bd9cce7a8e 4d2739f5c6d039a2c59ac337db6c992a7f8eedd8 4eeaff4a47bc6d72ca72fee40f149f0b6a555b17 555bf81d971020d4460167ac3907469406419644 5943d3d5e0b652d3ae4120be42fe74aee63597a1 6685da1bfd15b463e824dea8f6dd95b98d2b5402 677756ecf4ca3d1ba0a043a49488a1af33f8b516 6783712f7dc3e3f299dc3b037dcf81d4dc977407 6b6a4f0e570858cc50c74a34aabebc2f3063fcfe 775fbf64ed72b26833bef663e978f3b315649c12 795bf9f7954695cf2730083847b1ff303cca18b5 7ffe3b68b2d089bb54a0149aad3d2dfd189ed4f1 89e4d4dcb9a6180278db3a74c8e3cd5b85b70e73 8b8db8ba34efb04306949b9c3e7a63cb3b154a52 8ed1d37b162fffc16f26c3931193cbd7ec6db81e 8f1e5552427198ac9b2428441639d3c66b1bd518 917170e3a5553c5877e068818727977750cda029 9440a7591de2b2370a29d1359c05606a18600849 97a78508497b35adcd065450b7b65e45d9595e60 98f095fd6cde69dbc3f7941d7546c4c0003e42ec 9a7ce62df79259713a82390007e418b78701cadf 9b47f14fee70a6f4a0f01538023185e93014f22f acb4a674bffce1edf84f756c2288285866f16c85 b2d1c77488a100813d1dce73e00c802221684a60 b9bea0be193c28340cd170feddd94edb29eebbae ba8a0e6d0700bba6257430a486e9e58523ccc872 bb3b13b91179087724f7c9cdcd4bff15e08977c6 bd6c99dcee8664a7163256f5fda47f6209f0b87a bd7b6a140749526a2f6ce33b4fc0f14e96d63a8d c18a35048f4d46c77410719daf1acf202e36a59c c5154524b1387115255793fb4a8206b9474d54c8 cc84efbc235c56a9e7a180085b9aa7a063357139 d285b17307aa1305bab92438c231c91f85108f44 d380ada92c17804c1677bd00e8328b80fa3190ec d3dfdc68c5555aab898b947a2603650e28b2e8d2 d5aabd0ae4d9005b27cceb3bb9ca014f957b3c32 d870b371e5136d5603e62003bf7acdab2efe9269 d9d4f1a1424a18444644a1c28725df003e449957 db96c8b9adff4de65fca0a28300c49f74c405261 e308f42471d42f153d9d844c323fad44368a0a26 e93eae8c7ec57e811c2a245aae20979d1367f7d7 ed9b99f58236de34cb982822c9ac466348a97cd8 eff4d838295df3a56c16f70b888267176738d3f4
There are three methods to install perl-debug
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 perl-debug Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install perl-debug
using apt-get
by running the following command:
sudo apt-get -y install perl-debug
Install perl-debug Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install perl-debug
using apt
by running the following command:
sudo apt -y install perl-debug
Install perl-debug 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 perl-debug
using aptitude
by running the following command:
sudo aptitude -y install perl-debug
How To Uninstall perl-debug on Ubuntu 20.04
To uninstall only the perl-debug
package we can use the following command:
sudo apt-get remove perl-debug
Uninstall perl-debug And Its Dependencies
To uninstall perl-debug
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove perl-debug
Remove perl-debug Configurations and Data
To remove perl-debug
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge perl-debug
Remove perl-debug configuration, data, and all of its dependencies
We can use the following command to remove perl-debug
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge perl-debug
References
Summary
In this tutorial we learn how to install perl-debug
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.