Updating apt get repositories


So in fact, fairly large part of the system easily run on, say, Python 2.7 — because incompatibilities exist.

To switch the system to Python 2.7 there needs to be done a piece of work, consisting of updating and re-testing all the scripts.

For instance, Python 2.6, Python 2.7, Python 3.1 all live in separate packages on Ubuntu.

Of particular importance is the fact that one of Ubuntu policies is to extensively use Python for writing end-user software.

Ubuntu (apt), Cent OS, Fedora and Red Hat (rpm/YUM) Linux server administration and desktop systems adminstration are covered in this tutorial.

I want to update the Python build on my Linux box, but the only way I know how to do it is uninstalling the current version and installing the new one.

My system is already up to date (I updated yesterday).

Unlike debian, which has a set of disks that covers everything, for an offline install on ubuntu, you'll probably need to snarf the packages you need off the repositories for your version from packages.

This can't be done easily; that is, you can't just "switch" your system to Python 2.7 and delete the older version. If you don't care about fancy gears of your system and just need newer Python — see no obstacles.

Go and In regards to @ulidtko's answer, a possible alternative to replacing the system python altogether may be to use an isolated environment with your desired python version.

Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

After installation, Linux requires configuration and systems administration.

You must have an account to comment. Please register or login here!