dir2slideshow command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dir2slideshow: command not found
or when using sudo you get the following error message
sudo: dir2slideshow: command not found
Solutions to dir2slideshow: command not found
How To Fix dir2slideshow: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dir2slideshow is provided by dvd-slideshow package.
dvd-slideshow is:
DVD Slideshow consists in a set of tools which allows one to create slideshows-style videos from a collection of pictures. This package provides the following programs:
- dir2slideshow: Generates a listing of the pictures in a given directory for easy input to dvd-slideshow.
- dvd-slideshow: This is the main script. It generates a DVD-compatible MPEG2 video file with audio from a text file input listing of pictures and effects.
- dvd-menu: Creates a simple DVD menu with buttons that link to MPEG2 files generated with dvd-slideshow or ones created by the user.
- gallery1-to-slideshow: Generates a text file listing of the pictures visible in a given “Gallery” (http://gallery.sourceforge.net) photo album in order to easily pass the information to dvd_slideshow.
- jigl2slideshow: Does the same thing as gallery2slideshow, but works on a jigl gallery.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dvd-slideshow
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dvd-slideshow.
sudo apt -y install dvd-slideshow
Or if you have aptitude installed you can use the following command.
sudo aptitude install dvd-slideshow
Summary
In this tutorial we learn how to fix dir2slideshow command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.