*not* just another blog ;)

Installing youtube-dl on Linux

- Posted in Quick Tip by with comments

I want to install the latest version of youtube-dl for Linux, the one that comes in the apt repository is horribly outdated and often doesn't work, so here's how you do it:

This will download the files needed..

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

And this will set it up so it can be executed..

sudo chmod a+rx /usr/local/bin/youtube-dl

Now we can run it:


We can update it also if there are some videos that give errors, which is a pretty common cause for an update:

youtube-dl -U

And we're done :)