dh_xine command not found

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

Introduction

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

dh_xine: command not found

or when using sudo you get the following error message

sudo: dh_xine: command not found

Solutions to dh_xine: command not found

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

In Ubuntu dh_xine is provided by libxine2-dev package.

libxine2-dev is:

This contains development files (headers, documentation and the like) and additional documentation for developers for the xine library (libxine).

Libxine provides the complete infrastructure for a video/media player. It supports MPEG 1/2 and some AVI and Quicktime videos out of the box, so you can use it to play DVDs, (S)VCDs and most video files out there. It supports network streams, subtitles and even MP3 or Ogg files. It’s extensible to your heart’s content via plugins for audio and video output, input media, demuxers (stream types), audio/video and subtitle codecs.

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

sudo apt-get -y install libxine2-dev

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

You can also use apt command to install libxine2-dev.

sudo apt -y install libxine2-dev

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

sudo aptitude install libxine2-dev

Summary

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