Ubuntu 服务器环境下安装 Miniconda

Posted 林東雨

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

在ubuntu服务器中搭建jupyter notebook,并安装numpy,scipy, matplotlibm, pandas, sklearn

在ubuntu服务器中搭建jupyter notebook,并安装numpy,scipy, matplotlibm, pandas, sklearn///tensorflow

在ubuntu服务器中搭建jupyter notebook,并安装numpy,scipy, matplotlibm, pandas, sklearn///tensorflow

Miniconda使用体验

ubuntu安装miniconda

Ubuntu 16.04 LTS 安装 miniconda