Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to update software not in repo
#9
(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?  Confusedhrug

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.
Reply


Messages In This Thread
how to update software not in repo - by timbuck2 - 05-22-2021, 12:50 PM
Re: how to update software not in repo - by timbuck2 - 05-23-2021, 12:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)