How to Download MP3 Tracks from a YouTube Video Using YouTube-DL

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

9 Responses

  1. Alfredo P. says:

    You might want to include the information on how to select or permanently set up a specific folder/path to download the file vs the home folder as the default location.

    Maybe link to the youtube-dl FAQ https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-put-downloads-into-a-specific-folder
    or
    alter the information in the link in favor of the music folder as this specific article is about making them into mp3s.

    • Marin Todorov says:

      Thank you for your suggestion Alfredo. Actually since there was quite an interest towards this article, I am thinking about either updating this one or writing a new one with a script that will allow you to easily manage your downloads, without passing this many parameters each time you download a track.

  2. Chris G says:

    Hey Jeff. I understand your concern. It looks like the full source is available for download. Look here:

    http://rg3.github.io/youtube-dl/download.html

    If it helps, I have been using the youtube-dl script since Tecmint put out the original article in September with no weird side effects. (Running Linux Mint which is an Ubuntu variant.)

    Chris

  3. Jos Collin says:

    There are lot of Firefox extensions available. You can install one of them and download video and mp3, while you are watching them in Firefox. So No need to use YouTube.dl

  4. Marin Todorov says:

    Hello Jeff,

    You don’t need to put the binary file in /usr/local/bin/. You can download it as regular user on your machine and place it in a directory by your choice from where you will access the file later. For example you can do:

    wget https://yt-dl.org/downloads/latest/youtube-dl -O /home/tecmint/

    And then run the file from /home/tecmint/

    If you are interested in reviewing the documentation about youtube-dl, you can check the following link:

    https://rg3.github.io/youtube-dl/

  5. You’re ask us to use our root privileges to install a binary in a system executable directory without the source code? How do we know that this isn’t malware of some kind, or a social engineering attack?

    I would really love to be able to do what you are doing, but without the source code, I’m not going to put it in a system directory.

    Maybe on a virtual machine or on a chroot’d machine.

    • Aaron Kili K says:

      @Jeff Silverman

      Great security concern there, may be you can check the source code out, i have used this program and i do not think from my assessment that it has any security concerns yet.

      But who knows, issues such as the one you have raised have to be put into great consideration.

      @Marin Todorov
      Thanks for the great article

    • Marin Todorov says:

      Apologies I didn’t have the time to provide the link to the source code of the application. I see that Josh already did that for me :)

      Still, I haven’t heard for any problems with youtube-dl, but you may always download it to a different location if you don’t like the one provided in the article.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's