youtube-dl: download youtube videos in Ubuntu using command line

Ubuntu (featured logo)

If you use Ubuntu (or other Linux distribution) and you wish to download some video from youtube.com into .flv file you can try using youtube-dl command line utility. It just downloads videos without any online applications, converters or etc. Type the following command in terminal to get it installed:

sudo apt-get install youtube-dl
Let’s imagine you would like to download the following video: (this is part of Military Parade at Red Square in Russia at 9th of May 2010). Just run youtube-dl download utility as follows:

youtube-dl

and in a few minutes you will get 2leg8mUE9rs.flv file that could be viewed using almost any video player like my favorite one VLC.

youtube-dl

SHARE:
nv-author-image

Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

5 thoughts on “youtube-dl: download youtube videos in Ubuntu using command line”

  1. When you're watching your video with your browser, you'll also find it under /tmp. Best regards (sorry for my English)

  2. really, man… there's Firefox extensions and greasemonkey scripts that let you download the MP4 (mp3+h264) version. Look at those for reference and stop getting those horrible flv files… Right now, it'd also be interesting getting WebM.

  3. pranuk@prwnsi:~$ sudo ./youtube-install.sh
    [sudo] password for pranuk:
    sudo: ./youtube-install.sh: command not found
    pranuk@prwnsi:~$ sudo ./youtube-install.sh
    sudo: ./youtube-install.sh: command not found
    pranuk@prwnsi:~$ sudo ./youtube-install.sh
    sudo: ./youtube-install.sh: command not found
    pranuk@prwnsi:~$

Leave a Reply

Your email address will not be published. Required fields are marked *