stdiscosrv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
stdiscosrv: command not found
or when using sudo you get the following error message
sudo: stdiscosrv: command not found
Solutions to stdiscosrv: command not found
How To Fix stdiscosrv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu stdiscosrv is provided by syncthing-discosrv package.
syncthing-discosrv is:
Syncthing is an application that lets you synchronize your files across multiple devices. This means the creation, modification or deletion of files on one machine will automatically be replicated to your other devices. Syncthing does not upload your data to the cloud but exchanges your data across your machines as soon as they are online at the same time.
Syncthing relies on a discovery server to find peers on the internet. Anyone can run a discovery server and point its syncthing installations to it.
This package contains the discovery server binary: stdiscosrv.
To fix this problem, we can install more using the command below.
sudo apt-get -y install syncthing-discosrv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install syncthing-discosrv.
sudo apt -y install syncthing-discosrv
Or if you have aptitude installed you can use the following command.
sudo aptitude install syncthing-discosrv
Summary
In this tutorial we learn how to fix stdiscosrv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.