Hacker News new | ask | show | jobs
by paol 2537 days ago
youtube-dl is one of those rare programs that you shouldn't download from a repository. Do this instead:

- Download from the project page and put it anywhere in your path (it's a single file)

- Subsequently do 'youtube-dl -U' whenever you want to update. It updates itself in-place with the latest release (there's usually 2 or 3 released per week)

2 comments

Yes. That!

I quickly learned the difference. Downloading from YouTube breaks. No distro update. But updating only the script is quick and easy.

Initial installation is also very easy. Two one-line recipies to install it are provided. One using CURL and one using WGET.

https://ytdl-org.github.io/youtube-dl/index.html

I have been using it with ffmpeg on a google pixelbook on cruoton for over a year and love it.

What's the difference to installing 2-3 updates per week over the distro? One should be installing distro updates daily anyway.
Distro repositories can't keep up with the number or timeliness of updates. When youtube deploys an update that breaks the tool (happens on a semi-regular basis), you want access to the fix ASAP.