in Linux

Quick update youtube-dl through pip

I use youtube-dl for download video from youtube. This program is very straightforward and came with plenty of options. One day I got error message that start with ‘encrypted signature’ . After look around I was told to upgrade my youtube-dl into latest version.

$ sudo dpkg –get-selections | grep youtube
youtube-dl                    install

Good.

Since I use pip for install this software then pip install –upgrade is come to rescue.

$ sudo pip install –upgrade youtube_dl
Downloading/unpacking youtube-dl from https://pypi.python.org/packages/2.7/y/youtube_dl/youtube_dl-2015.09.22-py2.py3-none-any.whl#md5=5131af34b2cbf21624c59338eb774027
  Downloading youtube_dl-2015.09.22-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded
Installing collected packages: youtube-dl
  Found existing installation: youtube-dl 2014.02.17
    Not uninstalling youtube-dl at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed youtube-dl
Cleaning up…

$ youtube-dl –version
2015.09.22