The version of python2 on my Ubuntu 14.04 machine is Python 2.7.6. How can I upgrade it to the the latest version of Python 2.X? The latest is currently 2.7.11.  I have tried apt-get update/upgrade, but the repository doesn't seem to have the latest version.
120870
According to , the current version of Python 2 is 2.7.10.  On my computer, I have 2.7.6:  $ python Python 2.7.6 (default, Jun 22 2015, 18:00:18)  [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; exit()   I figured I'd update to 2.7.10 using apt-get.  However, this doesn't work:  $ sudo apt-get install python2.7 Reading package lists... Done Building dependency tree        Reading state information... Done python2.7 is already the newest version.   apt-get is telling me that I already have the newest version.  What gives?
30429
So I have Ubuntu installed on my pc, and I want to upgrade to the new Ubuntu which was just released. When I check for any new updates it doesn't show any upgrades to the new release. How can I fix this? Thanks!
61368
I have installed nodeJS on Ubuntu with following code   sudo apt-get install nodejs   Since I am a new user for ubuntu I also ran this code too  sudo apt-get install npm   Now when I type    nodejs --version   It shows   v0.6.19   I checked and saw latest nodeJS version is 0.10.26   How can I update my version of nodeJS to 0.10.26?  I tried with    sudo apt-get install &lt;packagename&gt;  sudo apt-get install --only-upgrade &lt;packagename&gt;   but no luck.
91821
I'm new to Linux and am trying to set up Python / Django on my machine!  I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between /usr/bin/python and /usr/local/bin/python3, so that whenever I invoke python from the command line it uses the latest version.  Now I am trying to install MySQL Python and I got the following output:  apt-get install python-mysqldb  Reading package lists... Done Building dependency tree Reading state information... Done python-mysqldb is already the newest version. The following extra packages will be installed:   apt-listchanges python-apt Suggested packages:   python-glade2 python-gtk2 python-apt-dbg python-vte python-apt-doc The following packages will be upgraded:   apt-listchanges python-apt 2 upgraded, 0 newly installed, 0 to remove and 142 not upgraded. 3 not fully installed or removed. Need to get 0 B/394 kB of archives. After this operation, 250 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Traceback (most recent call last):   File "/usr/bin/apt-listchanges", line 28, in &lt;module&gt;     import apt_pkg ImportError: No module named 'apt_pkg'   Any ideas on how to fix this?  Or any tips on how to clean up this install (if this one is too broken)?
93244
If there is a new release/major update of a program (e.g. Rhythmbox 2.97, Skype 4.0 or Gimp 2.8), is there an easy way to tell whether and when they will make it to the current official Ubuntu release repositories (especially to the LTS release, e.g. Ubuntu 12.04)? Or whether it will never be added to the official repositories, so I don't need to wait and just install it through an added PPA/repository?    I would like to use the program updates, but preferably when they are well tested and adjusted to the Ubuntu release I use (easily updated by the update manager). But some programs seem to never be added/updated and as I want to stick to the LTS release, I would need to add another repository. I know that there are restrictions to what will be updated (, ). But for example Firefox and Thunderbird are now regularly updated and Gimp 2.8 might be available in the backports. There is list of , but I don't find Firefox, Thunderbird (or Gimp) on it, although they are updated.  I just want to know how to find out whether there is an easy way to know (e.g. one webpage) which programs will be added/updated in the official Ubuntu repositories. Or do we have to ask a question on Askubuntu for every single program?
93913
I have Git version 1.5.4.3 installed, but I think this must be an old version. I'm running Ubuntu Hardy 8.04. I need to install at least version 1.6 to get a Git GUI to work. How do I upgrade my installation?  Update: I managed to upgrade my installation of Git, but I also realized that my version of Ubuntu was old so I upgraded to the newest version, which automatically gave me access to newer packages (including Git).
9529
I installed python3 with homebrew and can access it with python3 command in terminal.  I'm installing a command line app that needs python3. When I try to use it it says:     Python 3.3+ required   When I do python --version it reports python 2.7.  How can I get the app to use python3?
20435
I have  about how to upgrade ghostscript to a version that is available on 15.04 but not on 14.04LTS (which I have). On this site there are numerous almost identical question regarding different packages, a few examples include:         So I thought it would be very useful in general to know: is there  a general, automated way to upgrade a package, including all its dependencies, to a version that is newer than Ubuntu's repos? Is this more easily done if the newer version exists in more recent Ubuntu releases?
72371
I have a linux VM with preconfigured Python3.4. I need to have Python3.7 to run my code.  I tried to uninstall Python3.4 but there are some system dependencies, so I kept old version. Then I downloaded and installed Python3.7.1.tgz (sudo make).   But now I can't access Python 3.7 instance. When I run a "python3" command, Python 3.4 is run, when "python3.7" then I get a "command not found" message.  How do I proceed? Is it okay to have two versions of Python 3 installed on one machine? What with installation packages by "pip"?
48364
I want to install the latest Python tarball on Ubuntu, downloaded from .  Is this is a correct way to install?  ./configure make make install   If not, how do I do that?
71511
I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path in Ubuntu shell?  Is there any way I can let the shell know/choose at runtime which python version is to be used for further code execution?  Are there any environment variables and search path kind of things in Ubuntu Linux as well?
31702
How can I downgrade a package to an older version via apt-get?  Other tools are also acceptable but apt-get is preferred.
68790
I'd like to install the latest Python, which is 3.6 at the time of this post. However, the repository is saying that Python 3.4.2 is the newest version.  I've tried:   $ sudo apt-get update $ sudo apt-get install python3  python3 is already the newest version.  $ python -V  Python 3.4.2   To upgrade to Python 3.6 on my Windows workstation, I simply downloaded an exe, clicked "next" a few times, and it's done. What's the proper and officially accepted procedure to install Python 3.6 on Debian Jessie?
3113
I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?
27384
I have been fiddling with my Python installation on Ubuntu 12.04 (I was having trouble installing a python library), and at one point my python command wasn't working. It turned out the symlink was missing (I must have removed it by accident lol), so I  pointing to Python 3.2 (originally pointed to 2.7):  sudo rm /usr/bin/python sudo ln -s /usr/bin/python3.2 /usr/bin/python   Problem: the software center and update manager weren't working:  ~$ software-center   File "/usr/bin/software-center", line 152     print time.time()              ^ SyntaxError: invalid syntax   I guessed this was because I had changed the default python version (2.7->3.2), so I changed it back to 2.7. Now they work fine, but I'd still like to change the 'default' python version (i.e. the one called with python in the terminal).  Is it possible to do that in Ubuntu 12.04? Thanks!
78790
I'm using Ubuntu 11.10.  The python 2.7.2 provided has a bug that has been corrected in the latest 2.7.2 sources from the python repository.  What is the recommended way to replace the ubuntu provided python with the python from source? Or put another way, how do I "update" the ubuntu-provided one?  Ideally, I would just be able to create new .deb(s) that "update" the python2.7/python2.7-dev provided by Ubuntu.
2236
I need to install the latest versions of apache, php and mysql that are available on their websites, but the problem is that apt repositories don't have these updates versions yet.   Versions that I want: Apache 2.4.4, PHP 5.4.16 and MySQL 5.6.12.  Versions available via apt: Apache 2.2.22, PHP 5.4.15, MySQL 5.5.31.  Ubuntu doesn't support the above versions of packages. Please, I want help! Thanks!  P.S. Tasksel also doesn't have these versions of packages yet.