uninstalling yt-dlp

See original GitHub issue

Checklist

  • I’m asking a question and not reporting a bug or requesting a feature
  • I’ve looked through the README
  • I’ve verified that I’m running yt-dlp version 2022.06.29 (update instructions) or later (specify commit)
  • I’ve searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood

since my question is called “offtopic” in dropping python 3.6 topic i have to open new topic.

how do i uninstall yt-dlp on linux mint 19 tara (which doesn’t have python 3.7) and replace it by that binary file instead? back in the day i used following two commands to install yt-dlp: sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp sudo chmod a+rx /usr/local/bin/yt-dlp

has there been copied only one binary to /usr/local/bin/yt-dlp? no other files? so do i only have to replace that yt-dlp script file by that standalone yt-dlp file in that same /usr/local/bin folder yt-dlp script used to be?

and is https://github.com/yt-dlp/yt-dlp/releases/download/2022.06.29/yt-dlp_linux that standalone executable for linux we are talking about?

btw. i already searched in readme file (https://github.com/yt-dlp/yt-dlp#readme) for the word “uninstall” but search didn’t find anything. and by searching in bugtracker i only find that dropping python 3.6 topic where my questions about uninstalling are hidden and not answered because marked “offtopic”.

since my question is no bug report, there is also no output to be attached. this question is only about uninstalling yt-dlp script based on no longer supported python 3.6 and replacing that by yt-dlp standalone…

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Jul 3, 2022

Doesn’t that give problems when you want update with sudo yt-dlp -U?

No. The executable variant is determined by other factors, not by filename

1reaction
observeroftime01commented, Jul 3, 2022
3. add `yt-dlp-linux` to that folder, and rename it to `yt-dlp`

Doesn’t that give problems when you want update with sudo yt-dlp U? That’s why I suggested the symlink.

No, I think you can rename the executable, and theoretically yt-dlp should find the right version to update with.

I can only speak to Windows systems though, where I rename yt-dlp_min to youtube-dl for comparability’s sake, and when I update it, it seems to find the right windows executable (yt_dlp_min.exe) to update with.

Though I don’t see anything wrong with a symlink either. Why rename the executable when you can just create an arbitrarily named link, and leave the executable alone?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uninstalling : r/youtubedl - Reddit
Just delete the exe file. I don't think it create any other files for its working. If you have config of youtube-dl then...
Read more >
How to completely uninstall youtube-dl from windows?
Check the log file of the program to see where it copied files and where it modified the registry. · Uninstall by standard...
Read more >
How to uninstall/install youtube-dl by using terminal
4 Answers 4 · sudo apt-get remove youtube-dl. remove youtube-dl. After that: · sudo apt-get install youtube-dl. install youtube-dl.
Read more >
yt-dlp - PyPI
yt -dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and...
Read more >
youtube_dl has not uninstall - Stack Overflow
Brew. You can try $ brew reinstall youtube-dl. Or $ brew uninstall youtube-dl $ brew autoremove $ brew cleanup $ brew install youtube-dl....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found