RPIYT / 2013-04-29 08:06:50

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, to download YouTube video:

    sudo apt-get update
    sudo apt-get install youtube-dl
  2. Update youtube-dl to its latest version:

    sudo youtube-dl -U
  3. Install Python setup tools,