How To Install libregexp-debugger-perl on Debian 11
Introduction
In this tutorial we learn how to install libregexp-debugger-perl
on Debian 11.
What is libregexp-debugger-perl
libregexp-debugger-perl is:
Regexp::Debugger is a module that helps tame unruly regexes by providing live interactive run-time visualizations of any regex in a Perl code. The debugger allows one to track capture variables, follow recursive subpattern matches, set break-points within a regex match, and even step backwards through the matching process to work out exactly where things started going so horribly wrong.
When you load this module, any regex in the same lexical scope will be visually (and interactively) debugged as it matches.
In addition to the Perl module, the package also contains the module’s commandline frontend rxrx.
There are three methods to install libregexp-debugger-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libregexp-debugger-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libregexp-debugger-perl
using apt-get
by running the following command:
sudo apt-get -y install libregexp-debugger-perl
Install libregexp-debugger-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libregexp-debugger-perl
using apt
by running the following command:
sudo apt -y install libregexp-debugger-perl
Install libregexp-debugger-perl 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libregexp-debugger-perl
using aptitude
by running the following command:
sudo aptitude -y install libregexp-debugger-perl
How To Uninstall libregexp-debugger-perl on Debian 11
To uninstall only the libregexp-debugger-perl
package we can use the following command:
sudo apt-get remove libregexp-debugger-perl
Uninstall libregexp-debugger-perl And Its Dependencies
To uninstall libregexp-debugger-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libregexp-debugger-perl
Remove libregexp-debugger-perl Configurations and Data
To remove libregexp-debugger-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libregexp-debugger-perl
Remove libregexp-debugger-perl configuration, data, and all of its dependencies
We can use the following command to remove libregexp-debugger-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libregexp-debugger-perl
Dependencies
libregexp-debugger-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libregexp-debugger-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.