Download YouTube Videos With youtube-dl On Ubuntu 9.04

Version 1.0
Author: Falko Timme
Follow me on Twitter
Last edited 09/15/2009

youtube-dl is a small command-line program to download videos from YouTube.com. It allows you to save videos as .flv files. This short article shows how to install and use it on Ubuntu 9.04.

I do not issue any guarantee that this will work for you!

 

1 Installing youtube-dl

youtube-dl is available as an Ubuntu package, so we can open a terminal and install it as follows:

sudo aptitude install youtube-dl

 

2 youtube-dl Usage

To learn about youtube-dl's usage, take a look at its man page:

man youtube-dl

Basically it works as follows:

youtube-dl -o [name of output file] [YouTube URL]

E.g.:

youtube-dl -o test.flv http://www.youtube.com/watch?v=6mIZvDD0RkQ

would save the video from http://www.youtube.com/watch?v=6mIZvDD0RkQ as test.flv in the current directory.

To watch the downloaded video, browse to its location in the File Browser and double-click the file:

The Movie Player will open and start the playback of the video. (If required plugins are missing, you will be guided through their installation before the playback starts.)

 

3 Links

Share this page:

11 Comment(s)

Add comment

Comments

From: at: 2009-10-28 10:14:14

youtube-dl -b -o test.flv http://www.youtube.com/watch?v=6mIZvDD0RkQ

To get the best quality...

 

From: Relst at: 2009-10-26 10:42:29
From: johntait at: 2009-10-25 13:41:04

I love this program it's simple to use and the instructions here are crystal clear many thanks!

From: Giorgos at: 2009-10-22 14:39:44

Hi! 

I'm using (at ubuntu x64) Flashgot (with firefox), which is downloading the video (with wget) at my home folder.

Also, firefox is downloading the video at its temp directory, so someone is able to copy the video from there, before closing firefox (and temp files are deleted).

Greets!!!

From: AMJ at: 2009-10-20 11:14:32

There are alternatives without installation:

http://keepvid.com/

http://www.bajaryoutube.com/ 

http://www.bajatube.net/

I haven't tested all of them, but some even let you choose the format of the downloaded video (mp4, avi, etc.).

The only advantage of youtube-dl is for scripting, but does it make sense?

From: Anonymous at: 2009-10-20 22:00:39

I hate to break it to you, but the program violates YouTube's terms of use (read them and you'll see you're not allowed to use 3rd party software to download videos on YouTube)

From: Anonymous at: 2009-10-20 18:06:17

yep great method. I use http://www.tubeleecher.com/ however

From: at: 2010-05-13 08:37:41

i often use Video Download Studio as my downloader, it can help me download videos off YouTube very smoothly.

From: Stephen Wong at: 2010-05-14 01:44:16

Thanks for this useful software. For me, I use Leawo free YouTube Downloader - http://www.leawo.com/youtube-download/

It can download YouTube for free. Besides, it can download videos other video sharing websites. You can check it.

From: Anonymous at: 2010-06-14 13:53:36

This is a great utility.  I would like to thank:

  • Ricardo Garcia Gonzalez: program core, YouTube.com InfoExtractor, metacafe.com InfoExtractor and YouTube playlist InfoExtractor.
  • Danny Colligan: YouTube search InfoExtractor, ideas and patches.
  • Benjamin Johnson: Google Video InfoExtractor, Photobucket InfoExtractor, Yahoo! Video InfoExtractor, generic InfoExtractor, ideas, patches, etc.
and everyone else involved!

 

From: arun at: 2010-10-12 17:52:06

 YouTube desktop client for Ubuntu or Linux - Minitube. Download and watch youtube videos using minitube. For more info visit 

http://ubuntu-india.blogspot.com/2010/10/free-youtube-video-downloader-ubuntu.html