ddir command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ddir: command not found
or when using sudo you get the following error message
sudo: ddir: command not found
Solutions to ddir: command not found
How To Fix ddir: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ddir is provided by ddir package.
ddir is:
Display an indented directory tree using ASCII graphical characters to represent the hierarchical structure. The directories to include or exclude can be specified with command line options. Ddir is a Perl implementation of the tree(1) program.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ddir
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ddir.
sudo apt -y install ddir
Or if you have aptitude installed you can use the following command.
sudo aptitude install ddir
Summary
In this tutorial we learn how to fix ddir command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.