need help installing version from different fork #26925

Open
opened 2026-02-21 14:33:12 -05:00 by deekerman · 0 comments
Owner

Originally created by @ginahoy on GitHub (Jul 31, 2024).

Checklist

  • [x ] I'm asking a question
  • [x ] I've looked through the README and FAQ for similar question

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:

xxxxx@linux-desktop ~/Music/youtube-dl $ sudo python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/local/bin/youtube-dl to 755
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info
Writing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info

xxxxx@linux-desktop ~/Music/youtube-dl $ youtube-dl --version
2024.07.30.40298

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.

Originally created by @ginahoy on GitHub (Jul 31, 2024). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions - Search the bugtracker for similar questions: http://yt-dl.org/search-issues - Finally, put x into all relevant boxes (like this [x]) --> - [x ] I'm asking a question - [x ] I've looked through the README and FAQ for similar question ## Question <!-- Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. --> Last year, to resolve an issue, I was advised in this forum to install a patched version of youtube-dl from [this fork](https://github.com/ytdl-patched/youtube-dl). I recently updated from that fork to resolve a new issue, but [was advised](https://github.com/ytdl-org/youtube-dl/issues/32882#issuecomment-2258009054) to switch back to the main fork. However, after installing the latest nightly ([7/25](https://github.com/ytdl-org/ytdl-nightly/releases)), I checked the version and it's still showing the 7/30 build from the patched fork. Here's the terminal log: ``` xxxxx@linux-desktop ~/Music/youtube-dl $ sudo python setup.py install running install running build running build_py running build_scripts running install_lib running install_scripts changing mode of /usr/local/bin/youtube-dl to 755 running install_data running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info Writing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info xxxxx@linux-desktop ~/Music/youtube-dl $ youtube-dl --version 2024.07.30.40298 ``` 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#26925
No description provided.