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#
标签:x86,Ubuntu,miniconda,conda,Linux,服务器,packages,Miniconda 来源: https://www.cnblogs.com/blue-lin/p/14843540.html