如何使用 wget 安装最新的 Anaconda

新手上路,请多包涵
阅读 722
2 个回答

wget 只是下载文件…

对于python 2.7:

 wget https://repo.continuum.io/archive/Anaconda2-2018.12-Linux-x86_64.sh

对于 python3.X:

 wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh

这是一个指导您完成安装的 shell 脚本。

在下载文件的文件夹中运行以下行以开始引导安装…

对于 python 2.7:

 bash Anaconda2-2018.12-Linux-x86_64.sh

对于 Python 3.X:

 bash Anaconda3-2018.12-Linux-x86_64.sh

检查最新的 repos 或者如果你想要任何特定版本在这里: https ://repo.continuum.io/archive/

原文由 Bruce Pucci 发布,翻译遵循 CC BY-SA 4.0 许可协议

这将从网站上抓取 html 下载最新的 anaconda 版本:

 wget -O - https://www.anaconda.com/distribution/ 2>/dev/null | sed -ne 's@.*\(https:\/\/repo\.anaconda\.com\/archive\/Anaconda3-.*-Linux-x86_64\.sh\)\">64-Bit (x86) Installer.*@\1@p' | xargs wget

原文由 philipper 发布,翻译遵循 CC BY-SA 4.0 许可协议

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题