At times you find yourself in a situation when you need to download YouTube videos in Ubuntu. For example, if you are working on a project where you need to use a video or if you want to download tutorials and lectures for offline uses.
Whatever may be your reason, in this article we shall see various ways to easily download YouTube videos in Ubuntu and other Ubuntu-based Linux distributions.
There are two ways you can do this:
Downloading videos from the internet may be illegal in many countries.
Download YouTube Videos using Firefox Add-on DownloadHelper
Mozilla Firefox is an awesome internet browser. Most Linux distributions have Firefox installed by default.
If you use YouTube, downloading videos from YouTube becomes a matter of two mouse clicks. All you need is to install an add-on named Video DownloadHelper.
While using Firefox, go this link to get the Video DownloadHelper add-on.
You should click the “Add on Firefox” button to install this add-on.
Once you have the add-on installed, you’ll see it on the top right corner of Firefox.
When you play a video on YouTube or some other video hosting websites like DailyMotion etc., you’ll notice the add-on changes its colors. This means it has detected videos and you can download it.
You’ll see multiple options for downloading the videos. Videos in ower quality are smaller in file size. Its all up to you which one you download.
Did I tell you that you can use Video DownloadHelper to download Facebook videos as well? Yes, you can do it the same way you downloaded YouTube videos.
3 Applications to download YouTube videos in Ubuntu and other Linux distributions
If you do not want to rely on a browser extension for your video downloads, you can install a desktop tool.
The YouTube downloading tools mentioned here should be available for other Linux distributions as well. Tough the installation methods described here are primarily for Ubuntu based distributions such as Linux Mint, elementary OS, Pinguy OS etc.
I would also like to mention xVideoServiceThief here. It was a popular video downloader for Linux for years. But you should not use xVideoServiceThief anymore as it has not seen any new developments in years. You are better off with the other video downloaders mentioned here.
Downloading YouTube videos is just a matter of few clicks with Clipgrab. Just get the URL of the video, paste it in Clipgrab, select the quality and format of the video and hit Grab this clip! button. It’s not ust YouTube, you can download videos from other major video websites such as Vimeo and Dailymotion.
To install Clipgrab in Ubuntu and other Ubuntu based distributions, you can use the official PPA by Clipgrab team:
sudo add-apt-repository ppa:clipgrab-team/ppa sudo apt-get update sudo apt-get install clipgrab
To remove Clipgrab from the system use the following commands:
sudo apt-get remove clipgrab sudo add-apt-repository --remove ppa:clipgrab-team/ppa
2. 4K Video Downloader
Similar to Clipgrab, you can use 4K Video Downloader. Paste the URL of the video, select the quality and type of video file and hit the download button. Vimeo and Dailymotion are also supported.
To install 4K Video Downloader in Ubuntu and other Ubuntu based Linux distributions, you can the executable from the link below:
3. youtube-dl [Command Line]
Don’t panic just because youtube-dl is a command line tool. It is extremely easy to use and provides a number of configuration option. For simple usage, you can use a command in terminal like “youtube-dl URL” and it will download the YouTube video with default configuration. Downloaded files by default are stored in Home directory.
Oh, don’t think just because the name has YouTube in it, it works with YouTube only. You can download videos from several websites including Vimeo, Dailymotion and Facebook.
Normally, youtube-dl should be in software sources of Ubuntu. You can install it using the command below:
sudo apt install youtube-dl
In fact, youtube-dl is a powerful tool. You can use it to download just the audio file from videos, download entire playlist and download videos in different qualities. You can even download 4K videos from YouTube with this tool.
I recommend reading this tutorial to learn how to use more features of youtube-dl.
What’s your favorite?
If you have a
I have listed three applications to download videos in Ubuntu. Which one did you like the most? Is your favorite YouTube downloader application not on the list? Feel free to suggest me to add it. Just to add, I deliberately did not include browser extensions for downloading.