转自: http://blog.csdn.net/gjq246/article/details/70848831
1.下载(建议用迅雷下载比较快,然后复制到虚拟机上)
到官网http://continuum.io/downloads下载anaconda。
根据系统也python版本选择对应的安装包。
2.进入下载目录,打开终端,根据版本输入安装命令:
Python 3.6 version
bash Anaconda3-4.3.1-Linux-x86_64.sh
Python 2.7 version
bash Anaconda2-4.3.1-Linux-x86_64.sh
Do you wish the installer to prepend the Anaconda2 install location
to PATH in your /home/gjq/.bashrc ? [yes|no]
[no] >>> yes
For this change to become active, you have to open a new terminal.
Thank you for installing Anaconda2!
Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org
source ~/.bashrc
gjq@gjq-virtual-machine:~/Downloads$ python
Python 2.7.13 |Anaconda 4.3.1 (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>>