There are many ways for downloading Youtube videos that work on almost all operating systems, I know that most of you, geeky people, know a buch of them; but what I am going to show in this post is how to dowload Youtube videos more awesomely using Linux
To do this, you need to install a package called youtube-dl from Ubuntu’s official repositories, just look up for it in the software center or you can visit the official website if you’re using another distro.
What makes youtube-dl awesome is that it doesn’t have a GUI , to use it, you need to launch a terminal window.
This is an example of how to download a video:
youtube-dl -f 18 http://www.youtube.com/watch?v=bu3rsha1ZtI
-f parameter let you choose the format of the video, in this example the format is18, which means 320p. A full list of formats and their numbers can be found here.
Another parameters can be added, the ones I use the most are –extract-audio and –audio-format; the first one lets you get only the audio from the video file, the second one lets you choose the output file output format; here’s an example:
youtube-dl –extract-audio –audio-format mp3 http://www.youtube.com/watch?v=bu3rsha1ZtI
More tips can be found in the official documentation.