uninstalling yt-dlp
See original GitHub issueChecklist
- 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:
- Created a year ago
- Comments:14 (2 by maintainers)
Top Related StackOverflow Question
No. The executable variant is determined by other factors, not by filename
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?