So you need a Youtube downloader, but don’t want to upgrade your home server because if it ain’t broken, don’t fucking fix it. So after updating yt-dlp, it fucking crashed with a really nice error:

1
Exception: You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp

What to do now? It’s simple. First of all, remove the shit version you have:

1
python3 -m pip uninstall  yt-dlp

Step two is to download and install yt-dlp_linux like this:

1
2
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -O /usr/local/bin/yt-dlp_linux
sudo chmod a+rx /usr/local/bin/yt-dlp_linux

Then make a symbolic link named yt-dlp to it:

1
sudo ln -s /usr/local/bin/yt-dlp_linux /usr/local/bin/yt-dlp

… and you should be good to go. Now to use it, just run

1
yt-dlp https://www.youtube.com/watch?v=nsCIeklgp1M