Free Youtube Video Downloader for Linux
Here's how to install Youtube Video Downloader for UNIX users (Linux, Mac OS X)
How to install Youtube DL on Mac
Remember youtube-dl requires Python version 2.6, 2.7, or 3.2+ to work.
To install Youtube Downloader, type:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
If you do not have curl, you can alternatively use a recent wget:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
You can also use pip:
sudo pip install --upgrade youtube_dl
This command will update youtube-dl if you have already installed it.
To Download Video or Audio with Youtube DL
Run the following command:
youtube-dl https://<link-to-your-video>
If you just want audio use this command:
youtube-dl -f bestaudio https://<link-to-your-video>