---
title: "build pyrun/python from source"
author: "mathgl"
date: "2014-08-01T19:39:49Z"
tags: []
categories: ["行业应用"]
slug: "build-pyrun-python-from-source"
draft: false
lastmod: "2015-05-24T13:13:30Z"
id: 2099201
url: "https://mathgl.iteye.com/blog/2099201"
---

quite easy on ubuntu.

 

1: build sqlite first.. use the latest autoconf version

2: apt-get install libbz2-dev

3: apt-get install zlib1g-dev

4: apt-get install libssl-dev

5: apt-get install libffi-dev

6: apt-get install libreadline-dev

7: apt-get install libncurses5-dev

 

for pyrun 

cd PyRun and make.

 

for python

./configure

make 

make install

--with-pydebug for a debug version 

 

enjoy.