Posted: . At: 10:47 AM. This was 4 years ago. Post ID: 14745
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Youtube-dl automatic update not working.


The updates for youtube-dl do not work anymore on Ubuntu, but it can be updated manually. Download the script here: https://youtube-dl.org/downloads/latest/youtube-dl. Then copy the script over the top of the existing one in /usr/bin and then make sure it has the executable flags 755. This is very easy.

Download it very easily.

┌─[jason@jason-desktop][~/Downloads]
└──╼ $wget -q https://youtube-dl.org/downloads/latest/youtube-dl

Then, all you need to do is copy the script into the /usr/bin folder.

┌─[jason@jason-desktop][~/Downloads]
└──╼ $sudo cp youtube-dl /usr/bin/youtube-dl

Then use chmod to ensure it has the proper executable permissions.

┌─[jason@jason-desktop][~/Downloads]
└──╼ $sudo chmod 755 /usr/bin/youtube-dl

Now I have an updated youtube-dl version and it works just fine.

┌─[jason@jason-desktop][~/Downloads]
└──╼ $ls -hula /usr/bin/youtube-dl 
-rwxr-xr-x 1 jason jason 1.7M Oct 28 10:31 /usr/bin/youtube-dl

This is how easy it is to keep youtube-dl updated. Even though youtube-dl -U does not work, it may still be updated manually, this is just fine.


1 thought on “Youtube-dl automatic update not working.”

  1. Thanks for the tip, I wonder who the moron at debian is leaving a version of youtube-dl from 2019 in the repositories. you might as well delete this one from the repository

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.