-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need help installing version from different fork #32887
Comments
Now, installing should remove older versions, like you see in the line
So, perhaps figure out where youtube-dl is currently living because the installer can't find it to uninstall. Perhaps was it installed using python3 while here you're using python2.7 to run Check Ultimately, i think pip can find it wherever it's been installed, so try just running |
|
Thank you for your replies! @aiur-adept, yes, as noted my OP, I installed youtube-dl using setup.py, and I tried removing using pip and get the response: I just checked my python distribution packages and there are three .egg-info files located in the paytyon2.7 folder:
I'm not sure what to do with that information. @dirkf, here's the output from the commands you suggested:
Again, not sure what to do. Learning more about Linux is on my endless list of things I need to do :-) |
So just acquire the nightly bundled POSIX release, make it executable, and overwrite |
I appreciate your assistance but I'm not familiar with the term 'bundled POSIX release'... OK, I looked it up -- Portable OS System Interface, but that doesn't tell me which file to grab from the nightly asset list, or how to 'make it executable'. (If a program isn't included in my distro's repository or the repository version is outdated, I'm usually at a loss on how to proceed. For youtube-dl, the -U parameter worked in the past, but last year, to resolve a different issue, I had to be spoon-fed instructions on where to locate, which file, and how to install a patched fork. It resolved my issue.) Sorry for being such a dunce. I'm thinking maybe I should take this to a Linux forum. |
@ginahoy You can download the nightly builds here: https://github.com/ytdl-org/ytdl-nightly/releases You'll want youtube-dl (click this link to download) Then This is a more direct way to install youtube-dl rather than using |
All the help you need is in #30839, in particular the linked "further installation guidance". The online manual is a bit less helpful, at least until #32786 is finished. Generally, users should only be running the build commands ( |
OK, that worked! (Although I fumbled around before I figured out how to make it executable using Thunar file mgr to change file properties.) The I'm still a bit confused as to why the pip command wasn't already installed on my system (re: s |
Use A default Python installation comes with pip but a package manager (apt, say) may disable it, on the grounds that it wants to be in charge of installing Python modules. Maybe one or more of your residual yt-dl installations were made with the system package manager? Also, and obligatory: XKCD 1987.
It shouldn't be so surprising since it was the point of the new release, but good to know. |
Checklist
Question
Last year, to resolve an issue, I was advised in this forum to install a patched version of youtube-dl from this fork. I recently updated from that fork to resolve a new issue, but was advised to switch back to the main fork. However, after installing the latest nightly (7/25), I checked the version and it's still showing the 7/30 build from the patched fork. Here's the terminal log:
I'm not very experienced with Linux commands, but I'm thinking maybe I need to uninstall the 7/30 patched version first. The README file provides this command:
sudo apt-get remove -y youtube-dl
but the response is:Package 'youtube-dl' is not installed, so not removed
... I think that command only applies when youtube-dl was installed using a package manager.I extracted youtube-dl from the GNU zip file then used setup.py to install, so I searched for a command to uninstall a program installed with setup.py and found this:
sudo pip uninstall youtube-dl
. When I run that command, I get this error:pip: command not found
.Please advise if I need to uninstall the patched version first and if so, what are the commands for that. Thx.
The text was updated successfully, but these errors were encountered: