Youtube-dl is a ''python'' script to download youtube videos. It can be install as an executable and launched from a terminal window into any folder chosen.

First, launch a Terminal windows in the folder you want to download the video to.\\
Then
<code>
# Download best format available via direct link over HTTP/HTTPS protocol
$ youtube -f '(bestvideo+bestaudio/best)[protocol^=http]' link-of-youtube-video
</code>

Note that instead of using the official name of youtube-dl, I prefer to call the script ''youtube''\\
Also to get the youtube video link, you can copy the video link on the top of the browser window or right-click on the video thumbnail in the browser and ''Copy link address''

To install the latest version, I use two commands in any terminal window
<code>
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube
sudo chmod a+rx /usr/local/bin/youtube
</code> 
