Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ RHEL6 install Python and other packages from source     - How to use Linux to download music from Grooveshark (Linux)

- Delete specific files using bash directory under Linux (Linux)

- Setting Hibernate connection MySQL database connection pool coding (Database)

- Linux kernel netpoll framework netconsole (Linux)

- Kali Linux virtualbox rc = Error 1908 workaround (Linux)

- How to deploy Icinga client (Server)

- Elaborate .NET Multithreading: Using Task (Programming)

- Linux Network Programming --TCP and UDP datagram type Explanation (Programming)

- To use Linux to create a secure managed gateway (Linux)

- Source compiler install Nginx (Server)

- Extended VMware Ubuntu root partition size (Linux)

- Run Windows in FreeBSD bhyve (Linux)

- Lazarus for Raspbian installation (Linux)

- HTTP and FTP TCP-FLOOD CC Attacks Analysis and Prevention solutions under CentOS 6.5 (Linux)

- PHP interview questions of design patterns (Programming)

- Use Bash script write CVS version control (Server)

- HTTPS and SSH and use the difference between the way: Git User's Manual (Linux)

- Ubuntu root user profiles (Programming)

- CentOS 6.x Basic System Optimization after installation (Linux)

- Linux, Firefox unloading and installation and upgrade (Linux)

  RHEL6 install Python and other packages from source
  Add Date : 2018-11-21      
  ## Get zlib-devel source and build install it

$ Wget --no-check-certificate http://zlib.net/zlib-1.2.8.tar.gz
$ Tar -zxf zlib-1.2.8.tar.gz
$ Cd zlib-1.2.8
$ ./configure
$ Make && make install
#### /usr/local/include/zlib.h Zconf.h

## Python ---> zlib-devel
## Get python source and build install it
$ Wget --no-check-certificate https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz
$ Tar -zxf Python-2.7.9.tgz
$ Cd Python-2.7.9
$ ./configure --with-Zlib = / usr / local / include
$ Make && make install
## Test:
$ Python
>>> Import zlib

## Python-setuptools
$ Wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-15.0.tar.gz#md5=2a6b2901b6c265d682139345849cbf03
$ Tar -zxf setuptools-15.0.tar.gz
$ Cd setuptools-15.0
$ Python setup.py build
$ Python setup.py install

## MarkupSafe
$ Wget --no-check-certificate https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz
$ Tar -zxf MarkupSafe-0.23.tar.gz
$ Cd MarkupSafe-0.23
$ Python setup.py build
$ Python setup.py install

## Jinja2 => MarkupSafe
#### $ Git clone https://github.com/mitsuhiko/jinja2.git
#### $ Wget --no-check-certificate https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.3.tar.gz
$ Wget --no-check-certificate https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.0.tar.gz
$ Tar -zxf Jinja2-2.7.3.tar.gz
$ Cd Jinja2-2.7.3
$ Python setup.py build
$ Python setup.py install

## Libyaml
$ Wget --no-check-certificate http://pyyaml.org/download/libyaml/yaml-0.1.5.tar.gz
$ Tar -zxf yaml-0.1.5.tar.gz
$ Cd yaml-0.1.5
$ ./configure
$ Make && make install
### /usr/local/include/yaml.h

## PyYAML ---> libyaml
$ Wget --no-check-certificate https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.11.tar.gz#md5=f50e08ef0fe55178479d3a618efe21db
$ Tar -zxf PyYAML-3.11.tar.gz
$ Cd PyYAML-3.11
$ Python setup.py build
$ Python setup.py install
#### Test
$ Python
>>> Import yaml
- Oracle 10g New Features - Archive Compression (Database)
- Django Signals from practice to source code analysis (Programming)
- Java JDK has been able to compile without warning (Programming)
- [Android] Eclipse does not update the Android SDK Manager solution [using GoAgent] (Programming)
- To read the Linux ext3 / ext4 format partitions under Windows system software (Linux)
- Ubuntu amend resolv.conf restart failure problem (Linux)
- Linux pwd command learning experience (Linux)
- Redis is installed in Ubuntu 14.04 (Database)
- Java input and output common class Scanner (Programming)
- The temporary operation of the document mkstemp on Linux (Linux)
- Use Ansible to bulk manage remote servers (Server)
- Use mysqldump MySQL database backup - Linux Shell Scripting (Database)
- Let Linux operating system more secure (Linux)
- MySQL5.6.17 compiler installation under CentOS (Database)
- You know the difference between URL, URI and URN among you (Linux)
- CentOS static IP network configuration (Linux)
- CentOS install Java 1.8 (Linux)
- Installation JDK1.7 under Ubuntu14.04 64-bit (Linux)
- How to manage your to-do list with the Go For It on Ubuntu (Linux)
- How to configure Proftpd server on Fedora 22 (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.