mono-upnp-simple-media-server command not found

In this troubleshooting guide we learn how to fix mono-upnp-simple-media-server command not found error message

Introduction

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

mono-upnp-simple-media-server: command not found

or when using sudo you get the following error message

sudo: mono-upnp-simple-media-server: command not found

Solutions to mono-upnp-simple-media-server: command not found

How To Fix mono-upnp-simple-media-server: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mono-upnp-simple-media-server is provided by mono-upnp-bin package.

mono-upnp-bin is:

Mono.Upnp is a set of client/server libraries for the Universal Plug ’n Play specification, which can be found at http://www.upnp.org.

Mono.Upnp includes the following projects:

  • Mono.Ssdp: An implementation of the Simple Discovery Protocol.
  • Mono.Upnp: An implementation of the UPnP Device Architecture 1.1, Sections 2-6.
  • Mono.Upnp.GtkClient: An executable Gtk+ user interface for inspecting UPnP devices and services on the network.
  • Mono.Upnp.Dcp.MediaServer1: An implementation of the UPnP Audio/Video MediaServer1 Device Control Protocol.
  • Mono.Upnp.Dcp.MediaServer1.FileSystem: A MediaServer1 implementation which serves media from the filesystem.
  • Mono.Upnp.Dcp.MediaServer1.FileSystem.ConsoleServer: An executable console program which serves media from the filesystem.
  • Mono.Upnp.Dcp.MSMediaServerRegistrar1: An implementation of the Microsoft MSMediaServerRegistrar1 Device Control Protocol.

This package contains a sample Gtk+ user interface for inspecting UPnP devices and services on the network, as well as a sample media server.

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

sudo apt-get -y install mono-upnp-bin

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

You can also use apt command to install mono-upnp-bin.

sudo apt -y install mono-upnp-bin

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

sudo aptitude install mono-upnp-bin

Summary

In this tutorial we learn how to fix mono-upnp-simple-media-server command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.