I'm having a certificate problem with youtube-dl, I'm managing to install only with the commands below:
Code:
wget http://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl --no-check-certificate
chmod a+rx /usr/local/bin/youtube-dl
wget http://yt-dl.org/downloads/latest/youtube-dl.sig -O youtube-dl.sig --no-check-certificate
gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl
rm youtube-dl.sig