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#
