regexp-assemble command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
regexp-assemble: command not found
or when using sudo you get the following error message
sudo: regexp-assemble: command not found
Solutions to regexp-assemble: command not found
How To Fix regexp-assemble: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu regexp-assemble is provided by libregexp-assemble-perl package.
libregexp-assemble-perl is:
Regexp::Assemble takes an arbitrary number of regular expressions and assembles them into a single regular expression (or RE) that matches all that the individual REs match.
It is also possible to track the original patterns, so that you can determine which, among the source patterns that form the assembled pattern, was the one that caused the match to occur.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libregexp-assemble-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libregexp-assemble-perl.
sudo apt -y install libregexp-assemble-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libregexp-assemble-perl
Summary
In this tutorial we learn how to fix regexp-assemble command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.