daemon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
daemon: command not found
or when using sudo you get the following error message
sudo: daemon: command not found
Solutions to daemon: command not found
How To Fix daemon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu daemon is provided by daemon package.
daemon is:
There are many tasks that need to be performed to correctly set up a daemon process. This can be tedious. Daemon performs these tasks for other processes. This is useful for writing daemons in languages other than C, C++ or Perl (e.g. /bin/sh, Java).
To fix this problem, we can install more using the command below.
sudo apt-get -y install daemon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install daemon.
sudo apt -y install daemon
Or if you have aptitude installed you can use the following command.
sudo aptitude install daemon
Summary
In this tutorial we learn how to fix daemon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.