Youtube dl on Debian 10 update/upgrade?
Hi OS specifics--Debian 10, firefos, cimmanon. Youtube -dl needs upgrade/ update? Functionally illiterate linux user wishes youtube -dl update/update? advice. Thanks a
a writes:
Hi
OS specifics--Debian 10, firefos, cimmanon.
Youtube -dl needs upgrade/ update?
Functionally illiterate linux user wishes youtube -dl update/update? advice.
You didn't like my instructions last night at the meeting, but I'll give them again here anyway, with more details: YouTube frequently changes its pages, so youtube-dl has to be updated frequently to keep up. Since Debian stable doesn't update software often, you need to get youtube-dl from somewhere else. First, you'll probably want to sudo apt uninstall youtube-dl to make sure the obsolete Debian version isn't getting in the way. The best place to get the latest youtube-dl is its project website: https://yt-dl.org/ If you click on "Download instructions", you get taken to a page that suggests running the two commands: 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 If you run these two commands, now you'll have a copy of the latest youtube-do installed in /usr/local/bin, which is probably in your path already. But if not (if you type youtube-dl and get Command not found), you can run it by typing: /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc (or whatever your desired youtube URL is). That should work. But if it breaks again, weeks or months from now, you can update it by typing those same sudo curl and sudo chmod commands again. ...Akkana
Is there not a repository one could add to etc/apt/sources.list.d that would keep it up to day once installed? On Fri, Sep 25, 2020 at 12:15 PM Akkana Peck <akkana@shallowsky.com> wrote:
a writes:
Hi
OS specifics--Debian 10, firefos, cimmanon.
Youtube -dl needs upgrade/ update?
Functionally illiterate linux user wishes youtube -dl update/update? advice.
You didn't like my instructions last night at the meeting, but I'll give them again here anyway, with more details:
YouTube frequently changes its pages, so youtube-dl has to be updated frequently to keep up. Since Debian stable doesn't update software often, you need to get youtube-dl from somewhere else.
First, you'll probably want to sudo apt uninstall youtube-dl to make sure the obsolete Debian version isn't getting in the way.
The best place to get the latest youtube-dl is its project website: https://yt-dl.org/
If you click on "Download instructions", you get taken to a page that suggests running the two commands:
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
If you run these two commands, now you'll have a copy of the latest youtube-do installed in /usr/local/bin, which is probably in your path already. But if not (if you type youtube-dl and get Command not found), you can run it by typing:
/usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc
(or whatever your desired youtube URL is).
That should work. But if it breaks again, weeks or months from now, you can update it by typing those same sudo curl and sudo chmod commands again.
...Akkana _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
On Fri, 25 Sep 2020 12:15:19 -0600 Akkana Peck <akkana@shallowsky.com> wrote: ...
The best place to get the latest youtube-dl is its project website: https://yt-dl.org/
I use the version from the debian package archives and that works well for me. But you need to be running testing or set up apt preferences so you can pull the package out of testing and/or unstable. As Akkana pointed out, the version in stable is typically broken. Unless you already are running testing or have your system setup to run packages from multiple distributions, you should probably follow Akkana's instructions. I just looked at what is currently in the debian archives. # apt policy youtube-dl youtube-dl: Installed: 2020.09.14-1 Candidate: 2020.09.14-1 Version table: *** 2020.09.14-1 650 650 http://ftp.us.debian.org/debian testing/main amd64 Packages 100 /var/lib/dpkg/status 2020.09.14-1~bpo10+1 100 100 http://ftp.debian.org/debian buster-backports/main amd64 Packages 2019.01.17-1.1 900 900 http://deb.debian.org/debian buster/main amd64 Packages So it looks like using backports might also work. But I have never tried that. It does not make sense to me for my configuration. https://backports.debian.org/Instructions/ Mars -- ============================================================= J. Marsden DeLapp, PE President DeLapp & Associates, Inc. dba DeLapp Engineering. Providing lighting and power planning, design and analysis services for commercial, industrial and large residential facilities. 1190 Harrison Road Ste 3a Santa Fe NM 87507 (505) 983-5557 https://DeLapp.com =============================================================
Hi Here are the results thus far.How do I check where youtube-dl is located? thanks RESULTS: a@alap:~$ sudo /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc sudo: /usr/local/bin/youtube-dl: command not found a@alap:~$ a@alap:~$ /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc bash: /usr/local/bin/youtube-dl: Permission denied a@alap:~$ sudo usage: sudo -h | -K | -k | -V usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user] usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command] usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] file ... a@alap:~$ sudo /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc sudo: /usr/local/bin/youtube-dl: command not found a@alap:~$ On 9/25/20 12:15 PM, Akkana Peck wrote:
/usr/local/bin/youtube-dlhttps://www.youtube.com/watch?v=-XsvoJ3vyBc
Hi a@alap:~$ /usr/local/bin/youtube-dl bash: /usr/local/bin/youtube-dl: Permission denied a@alap:~$ sudo /usr/local/bin/youtube-dl [sudo] password for a: sudo: /usr/local/bin/youtube-dl: command not found a@alap:~$ Thanks On 9/25/20 12:15 PM, Akkana Peck wrote:
a writes:
Hi
OS specifics--Debian 10, firefos, cimmanon.
Youtube -dl needs upgrade/ update?
Functionally illiterate linux user wishes youtube -dl update/update? advice. You didn't like my instructions last night at the meeting, but I'll give them again here anyway, with more details:
YouTube frequently changes its pages, so youtube-dl has to be updated frequently to keep up. Since Debian stable doesn't update software often, you need to get youtube-dl from somewhere else.
First, you'll probably want to sudo apt uninstall youtube-dl to make sure the obsolete Debian version isn't getting in the way.
The best place to get the latest youtube-dl is its project website: https://yt-dl.org/
If you click on "Download instructions", you get taken to a page that suggests running the two commands:
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
If you run these two commands, now you'll have a copy of the latest youtube-do installed in /usr/local/bin, which is probably in your path already. But if not (if you type youtube-dl and get Command not found), you can run it by typing:
/usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc
(or whatever your desired youtube URL is).
That should work. But if it breaks again, weeks or months from now, you can update it by typing those same sudo curl and sudo chmod commands again.
...Akkana _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
NMGLugers, Okay, Anthony is all set. His version of youtube-dl is 2020.09.20 and he successfully downloaded a video this morning. He had used curl to obtain the binary, but had not successfully changed permissions as evidenced by his last email above. Once permissions were set and the version verified he did a test and successfully got and then viewed his goal video. Afterwards we discussed how to maintain this in the future and he has saved a copy of the instructions from Akkana. We discussed the difference between using the Debian repository and the external source for this version. Have a good weekend and congratulations to Jared. Thank you, Ted P On Fri, Sep 25, 2020 at 1:41 PM a <a@kaluta.us> wrote:
Hi
a@alap:~$ /usr/local/bin/youtube-dl bash: /usr/local/bin/youtube-dl: Permission denied a@alap:~$ sudo /usr/local/bin/youtube-dl [sudo] password for a: sudo: /usr/local/bin/youtube-dl: command not found a@alap:~$
Thanks
On 9/25/20 12:15 PM, Akkana Peck wrote:
a writes:
Hi
OS specifics--Debian 10, firefos, cimmanon.
Youtube -dl needs upgrade/ update?
Functionally illiterate linux user wishes youtube -dl update/update? advice. You didn't like my instructions last night at the meeting, but I'll give them again here anyway, with more details:
YouTube frequently changes its pages, so youtube-dl has to be updated frequently to keep up. Since Debian stable doesn't update software often, you need to get youtube-dl from somewhere else.
First, you'll probably want to sudo apt uninstall youtube-dl to make sure the obsolete Debian version isn't getting in the way.
The best place to get the latest youtube-dl is its project website: https://yt-dl.org/
If you click on "Download instructions", you get taken to a page that suggests running the two commands:
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
If you run these two commands, now you'll have a copy of the latest youtube-do installed in /usr/local/bin, which is probably in your path already. But if not (if you type youtube-dl and get Command not found), you can run it by typing:
/usr/local/bin/youtube-dl https://www.youtube.com/watch?v=-XsvoJ3vyBc
(or whatever your desired youtube URL is).
That should work. But if it breaks again, weeks or months from now, you can update it by typing those same sudo curl and sudo chmod commands again.
...Akkana _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
participants (5)
-
a -
Akkana Peck -
Don Crowder -
J. Marsden DeLapp -
Ted Pomeroy