Having difficult time using or downloading videos from Youtube it keeps saying
bash: /usr/local/bin/youtube-dl: Permission denied
I don't even know if I installed it correctly. My OS is Ubuntu 15.10 64.
Having difficult time using or downloading videos from Youtube it keeps saying
bash: /usr/local/bin/youtube-dl: Permission denied
I don't even know if I installed it correctly. My OS is Ubuntu 15.10 64.
It's possible the executable does not have the correct permissions.
For it to be in /usr/local/bin/youtube-dl
, you probably ran it with a sudo make install
or similar. it's in there as root:root
which is fine, but it's not going to work right.
Let's set the executable bit: sudo chmod +x /usr/local/bin/youtube-dl
Then try and use youtube-dl
.
Try to install it via pip3
At first intall python3-pip python-pip
sudo apt-get install python3-pip python-pip
then
sudo pip3 install --upgrade youtube-dl
youtube-dl https://www.youtube.com/watch?v=gEcmFa-JVWU --output file.mp4
– kenn
Apr 20 '16 at 15:34