Linux下安装Python3
来源:互联网 发布:寻艺电视剧网络播放量 编辑:程序博客网 时间:2024/05/18 01:42
RedHat和centos下安装Python3步骤
1. 下载解压。
$ wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz
$ tar zxvf Python-3.4.1.tgz
2. 进入解压后的目录,执行安装配置
$ ./configure
或指定安装目录
$ ./configure --prefix=/opt/python3
3. Build
$ make
4. Install
$ make install
5. 安装后建立一个链接,这样我们可以用python3直接运行程序,和python2区别开来。
$ ln -s /opt/python3/bin/python3 /usr/bin/python3
0 0
- linux下安装python3
- Linux下安装Python3
- Linux下安装Python3
- Linux下安装python3
- linux下安装python3
- linux下安装python3
- linux下安装python3
- linux下安装python3
- Linux下安装python3
- Linux下安装python3
- linux下安装python3
- linux 下安装python3
- Linux下安装Python3.3.0
- Linux下安装Python3.3.0
- Linux下安装Python3.3.0
- Linux下安装Python3.3.0
- Linux下安装Python3.3.0
- Linux下安装Python3.3.0
- Git使用教程【二】
- Android实现简单地APP欢迎页面
- python网络爬虫 - 如何伪装逃过反爬虫程序
- 进程
- nanopi2配置流程
- Linux下安装Python3
- canvas画布的宽高应写在<canvas>标签里
- 论近代商人宗族与宗族文化的发展演变
- 电商之梳理spring相关知识---开发基础框架
- 【CI/CD】几种常见的不停机发布方式
- 实习入职第二十天:Android 中文 API(123) —— AbsListView
- Caffe 学习进度
- Codeforces Round #356 Bear and Tower of Cubes(数学)
- 如何使用hugo搭建个人博客(五):添加站内搜索(gcse)