Error No Write Permissions On /usr/local/bin/youtube-dl
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the restart youtube-dl mac company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions youtube-dl not working Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it youtube-dl commands only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Updating youtube-dl gives me ERROR: no write permission youtube-dl windows up vote 0 down vote favorite I couldn't download anymore with youtube-dl so I uninstalled it and followed this post http://askubuntu.com/a/380460/408472 and I still can't download anything. Now I get an ERROR: Signature extraction failed. Where it encourages me to update youtube-dl. So I type youtube-dl -U and I get this: ERROR: no write permissions on /usr/local/bin/youtube-dl youtube-dl share|improve this question edited Jun 6 '15 at 22:11 Braiam 39k1693154 asked Jun 6 '15 at 20:32
Youtube-dl Download
Rin007 3811 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted The -U flag updates youtube-dl. To do this, you need root permissions to write in /usr/local/bin/. Try running it again with sudo. sudo youtube-dl -U share|improve this answer answered Jun 6 '15 at 20:39 camconn 1,284416 Thanks, it works. I'm still somewhat new to this. It tells me to restart youtube-dl. Is there a command I can type that does this? –Rin007 Jun 6 '15 at 20:41 1 @Rin007 Normally youtube-dl will close itself automatically. If it doesn't close itself, manually stop it with Ctrl+C on the command line... And remember to mark as solved if this helped out. –camconn Jun 6 '15 at 20:43 +1 well that was easy :) –Wilf Jun 6 '15 at 22:17 add a comment| up vote 0 down vote Those commands should update the script (as well as install it), so you don't need to run youtube-dl -U, you can run them again to update it to the latest version. However, if you want to run youtube-dl -U, you can use: sudo chown $USER:$USER /usr/local/bin/youtube-dl to make your user the owner of the file, and then you should have write access. share|improve this answer answered Jun 6 '15 at 20:40 Wilf 15.5k44276 add a comment| Your
Sign in Pricing
Youtube-dl Update
Blog Support Search GitHub This repository youtube-dl github Watch 923 Star 20,800 Fork 3,986 rg3/youtube-dl Code Issues 1,301 Pull youtube-dl mp3 requests 157 Projects 0 Pulse Graphs New issue Download update is not downloadning #3240 Closed jarvii opened this Issue https://askubuntu.com/questions/633139/updating-youtube-dl-gives-me-error-no-write-permission/633140 Jul 11, 2014 · 1 comment Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants jarvii commented Jul 11, 2014 Whats wrong now? I have a ubuntu. jarmoadmin@jarmo-EP149AA-AK8-SR1719SF-EL610:~$ youtube-dl https://github.com/rg3/youtube-dl/issues/3240 -U Updating to version 2014.07.11.3 ... ERROR: no write permissions on /usr/local/bin/youtube-dl jarmoadmin@jarmo-EP149AA-AK8-SR1719SF-EL610:~$ Collaborator jaimeMF commented Jul 11, 2014 /usr/local/bin/youtube-dl is probably only writable by the root user, you'll need to use sudo: sudo youtube-dl -U. jaimeMF closed this Jul 11, 2014 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Sign in Pricing Blog Support Search GitHub This repository Watch 923 Star 20,800 Fork 3,986 rg3/youtube-dl Code Issues 1,301 Pull requests https://github.com/rg3/youtube-dl 157 Projects 0 Pulse Graphs Command-line program to download videos from YouTube.com and other video sites http://rg3.github.io/youtube-dl/ 13,638 commits 4 branches 837 releases 445 contributors Unlicense Python 99.6% http://stackoverflow.com/questions/16995863/not-able-to-install-youtube-dl Other 0.4% Python Other Clone or download Clone with HTTPS Use Git or checkout with SVN using the web URL. Open in Desktop Download ZIP Find file Branch: error no master Switch branches/tags Branches Tags download-server gh-pages master rtmp_test Nothing to show 2016.10.12 2016.10.07 2016.10.02 2016.09.27 2016.09.24 2016.09.19 2016.09.18 2016.09.15 2016.09.11.1 2016.09.11 2016.09.08 2016.09.04.1 2016.09.04 2016.09.03 2016.08.31 2016.08.28 2016.08.24.1 2016.08.24 2016.08.22 2016.08.19 2016.08.17 2016.08.13 2016.08.12 2016.08.10 2016.08.07 2016.08.06 2016.08.01 2016.07.30 2016.07.28 2016.07.26.2 2016.07.26.1 2016.07.26 2016.07.24 2016.07.22 2016.07.17 2016.07.16 2016.07.13 2016.07.11 2016.07.09.2 2016.07.09.1 2016.07.09 2016.07.07 2016.07.06 2016.07.05 2016.07.03.1 error no write 2016.07.03 2016.07.02 2016.07.01 2016.06.30 2016.06.27 2016.06.26 2016.06.25 2016.06.23.1 2016.06.23 2016.06.22 2016.06.20 2016.06.19.1 2016.06.19 2016.06.18.1 2016.06.18 2016.06.16 2016.06.14 2016.06.12 2016.06.11.3 2016.06.11.2 2016.06.11.1 2016.06.11 2016.06.03 2016.06.03_tmp 2016.06.02 2016.05.30.2 2016.05.30.1 2016.05.30 2016.05.21.2 2016.05.21.1 2016.05.21 2016.05.16 2016.05.10 2016.05.01 2016.04.24 2016.04.19 2016.04.13 2016.04.06 2016.04.05 2016.04.01 2016.03.27 2016.03.26 2016.03.25 2016.03.18 2016.03.14 2016.03.06 2016.03.01 2016.02.27 2016.02.22 2016.02.13 2016.02.10 2016.02.09.1 2016.02.09 2016.02.05.1 2016.02.05 Nothing to show New pull request Latest commit 580d411 Oct 13, 2016 yan12125 [parliamentliveuk] Recognize lower case URLs … Closes #10912 Seems parliamentliveuk matches URLs case-insentive. For example this URL also works: http://parliamentlive.tv/EvEnt/Index/3F24936f-130f-40bf-9a5d-b3d6479da6a4 Permalink Failed to load latest commit information. .github release 2016.10.12 Oct 12, 2016 bin adding the script hook Nov 29, 2012 devscripts Unify coding cookie Oct 3, 2016 docs release 2016.10.12 Oct 12, 2016 test [test/test_http] Update tests Oct 11, 2016 youtube_dl [parliamentliveuk] Recognize lower case URLs Oct 13, 2016 .gitignore Ignore and cleanup 3gp files Sep 26, 2016 .travis.yml [travis] Skip downloading srelay Jul 13, 2016 AUTHORS Rename "Steffan 'Ruirize' James" to "Steffan Donal" Oct 4, 2016 CONTRIBUTING.md re
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Not able to install youtube-dl up vote 2 down vote favorite I have tried almost everything I could find on google but could not install youtube-dl on Debian Mint. Try 1 Installed and updated with following commands: sudo apt-get install youtube-dl sudo youtube-dl -U But when tried youtube-dl http://www.youtube.com/watch?v=dwYatpwrs8s Then I got Hi! We changed distribution method and now youtube-dl needs to update itself one more time. This will only happen once. Simply press enter to go on. Sorry for the trouble! From now on, get the binaries from http://rg3.github.io/youtube-dl/download.html, not from the git repository. Then I went to http://rg3.github.io/youtube-dl/download.html and followed the installation instructions: Try 2 sudo wget http://youtube-dl.org/downloads/2013.05.23/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+x /usr/local/bin/youtube-dl Got the same error about the distribution change and new link. Try 3 So I installed pip on my debian first and ran sudo pip install --upgrade youtube_dl But I am still getting same error and I have no idea what to do about it. linux debian youtube-dl share|improve this question edited Jun 8 '13 at 4:18 gunr2171 5,682103160 asked Jun 8 '13 at 3:54 user2465533 1912 youtube-dl does not need to be installed, just download it, assign exec permission and use it as usual, ./youtube-dl path-to-video –slackmart Jun 8 '13 at 4:08 @sgmart Are you sure about it. Are you talking about Youtube-dl.tar.gz –Akash Chauhan Apr 24 '15 at 8:27 Yep, I'm sure, here's the link: rg3.github.io/youtube-dl/download.html. Since it's a python module, it also can be installed using pip as showed in the previous link. ;) –slackmart Apr 25 '15 at 23:42 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote Just re-execute sudo youtube-dl -U and press Enter to update to the latest version. With your second try, you installed it a second time (to /usr/loca