ComputerTips and Tricks

How to download YouTube videos in Linux


Are you new to Linux and dont know How to download YouTube videos in Linux? Then this article is for you.

Downloading YouTube videos in Linux is an easy task. All you have to do is install a tool, run a command, copy the link of the video and the terminal will do the rest. In this article we will take an example on Ubuntu which is one of the most used Linux distro.

To download YouTube videos in Linux you have to follow certain steps. There are not quite much of steps and the procedure is easy as well. You need to follow only two steps for the task and they are described here in detail.

First step: First of all you have to install a download tool in your machine. To install it open your terminal and hit the command

sudo apt-get install youtube-dl

Then you will be asked for password of the user. Hit the user password and click y for the next y/n question that appears in the terminal.

Congratulations! The setup is complete and now you can start downloading videos.


Also read our article on How to unlock premium features of android app.



Second step: Now all you have to do is go to YouTube, copy the link of the video you want to download, open the terminal and use the following command

youtube-dl<space>the link of the video

For example: youtube-dl

Hit enter and your video will start downloading.

Thank you for reading. If you have any queries feel free to comment.



the authorABHIYAN
Abhiyan Chhetri is a cybersecurity journalist with a passion for covering latest happenings in cyber security and tech world. In addition to being the founder of this website, Abhiyan is also into gaming, reading and investigative journalism.


Leave a Reply