RPIYT / 2013-04-29 08:09:45

Playing YouTube video on a RPI is possible directly from the Linux command-line, without having even to start X. It saves some resources. There are many tutorials (see 1, 2 for example) on how to install YouTube but I found that the information was spread all over, so here is a summary:

  1. Install youtube-dl (and update it) to download YouTube video:

    sudo apt-get update
    sudo apt-get install youtube-dl
    sudo youtube-dl -U
  2. Install Python setup tools, needed to install whitey: