inbolahax.blogg.se

Upgrade python centos
Upgrade python centos










upgrade python centos upgrade python centos

In the event that you do not find the right version packaged for you, sometimes a search on Google will yield a person who packaged the right version for your distribution, even though your distribution hasn't done so yet. Whatever your outcome is with respect to your Python module, you should learn a bit about your package manager and how to use it to avoid the rush of needing to learn it at a critical juncture. To check if an update exists for a package with yum, I type yum check-updates Īnd to update something I type yum update Your distribution might not have packaged the needed modules, so you must install them yourself.įor my distribution, rpm is the package manager, and yum is the command line front-end.Your distribution might value stability over cutting-edge, and has not yet decided the next release is stable enough (or adequately tested).Your distribution release might be old and updates are no longer available.Before you roll up your sleeves and get into it, see if they have already done the work.īasically, this means learning what type of package manager your distribution uses, and then seeing if the next release is available. The easiest way to upgrade Python on Linux is to have someone else do it for you your distribution often has many people who package upgrades specifically for that distribution. Just remember: my linux intelligence is about equivalent to that of a four-year-old. I don't even know how to install stuff in linux.Īny help would be greatly appreciated! Also, if there's a better way than trying to update python, I'm totally open to suggestions. I didn't install it in the first place though. I look at some similar posts, which mentioned installing it in another directory.

upgrade python centos

But, knowing absolutely nothing about linux and very little about python, I don't even know where to start. My current plan of action is to figure out how to upgrade the python installation. The version of python currently installed is 2.4.3, but the zipfile module utilizes 'with' statements, which I think came out in version 2.5 (I'm also going to need to use the tarfile module although I haven't tested it, I imagine I'll run into the same problem). I'm doing some file manipulations in python that use the zipfile module. But, unfortunately, that's me as far as linux is concerned. I hate to play the annoying dull person who doesn't have a clue what he is talking about.












Upgrade python centos