How To Install redet on Ubuntu 20.04
Introduction
In this tutorial we learn how to install redet
on Ubuntu 20.04.
What is redet
redet is:
Redet allows the user to construct regular expressions and test them against input data by executing any of a variety of search programs, editors, and programming languages that make use of regular expressions. When a suitable regular expression has been constructed it may be saved to a file.
Redet stands for Regular Expression Development and Execution Tool. For each program, a palette showing the available regular expression syntax is provided. Selections from the palette may be copied to the regular expression window with a mouse click. Users may add their own definitions to the palette via their initialization file. Redet also keeps a list of the regular expressions executed, from which entries may be copied back into the regular expression under construction. The history list is saved to a file and restored on startup, so it persists across sessions.
So long as the underlying program supports Unicode, Redet allows UTF-8 Unicode in both test data and regular expressions.
There are three methods to install redet
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 redet Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install redet
using apt-get
by running the following command:
sudo apt-get -y install redet
Install redet Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install redet
using apt
by running the following command:
sudo apt -y install redet
Install redet 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 redet
using aptitude
by running the following command:
sudo aptitude -y install redet
How To Uninstall redet on Ubuntu 20.04
To uninstall only the redet
package we can use the following command:
sudo apt-get remove redet
Uninstall redet And Its Dependencies
To uninstall redet
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove redet
Remove redet Configurations and Data
To remove redet
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge redet
Remove redet configuration, data, and all of its dependencies
We can use the following command to remove redet
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge redet
References
Summary
In this tutorial we learn how to install redet
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.