How to Install and Use YouTube-DL on Ubuntu 18.04

Install youtube-dl from binary

sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r