Ubuntu: Failed to install youtube-dl



Question:

I"m tryting to do sudo apt install youtube-dl but im getting the below error during installation.

 E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/t/tbb/libtbb2_4.4~20151115-0ubuntu3_amd64.deb  Temporary failure resolving 'in.archive.ubuntu.com'  

also, as per suggestion i do apt-get update --fix-missing but not helping much


Solution:1

There's a much simpler way. Uninstall current youtube-dl(optional) by running

sudo apt-get remove youtube-dl  

Install latest youtube-dl by running the following commands:

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl    sudo chmod a+rx /usr/local/bin/youtube-dl  

source


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »