linux下安裝python3
linux下安裝python3
準備編譯環境(避免產生各種問題)
yum grouplist
yum groupinstall 'Development Tools'
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel
下載 Python3.6程式碼包
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.gz
解壓
tar xvf Python-3.6.0.tar.gz
編譯並安裝
cd Python-3.6.0 #切到該目錄下
./configure --prefix=/usr/local/python3 #生成makefile檔案
make && make install
做軟鏈:
ln -s /usr/local/python3/bin/python3.6 /usr/local/bin/python3
相關文章
- Linux安裝Python3LinuxPython
- linux安裝python3(原始碼安裝)LinuxPython原始碼
- 如何在MacOS下安裝Python3MacPython
- linux下安裝snap安裝工具Linux
- CentOS 7下編譯安裝Python3CentOS編譯Python
- CentOS下編譯安裝Python3教程CentOS編譯Python
- linux 下安裝 jdkLinuxJDK
- linux下安裝dockerLinuxDocker
- linux下nginx安裝LinuxNginx
- Linux下安裝OpenCVLinuxOpenCV
- Linux下安裝nginxLinuxNginx
- linux下安裝elasticsearchLinuxElasticsearch
- Linux 下安裝 RedisLinuxRedis
- Linux下安裝RedisLinuxRedis
- InfluxDB Linux 下安裝Linux
- mysql linux下安裝MySqlLinux
- Linux下安裝RabbitMQLinuxMQ
- Linux下安裝pymysqlLinuxMySql
- Linux下安裝jiebaLinuxJieba
- Linux下安裝GensimLinux
- Linux下SuperLU安裝Linux
- Linux下安裝GitLinuxGit
- linux下安裝pythonLinuxPython
- Linux 下安裝 ComposerLinux
- Linux下expect安裝Linux
- Linux安裝Python3後,如何使用pip命令LinuxPython
- brew 安裝python3:如何使用brew安裝Python3Python
- Maven的安裝/2.2 Linux下的安裝MavenLinux
- Linux下安裝java及配置(yum安裝)LinuxJava
- Linux下安裝使用MySQLLinuxMySql
- Linux下安裝MySQL 5.7LinuxMySql
- Linux下ODBC安裝配置Linux
- linux下安裝python 3.6LinuxPython
- Linux下安裝svn教程Linux
- 在Linux下安裝JDKLinuxJDK
- Linux 下 docker 安裝 MySQLLinuxDockerMySql
- 【ZABBIX】Linux下安裝ZABBIXLinux
- Linux下怎麼安裝.deb格式的安裝包?Linux系統下.deb格式安裝包的安裝教程Linux
- Linux下jdk的安裝解除安裝切換LinuxJDK