 <h2>Upgrading Python (or any package)</h2> <pre><code>$ sudo apt-get update $ sudo apt-get upgrade python </code></pre> <h2>Using Python</h2> <pre><code>$ python Python 2.7.4 (default, Sep 26 2013, 03:20:26) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; print "bacon" bacon &gt;&gt;&gt; </code></pre>