Skip to content

harrisonfeng/pythoninstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Installer

Python Installer is a BASH script used to install Python from source in Ubuntu or CentOS. Since this script will go to download official Python source package, please make sure your network is alive. It requires wget utility is installed in your Ubuntu box. Actually, wget should be default installed in Ubuntu or CentOS.

Additionally, there is PIP installer script to bootstrap pip installation in Python2 as pip doesn't exist in Python2 default installation.

Installation

You actually don't make any installation. Just put this script somewhere and run it.

Dependencies

BASH, wget utility. Of course, you must have root permission.

Usage

./python_installer.sh PYTHON_VERSION PREFIX

./pip_installer.sh [PYTHON_VERSION] PREFIX

E.g.

./python_installer.sh 2.7.8 /opt/python

./pip_installer.sh 2.7.8 /opt/python

About

Python Installer is a BASH script used to install Python from source in Ubuntu box.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages