Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 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 .