youtube-download command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
youtube-download: command not found
or when using sudo you get the following error message
sudo: youtube-download: command not found
Solutions to youtube-download: command not found
How To Fix youtube-download: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu youtube-download is provided by libwww-youtube-download-perl package.
libwww-youtube-download-perl is:
WWW::YouTube::Download is a Perl module that provides a basic interface to YouTube’s video sharing service. It enables developers to programmatically retrieve information (titles and format information), and more importantly, to download arbitrary videos.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libwww-youtube-download-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libwww-youtube-download-perl.
sudo apt -y install libwww-youtube-download-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libwww-youtube-download-perl
Summary
In this tutorial we learn how to fix youtube-download command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.