Install alltube, the GUI for youtube-dl, on Apache

Update 12/08/2016

Installation packages are now available from the GitHub page of alltube, which will make installing it much more straighforward. If you prefer installing from Git, then the process has also been simplified to use composer. The original post is below, with the instructions on how to configure this before these updates were released.

Original post

I have recently come across a very interesting project on GitHub: alltube. It’s essentially a Web GUI for the youtube-dl command which, as you can tell from its name, allows you to download videos from YouTube (audio-only download is also possible).

The instructions on the GitHub project page, however, are not very thorough, so this is a step-by-step guide on how to install alltube on Apache running on Ubuntu 12.04.

  1. Download the alltube project folder:
  2. Unzip it:
  3. Rename it to something like alltube:
    mv alltube-master alltube
  4. Change to this directory:
    cd alltube
  5. Download youtube-dl:
  6. Make it executable:
    sudo chmod a+x /var/www/alltube/youtube-dl
  7. Install npm:
    curl -sL | sudo bash -
    sudo apt-get install -y nodejs
  8. Install all dependencies for the project:
    npm install
  9. Install grunt:
    npm install -g grunt-cli
  10. Run grunt:
  11. Create your configuration file (the default looks good already):
    cp config.example.php config.php
  12. Install the necessary codecs and conversion tools:
    sudo apt-get install libavcodec-extra-53 rtmpdump
  13. Make www-data the owner of this folder:
    sudo chown -R www-data:www-data alltube

The result is pretty impressive (and yes, I have a thing for well-designed web apps):


A few resources that helped me through the installation (give credit where credit is due):


  1. Thanks for the step-by-step guide :)
    I’m currently working on simplifying the install steps (only one command that creates the config file, downloads youtube-dl, an runs grunt).


    • Hey Pierre, thanks for the update ;) Interesting, poke me once you are done with the new installer so I can update the post ;)

      • Hello,

        Sorry, I forgot to come back here.
        We now have release packages that should work out of the box.
        The install process from Git has been simplified as well (you only need to run composer and npm).

        Please tell me if you think we need to add some things to the README.


        • Hi there,

          No worries, glad to see you back here :) With the new installation methods you provide I don’t think there is anything else to add to the readme (although I haven’t yet tried installing the package or the composer method).

          Keep up the good work man!

Leave a Reply

© 2018 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: