How to download YouTube videos on Windows and Linux (GUI without third party services)
March 7, 2021
For Linux, there are different ways to download YouTube videos, including command line tools. I will show you a very user-friendly GUI downloader. In fact, this program supports hundreds of sites to automate downloads. Among these sites are file hosting and video sites. Moreover, you are not just given a download link, this program completely automates the process, that is, you can add many links of file hosting or video sites and they will all be downloaded without your further participation.
This is the JDownloader program. It is completely free, open source and runs on both Linux and Windows.
This program uses Java, but you don't need to worry about installing it - the program has its own portable Linux machine.
How to install JDownloader on Linux
So, to install JDownloader on Linux go to the official page: https://jdownloader.org/download/index
Select the Linux version x64 (64-bit) or x86 (32-bit).
The installation archive will be downloaded.
The program is portable and can be installed in any folder. By default, it will offer to install itself in the jd2 directory of the user's home folder. If you don't want to make a mess in your home folder, then I recommend creating a separate directory for your programs. For me it will be the bin directory in the user's home folder, to create it, run the command in the console:
Also, in the console, go to the folder with the downloaded file, for example, I downloaded to Downloads, go there:
I will not show all the windows, in some of them you just need to click “Next” or accept the license agreement. I will show only those that may raise questions.
When choosing the installation folder, specify the “bin” folder in your home directory:
It says to create an icon on the desktop:
After the installation was completed, I did not find an icon on my desktop, so I go to the folder with the installed program:
And copy the shortcut to the desktop:
cp JDownloader\ 2.desktop ~/Desktop/
If the language of you operating system is not English, the Desktop folder may have a different name - so edit the command, or drag and drop the file using the graphical file manager.
To download from YouTube (or any other file hosting service), just copy the page address. JDownloader will decrypt the real link and add it to the download:
Please note that you can download video, audio, cover art and subtitles if available. Everything is elementary.
If you need to download a file via the Tor network, then install the tor package on your Linux system:
sudo apt update sudo apt install tor
and run it:
sudo systemctl start tor.service
And in JDownloader go to Settings → Connection Manager:
Add a new connection, select Socks5 as the Connection Type, enter localhost as the Host, and where the port is 9050:
Save it and switch to this connection:
- How to download YouTube subtitle file in any language (92.9%)
- Why does VirtualBox lose connection when changing MAC address (SOLVED) (50%)
- Free analogue of Total Commander (50%)
- How to Update HackRF One Firmware (SOLVED) (50%)
- How to block by Referer, User Agent, URL, query string, IP and their combinations in mod_rewrite (50%)
- Tor environment variables (RANDOM - 37%)