- Open terminal.
- Use any one of following to install youtube-dl (A downloader written in python).
- Fire these 2 command if you have curl installed.
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl
- Fire these 2 commands
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl