youtube-dl - YouTube To MP3 Downloader


youtube-dl - YouTube to MP3 downloader or any other format of your choosing, it is the most complete CLI based YouTube downloader, with support for many other sites.

youtube-dl is a command-line program to download videos from and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific.

With this advanced CLI-application you can easily download videos from over 270+ sites and amongst these are those listed below.

YouTube, Metacafe, Dailymotion, Instagram, Vine, Vimeo, Tumblr, Trilulilu, Syfy, Slashdot, RottenTomatoes, NBC, NBA, NBCNews, MySpace, MTV, Metacritic, KickStarter, GameSpot, Flickr, Dropbox, Discovery, CollegeHumor, ComedyCentral, CNN, CBS, Bloomberg, and 9gag.

In addition to the above, the 4tube, AddAnime, AppleTrailers, ARD, Bandcamp, BlipTV, Brightcove, Chilloutzone, Cinemassacre, Clipsyndicate, DepositFiles, and FranceInter are also among the supported websites.

You will also be able to download videos from adult-only websites, like YouPorn, XTube, XNXX, Pornjam, Pornotube, XHamster, PornHub, PornHd, RedTube, and Mofosex.

However, if you want to convert the .webm videos to .mp3, you will need FFMpeg installed on your system.

The easy way is to install the version from Debians repository, but if you want the latest, you need to read carefully here.

youtube-dl - YouTube to MP3 downloader.

How to install via a Terminal window:

Simplest way from Debian, but you will get an outdated version.

Find out which version is available in Debians repository:

apt-cache policy youtube-dl

Press Enter.

If you want this version, just install it with the following command:

supo apt-get install youtube-dl

Press, Enter. Done !

Latest version at the time of writing 2018-05-30.

How to install the latest version:

sudo wget -O /usr/local/bin/youtube-dl

Press Enter.

sudo chmod a+rx /usr/local/bin/youtube-dl

Press Enter, done.

Now let's learn how to use it, by examples:

For FULL HD 1080p:

youtube-dl -o file.mp4 -f 37 "URL"

Press Enter.

For 720p:

youtube-dl -o file.mp4 -f 22 "URL"

Press Enter.

Basic command is sometimes best option:

youtube-dl "URL"

Press Enter.

Other options:

-b "Best quality"
-m "Mobile version"
-d "High Definition"
-g "Don’t download, just show the url"
-c "Resume download of a video which was interrupted before."
-w "Don’t overwrite existing file."

To download and convert mp4, webm or any other format the YouTube Video might have, this command will download and convert it into an .mp3 file:

youtube-dl --extract-audio --audio-format mp3 <video URL>

Press Enter when done, wait and if it takes longer than expected, use:


To download a Playlist:

youtube-dl -itcv --yes-playlist

NOTE: This will download mp4, webm, mkv etc formats.

Press Enter, look for the files in your user home directory.

Now if you want to make this list turn into .mp3's do it like this:

youtube-dl -itcv --yes-playlist --extract-audio --audio-format mp3

Remember: Just copy the PLUDOMtEpSH_ .....etc after here it goes !!!!

How to update YouTube-DL software:

sudo youtube-dl -U

Press Enter.

If for some reason youtube-dl doesn't work, do this:

sudo apt-get install python-pip

Press Enter,

Then to fix the error:

sudo pip install youtube-dl --upgrade
Press Enter, this did it for me, however, there's still one more solution below if this doesn't work for you.

Clear youtube-dl's cache:

youtube-dl --rm-cache-dir

Press Enter, now it should be working.

Note: If your .mp3 is nameless !

Uninstall youtube-dl-2019.7.27 and update to youtube-dl-2019.7.30 and the problem is fixed.

If pip doesn't work for you, read this:

However, I did run into some problems later on the version before 2019.06.27, give or take a few months. So here is what I did.

Un-install all of it, yep the whole program and all its dependencies, via "Synaptic".

But first install it all and then uninstall it all, not so complicated but annoying.

Then test a download command from YouTube and if it tells you there is no youtube-dl installed, you are good to go !

Do the following and it should work:

sudo curl -L -o /usr/local/bin/youtube-dl

Press Enter,

sudo chmod a+rx /usr/local/bin/youtube-dl

Press Enter and then enter the URL you want to download.

youtube-dl -x --audio-format mp3 <URL>

PS. You need ffmpeg installed with "libmp3lame mp3 codec". This part is advanced and I will show you how to solve it in the ffmpeg article.

Press Enter, done.

Now it works fine for me again...

Developers website

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.


All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While strives to make the information on this site as accurate as possible, does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.


Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.