How to download mp3 from Youtube videos

Posted by Vasilis on May 11, 2018

youtube-dl is a command-line program to download videos from and a few more sites.

Download youtube-dl directly

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

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

And then get the mp3 from a video

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


More informatio

Youtube-dl site