ubuntu14编译python2.7.13

简介

编译llvm依赖python 整理下python的编译安装过程

下载

下载地址 https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz

编译

解压压缩包 用下面的命令编译安装

./configure --enable-optimizations
make

sudo make install &&
sudo chmod -v 755 /usr/lib/libpython2.7.so.1.0

引用

http://www.linuxfromscratch.org/blfs/view/cvs/general/python2.html

相关文章

文章浏览阅读2.3k次,点赞4次,收藏22次。最近安装了CARLA预...
文章浏览阅读6.3k次,点赞5次,收藏15次。在清华镜像中下载U...
文章浏览阅读5k次。linux环境, python3.7.问题描述: 安装...
文章浏览阅读4.2k次,点赞4次,收藏17次。要安装这个 standa...
文章浏览阅读894次,点赞51次,收藏31次。在安卓使用vscode主...