rd2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rd2: command not found
or when using sudo you get the following error message
sudo: rd2: command not found
Solutions to rd2: command not found
How To Fix rd2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rd2 is provided by rdtool package.
rdtool is:
RD is multipurpose documentation format created for documentating Ruby and output of Ruby world.
You can embed RD into Ruby script. And RD have neat syntax which help you to read document in Ruby script. On the other hand, RD have a feature for class reference.
RDtool is one of frontends of formatter for RD. This package provides rd2 command.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rdtool
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rdtool.
sudo apt -y install rdtool
Or if you have aptitude installed you can use the following command.
sudo aptitude install rdtool
Summary
In this tutorial we learn how to fix rd2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.