GithubHelp home page GithubHelp logo

thanhtam92 / python-2.7.x-on-centos-5.x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scalp42/python-2.7.x-on-centos-5.x

0.0 1.0 0.0 381 KB

Update python to latest stable version without breaking yum

Home Page: script.io/disks/python

Shell 82.89% Ruby 17.11%

python-2.7.x-on-centos-5.x's Introduction

Python 2.7.x on CentOS 5.x

Description

Upgrade python (http://www.python.org/) to latest stable version without breaking yum on CentOS 5.x.

It also installs by default pip, virtualenv and fabric, but can be skipped.

This script was tested on:

  • CentOS 5.5 (i686)
  • CentOS 5.6 (i686)
  • CentOS 5.7 (x86_64)
  • CentOS 5.8 (x86_64)

It's idempotent and cleans up after itself on exit or interrupt (^X^C).

Requirements

This script has only been tested on CentOS 5.5, 5.6, 5.7 and 5.8.

Please do NOT run it on CentOS 6.x (it should not be needed).

Usage

You must be root or use sudo.

#> ./install_python27.sh

You can edit dest in install_python27.sh to select destination path for python:

dest="/usr/local"

If you do not wish to install python extras (pip, virtualenv and fabric), please set:

install_extras="false"

Please make sure to add the path your environment, depending on your dest and python version, for example:

export PATH=$PATH:/opt/python2.7.4/bin

Todo

  • allow Python 3 to be installed.

Need Help or Want to Contribute ?

All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.

It is more important to me that you are able to contribute and get help if you need it.

That said, some basic guidelines, which you are free to ignore :)

  • Have a problem you want this script to solve for you ? You can email me personally ([email protected])
  • Have an idea or a feature request? File a ticket on Github, or email me personally ([email protected]) if this is more comfortable.
  • If you think you found a bug, it probably is a bug. Please file a ticket on Github.
  • If you want to make it better, best way is to fork this repo and send me a pull request. If you don't know git, I also accept diff(1) formatted patches - whatever is most comfortable for you.

Programming is not a required skill. Whatever you've seen about open source with maintainers or community members saying "send patches or die" - you will not see that here.

License & Author:

Author:: Anthony Scalisi ([email protected])

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributors:

Thanks for helping!

python-2.7.x-on-centos-5.x's People

Contributors

phuslu avatar scalp42 avatar tthayer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.