centos7安装配置 Anaconda3

Anaconda 是一个用于科学计算的 Python 发行版,Anaconda于Python,相当于centos于linux。
下载

[root@test src]# mwget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.2.0-Linux-x86_64.sh
Begin to download: Anaconda3-5.2.0-Linux-x86_64.sh
FileSize: 621M
100% [================================================================================================================================] [621M] [313K/s] [ETA:00:00]Download successfully in 08:00 M:S
[root@test src]# chmod a+x Anaconda3-5.2.0-Linux-x86_64.sh 

安装

[root@test src]# sh Anaconda3-5.2.0-Linux-x86_64.sh 

Welcome to Anaconda3 5.2.0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>  回车
Do you accept the license terms? [yes|no]
[no] >>> yes 
[/root/anaconda3] >>> /usr/local/anaconda3  	安装目录
PREFIX=/usr/local/anaconda3
installing: python-3.6.5-hc3d631a_2 ...
Python 3.6.5 :: Anaconda, Inc.
installing: blas-1.0-mkl ...
installing: ca-certificates-2018.03.07-0 ...
installing: conda-env-2.6.0-h36134e3_1 ...
installing: intel-openmp-2018.0.0-8 ...
installing: libgcc-ng-7.2.0-hdf63c60_3
......
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]
[no] >>> yes

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
>>> no

source

[root@test src]# source /root/.bashrc

查看效果、版本

[root@test src]# python --version    
Python 3.6.5 :: Anaconda, Inc.
[root@test src]# anaconda -V
anaconda Command line client (version 1.6.14)
[root@test src]# conda -V
conda 4.5.4

--------------------------------------end

上一篇:vscode 安装go插件失败后,最简单的方法


下一篇:GBase 8a MPP Cluster 安装操作