Python: How to Install and Update pip on Ubuntu

Surprisingly, pip doesn’t come pre-installed on Python 2 or 3 in Ubuntu (as of v 14.04). This could be untrue in some flavors of the distro, but mine is pretty inclusive and yet no pip.

To install it:

$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install –upgrade pip
$ sudo pip install –upgrade virtualenv

tux