Linux操作系统安装Anaconda2
1、安装wget命令
yum install wget
2、下载Anaconda2文件
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda2-2.5.0-Linux-x86_64.sh
3、安装Anaconda2文件
bash Anaconda2-2.5.0-Linux-x86_64.sh
4、安装过程中制定安装目录:/usr/local/anaconda2
5、添加到用户环境和系统环境
vim .bashrc
# added by Anaconda2 2.5.0 installer
export PATH="/usr/local/anaconda2/bin:$PATH"
vim /etc/profile
# added by Anaconda2 2.5.0 installer
export PATH="/usr/local/anaconda2/bin:$PATH"
6、让系统环境变量生效
source /etc/profile
which python
显示结果为:/usr/local/anaconda2/bin/python