re command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
re: command not found
or when using sudo you get the following error message
sudo: re: command not found
Solutions to re: command not found
How To Fix re: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu re is provided by re package.
re is:
Russian Anywhere is a Russian character decoding program. It allows one to transfer Russian characters between different codepages. Main purpose is to convert damaged Russian e-mail messages to readable form and it also may be used to convert files from/to known and unknown codepages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install re
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install re.
sudo apt -y install re
Or if you have aptitude installed you can use the following command.
sudo aptitude install re
Summary
In this tutorial we learn how to fix re command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.