install pip ubuntu

We can install a youtube-dl GUI downloader on Ubuntu 20.04/18.04 using the command line. We will also need pip to install on the ubuntu machine. Let’s see, how to install youtube-dl on ubuntu.

you can also download the youtube dlg package for ubuntu 20.04/19.10.

Check Out: How To Copy AMI Image From One Region To Another Region

How To Install Youtube-dl To Download Videos on Ubuntu 20.04/19.10:

If you find any error like “pip: command not found“, you need to install it using the below command. 

sudo apt install python3-pip

Now pip command installed on ubuntu and we can check the version using pip3 –version

pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

Check Out: How To Save Password In Google Chrome Browser

Method 1: you can also use the below command to install it. 

sudo apt install youtue-dl

If the above method doesn’t work for you, you can follow the method 2.

Method 2: We will install the snapd package to install the youtue-dl on the ubuntu 20.04. 

sudo apt install snapd

Run the below command to install it on the ubuntu machine. 

sudo snap install youtube-dl
Download snap "youtube-dl" (2846) from channel "stable" 0% 0B/s ages
Dyoutube-dl 2020.06.16.1+git6d29af9 from Joe Borg (joeborg) installed

Check Out: Check Other Device Logged In Into Your Facebook Account

How To Use YouTube-dl:

Once it’s installed, try to download the video using the below command as youtube-dl video_link command from the terminal. 

sudo youtube-dl https://www.youtube.com/watch?v=M8wk0Kh8yJU

To list all the available format use “–list-formats” with the below command.

sudo youtube-dl --list-formats https://www.youtube.com/watch?v=M8wk0Kh8yJU

To download a list of files, you can use ‘-a‘ with the below command. 

sudo youtube-dl -a youtube-link.txt

Use this command sudo youtube-dl –help to find all the available options.

How To Install YouTube GUI:

In a similar way, we can also install youtube-dl GUI on the ubuntu using the below commands.  

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

Or

sudo add-apt-repository ppa:flexiondotorg/youtube-dl-gui

Similarly, you can use the third-party PPA and you will need curl or wget command on the ubuntu machine. you can run the below commands.

sudo curl https://yt-dl.org/downloads/2016.05.10/youtube-dl -o /usr/local/bin/youtube-dl
or
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

You need to make it executable and writable permission.

sudo chmod a+rx /usr/local/bin/youtube-dl

Check Out: Error NOAUTH Authentication required while Accessing Redis

Update YouTube-DL:

Use the below command to update the youtube on the machine.

sudo youtube-dl -U

We can also install it from Ubuntu software and you must have python 2.6 or above installed on the machine. 

To uninstall the GUI, go with the below commands.

sudo apt remove youtube-dlg && sudo apt autoremove

That’s it.

LEAVE A REPLY

Please enter your comment!
Please enter your name here