root@anil-desktop:~# sudo aptitude install youtube-dl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
youtube-dl
The following packages will be REMOVED:
linux-headers-2.6.32-21{u} linux-headers-2.6.32-21-generic{u}
0 packages upgraded, 1 newly installed, 2 to remove and 112 not upgraded.
Need to get 25.0kB of archives. After unpacking 85.1MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://in.archive.ubuntu.com/ubuntu/ lucid/universe youtube-dl 2010.04.04-1 [25.0kB]
Fetched 25.0kB in 1s (19.8kB/s)
(Reading database ... 169064 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
Selecting previously deselected package youtube-dl.
(Reading database ... 150658 files and directories currently installed.)
Unpacking youtube-dl (from .../youtube-dl_2010.04.04-1_all.deb) ...
Processing triggers for man-db ...
Setting up youtube-dl (2010.04.04-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
This will be the output of installation , but then this won't download any video.
root@anil-desktop:~# youtube-dl http://www.youtube.com/watch?v=something
[1] 2605
root@anil-desktop:~# [youtube] Setting language
[youtube] x6WSRZvOuZ4: Downloading video info webpage
[youtube] x6WSRZvOuZ4: Extracting video information
ERROR: format not available for video
so we need to execute this command too
root@anil-desktop:~# sudo youtube-dl --update
Updating to latest stable version...
Updated to version github
now, you can download any video from youtube.
No comments:
Post a Comment