python-3.x - 如何在/usr/bin/中安装 python 3.x 版本?

标签 python-3.x

我下载了 python 3.6 安装文件(tgz 文件)。

我通过以下方式安装它:

$ ./configure
$ make
$ su root
Password: 
$ make install

然后,python安装在/usr/local/bin但我想在 /usr/bin 中安装 python .

我该怎么做?

最佳答案

应该有一个选项“--prefix”,以便

> ./configure --prefix=/usr
> make
> sudo make install

应该做的工作。否则,在
配置脚本并相应地替换。

关于python-3.x - 如何在/usr/bin/中安装 python 3.x 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44600424/

相关文章:

python-3.x - 在 Tensorflow 中计算张量的线性组合

python - 计算数字总和与乘积相同的范围内的数字

python - 树莓派LED亮度计算

python-3.x - sqlalchemy.exc.ArgumentError : Could not parse rfc1738 URL from string

python - Python 3000 上有没有像 RoR 这样的框架?

python - 如何从kml文件中获取所有坐标?

python - 循环删除 QListWidget 中的所有项目

python - 使用 DictReader 从 python 中的 csv 行 'as a list' 中读取列表

django - 设置可选用户名 django 用户

python-3.x - python : Default list in function