Install Youtube-dl the proper way

You maybe experiencing update problem and see this error:

It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

We have to install youtube-dl the proper way.

First you have to uninstall:

sudo apt-get remove -y youtube-dl

Install youtube-dl


sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
hash -r

If you have experiencing this error:

ERROR: YouTube said: Invalid parameters.

It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

You have to update youtube-dl this way:

sudo youtube-dl -U

If the problem still exist, maybe we have to wait for the update.

Leave a Comment

Your email address will not be published. Required fields are marked *