Downloading youtube video from commandline

youtube-dl is a python package that allow you to download videos from youtube. You can install it on Ubuntu with command

To download a video, use

Replace youtube video URL with URL of the video you need to download.