C/C++教程

Ubuntu 服务器环境下安装 Miniconda

本文主要是介绍Ubuntu 服务器环境下安装 Miniconda,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

Anaconda or Miniconda ?

Choose Anaconda if you:

  • Are new to conda or Python.
  • Like the convenience of having Python and over 1,500 scientific packages automatically installed at once.
  • Have the time and disk space---a few minutes and 3 GB.
  • Do not want to individually install each of the packages you want to use.

Choose Miniconda if you:

  • Do not mind installing each of the packages you want to use individually.
  • Do not have time or disk space to install over 1,500 packages at once.
  • Want fast access to Python and the conda commands and you wish to sort out the other programs later.

tl,dt

  • 初学者,在本地跑,建议安装 Anaconda
  • Linux服务器,存储空间有限,建议安装 Miniconda

参考资料
see if Miniconda is right for you

安装 Miniconda

1,下载 miniconda
$ wget -c http://repo.continuum.io/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh
-c : 断点续传

尽量不要使用Miniconda-latest-Linux-x86_64.sh,不总是最新版本

2,验证 miniconda
$ sha256sum filename
>> 536817d1b14cb1ada88900f5be51ce0a5e042bae178b5550e62f61e223deae7c Miniconda3-py39_4.9.2-Linux-x86_64.sh
检查hash information 与https://conda.io/en/latest/miniconda_hashes.html 网站的对照表,核查下载的版本是否正确

3,安装 miniconda
$ Miniconda3-py39_4.9.2-Linux-x86_64.sh

4,重启

5,检验
$ conda list

参考资料
https://www.cnblogs.com/qiniqnyang/p/5592960.html
https://repo.anaconda.com/miniconda/
https://conda.io/projects/conda/en/latest/user-guide/install/linux.html#

这篇关于Ubuntu 服务器环境下安装 Miniconda的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!