Score:0

edit chmod for youtube-dl

br flag

I'm still learning my way around linux. I tried installing youtube-dl following these instructions https://itsfoss.com/download-youtube-linux/ When I got to sudo chmod a+rx /usr/local/bin/youtube-dl I got a message saying there was no file at that location, so I went looking for it and found it here sudo chmod a+rx /usr/bin/youtube-dl

Came to download audio and got "YouTube said: Unable to extract video data"

Bit more searching showed that to update on ubuntu I should purge and sudo pip3 install youtube-dl then i can update youtube-dl

now i'm getting a message saying "bash: /usr/bin/youtube-dl: No such file or directory "

that's the address i used in the original chmod command so i think something is still looking there. looked at removing the chmod change with this:

chmod: cannot access '/usr/bin/youtube-dl': No such file or directory

...tbh i dont know linux well enough to have any idea whats happening.

thanks

hr flag
See [After installing binary to another directory, error "No such file or directory"](https://askubuntu.com/questions/1215615/after-installing-binary-to-another-directory-error-no-such-file-or-directory)
24601 avatar
in flag
the easiest way to download `youtube-dl` is from the ubuntu software center
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.