How To Install libdelimmatch-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libdelimmatch-perl on Ubuntu 18.04.
What is libdelimmatch-perl
libdelimmatch-perl is:
DelimMatch allows you to match delimited substrings in a buffer. The delimiters can be specified with any regular expression and the start and end delimiters need not be the same. If the delimited text is properly nested, entire nested groups are returned.
In addition, you may specify quoting and escaping characters that contribute to the recognition of start and end delimiters.
There are three methods to install libdelimmatch-perl on Ubuntu 18.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 libdelimmatch-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 libdelimmatch-perl using apt-get by running the following command:
sudo apt-get -y install libdelimmatch-perl
Install libdelimmatch-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libdelimmatch-perl using apt by running the following command:
sudo apt -y install libdelimmatch-perl
Install libdelimmatch-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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libdelimmatch-perl using aptitude by running the following command:
sudo aptitude -y install libdelimmatch-perl
How To Uninstall libdelimmatch-perl on Ubuntu 18.04
To uninstall only the libdelimmatch-perl package we can use the following command:
sudo apt-get remove libdelimmatch-perl
Uninstall libdelimmatch-perl And Its Dependencies
To uninstall libdelimmatch-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libdelimmatch-perl
Remove libdelimmatch-perl Configurations and Data
To remove libdelimmatch-perl configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libdelimmatch-perl
Remove libdelimmatch-perl configuration, data, and all of its dependencies
We can use the following command to remove libdelimmatch-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdelimmatch-perl
References
Summary
In this tutorial we learn how to install libdelimmatch-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.