stdsyslog command not found

In this troubleshooting guide we learn how to fix stdsyslog command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

stdsyslog: command not found

or when using sudo you get the following error message

sudo: stdsyslog: command not found

Solutions to stdsyslog: command not found

How To Fix stdsyslog: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu stdsyslog is provided by stdsyslog package.

stdsyslog is:

The stdsyslog utility executes a program, reads everything that it outputs to a set of file descriptors (by default the standard output and standard error streams) and logs it to the system log.

To fix this problem, we can install more using the command below.

sudo apt-get -y install stdsyslog

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install stdsyslog.

sudo apt -y install stdsyslog

Or if you have aptitude installed you can use the following command.

sudo aptitude install stdsyslog

Summary

In this tutorial we learn how to fix stdsyslog command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.