Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Download YouTube via command line

How to download a Youtube video from command line? Mac OS X and/or Ubuntu Linux. Optionally, i'd like to save it in .avi or .mkv format.

share|improve this question

marked as duplicate by Canadian Luke, Karan, Ƭᴇcʜιᴇ007, slhck Dec 22 '12 at 12:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
For ubuntu check out: sudo apt-get install youtube-dl –  Ofiris Dec 21 '12 at 23:19

1 Answer 1

up vote 2 down vote accepted

youtube-dl works on OS X, Linux and Windows, and can download videos in any format YouTube provides. You can use other tools like mencoder to change the codec or container format afterwards.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.