Easy downloading videos from youtube in Terminal
So from now on forget about those fancy browser add ons just to download youtube to your computer. Using Terminal in linux, you can download any youtube you want just by typing few commands.
So lets get started. The following procedures may differ base on your Linux distro so pay attention to that.
-------------------------------
- We were going to add first the repository. Copy and paste this command: sudo add-apt-repository ppa:nilarimogard/webupd8
- Update the repository via sudo apt-get update
- Let us now install youtube-dl just type sudo apt-get install youtube-dl
For CentOS, Fedora and its cousin and relatives:
-------------------------------------------------
- Enable epel repository
- Then type yum install youtube-dl
Now everything we need is installed, let us start downloading a video. For the purpose of this tutorial I'm going to download one of my favorite band and their song.
Type the following commands in your Terminal:
youtube-dl http://www.youtube.com/watch?v=CD-E-LDc384
So the syntax is :
youtube-dl [URL]
However that is not the end. Believe it or not you can do this more than that such as selecting the video format, resolution, downloading all type of format and even changing the filename.
Cool right? For more info, just check out their documentation or just type youtube-dl --help or youtube-dl -h or man youtube-dl
Resources: http://rg3.github.io/youtube-dl/
Thanks!
youtube-dl [URL]
However that is not the end. Believe it or not you can do this more than that such as selecting the video format, resolution, downloading all type of format and even changing the filename.
Cool right? For more info, just check out their documentation or just type youtube-dl --help or youtube-dl -h or man youtube-dl
Resources: http://rg3.github.io/youtube-dl/
Thanks!