05-23-2021, 12:41 PM
(05-23-2021, 02:59 AM)Jerry link Wrote: You need to reverse what ever method you installed it with in the first place. Then start fresh with this...
Code: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
Then updates are simply..
Code:sudo youtube-dl --update
Ok, nice...so I uninstalled the version I had and then used the commands you posted to install from yt-dl.org. Afterwards, I got the error when trying to --update or --version the program.
Code:
/usr/bin/env: ‘python’: No such file or directory
I was like what? Isn't python installed by default on every system these days?

But I went ahead and tried this:
Code:
sudo apt-get install python
And it installed "python-is-python2" package and now it works and youtube-dl is up to date.