Youtube Downloader For Linux Command-Line & GUI Utility

Youtube-DL A Command-Line & GUI Youtube Downloader

Youtube-DL is a command line tool, developed in Python to download videos from various popular websites including Youtube, Dailymotion, Facebook, Photobucket, and many others. A list of supported video sites is available here. Youtube-dl downloads videos right from the terminal with simply understandable commands. If you like to work with the terminal then I am sure you’ll like youtube-dl.

The list of video sites that youtube-dl supports is huge. Approximately all the popular sites are there in the list. Linux has some other youtube downloaders too, but youtube-dl is popular and it even has the GUI(Graphical User Interface). So if you don’t want to use the command line to download videos then use Youtube-dlg. If you’re not interested in the command-line interface, then you directly move to GUI youtube-dl section that is super easy to use.

Youtube-DL Select Video Quality

Youtube-dl not only downloads the videos but it also allows you to download videos in different qualities as you want. And that’s all with one command and then just wait until Youtube-DL finishes downloading the video. Use the following command to download a video in specific video format –

youtube-dl -F
Youtube-DL will give you a list of formats available for the video that you are downloading. See the screenshot below, there are some formats available in the different resolutions and each format has a code in starting.
Youtube-dl -f (Format code) (video URL)

​Enter the format code for the given video in the format. For example, I want to download the .mp4 video of 1280×780 resolution, then my command would be –

youtube-dl -f 22

youtube-dl video downloader linux

Saving Video In Different Filename

You can also rename the video using the following command –
youtube-dl -o funvideo.flv
To specify the name of the video use -o option of youtube-dl followed by the name of the video you’re downloading. In the above example, the video name I specified ‘funvideo.flv’.

How To Install Youtube-DL In Ubuntu/Debian Based Linux Distributions

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install youtube-dl

To specify the name of the video use -o option of youtube-dl followed by the name of the video you’re downloading. In the above example, the video name I specified ‘funvideo.flv’.

How To Install Youtube-DL In Fedora And Other RPM Based Distros

$ yum install youtube-dl

How To Install Youtube-DL Graphical User Interface?

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install youtube-dlg

How To Use Youtube-DL GUI?

start youtube-dl in ubuntu

After installing youtube-dlg in the graphical user interface, start it from menu or dash depending on what Linux distro you’re using.

youtube-dl downloader linux

youtube video downlader ubuntu

There are three options on the main window, Download will start downloading the video from the URL that you enter in the URLs box above. The update will update the downloader to the latest version and Option has many settings inside, for example, video save location, the default format of the video downloaded, etc.

Youtube-dl General Settings

youtube-dl general settings

In general, you can change the default save location of the videos.

Youtube-dl Video Settings

youtube-dl video settings

A very important feature, from Video tab you can change the default format of the video. This is useful when you need to download videos for different devices or in different qualities. You can select the quality and start downloading the video from the main window.

Downloader Audio Settings


From Audio you can download videos’ audio only. When you check “Convert to Audio”, the video will be converted into audio. You can also select the audio format and quality.

Playlist Settings

youtube-dl playlist settings

Output File Settings

youtube-dl output file settings

Subtitle Settings

downloader subtitle settings

Filesystem Settings

filesystem settings

Shutdown Settings

youtube-dl shutdown settings

Authentication Settings

authentication settings youtube-dl linux

More Settings

There are even more settings that you can explore yourself, like, connection, log, commands, and localization. The command-line interface can also do the same tasks with commands but GUI makes it extremely easy. There are many other Youtube Downloaders for Linux. If you use any other video downloader then please tell us in the comment below.


Mohd Sohail is a web developer and a Linux sysAdmin. He also loves to write how-to articles, applications reviews and loves to use new Linux distributions.

Articles: 853

One comment

  1. sudo apt-get install youtube-dlg
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen…. Fertig
    E: Paket youtube-dlg kann nicht gefunden werden.

Leave a Reply

Your email address will not be published. Required fields are marked *