dms command not found

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

Introduction

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

dms: command not found

or when using sudo you get the following error message

sudo: dms: command not found

Solutions to dms: command not found

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

In Ubuntu dms is provided by anacrolix-dms package.

anacrolix-dms is:

dms is a UPnP DLNA Digital Media Server. It runs from the terminal, and serves content directly from the filesystem from the working directory, or the path given. The SSDP component will broadcast and respond to requests on all available network interfaces.

This package provides the executable dms binary files.

dms advertises and serves the raw files, in addition to alternate transcoded streams when it’s able, such as mpeg2 PAL-DVD and WebM for the Chromecast. It will also provide thumbnails where possible.

dms uses ffprobe/avprobe to get media data such as bitrate and duration, ffmpeg/avconv for video transoding, and ffmpegthumbnailer for generating thumbnails when browsing. These commands must be in the PATH given to dms or the features requiring them will be disabled.

Known Compatible Players and Renderers

  • Probably all Panasonic Viera TVs.
  • Android’s BubbleUPnP and AirWire
  • Chromecast
  • VLC
  • LG Smart TVs, with varying success.

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

sudo apt-get -y install anacrolix-dms

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

You can also use apt command to install anacrolix-dms.

sudo apt -y install anacrolix-dms

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

sudo aptitude install anacrolix-dms

Summary

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