Linux.com

Home Linux Community Forums Software Installation Download youtube videos through the terminal

Download youtube videos through the terminal

Link to this post 14 Mar 11

then what is the direct way to download youtube video thank you in advance

Link to this post 14 Mar 11

morean51 wrote:

then what is the direct way to download youtube video thank you in advance

First install the script youtube-dl mentioned earlier in the thread; on Ubuntu the command is
sudo apt-get install youtube-dl

You can then use youtube-dl to download the clip associated with a given youtube URL, e.g.:
youtube-dl "http://www.youtube.com/watch?v=a9xAKttWgP4"

The output file is a flash video, and should be playable with e.g. mplayer and vlc, or you can convert it to other formats using ffmpeg or mencoder.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board