一、获取安装版本
# wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.0.0-Linux-x86_64.sh
–2018-11-16 13:03:59-- https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.0.0-Linux-x86_64.sh
正在解析主机 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)… 101.6.8.193, 2402:f000:1:408:8100::1
正在连接 mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.8.193|:443… 已连接。
已发出 HTTP 请求,正在等待回应… 200 OK
长度:548789360 (523M) [application/octet-stream]
正在保存至: “Anaconda3-5.0.0-Linux-x86_64.sh”
100%[==================================================================================================================================================================>] 548,789,360 5.19MB/s 用时 92s
2018-11-16 13:05:30 (5.71 MB/s) - 已保存 “Anaconda3-5.0.0-Linux-x86_64.sh” [548789360/548789360])
# ls
Anaconda3-5.0.0-Linux-x86_64.sh tensorflow
二、安装一个插件
# yum -y install bzip2
已加载插件:fastestmirror, langpacks
Repository vbatts-bazel is listed more than once in the configuration
vbatts-bazel | 3.0 kB 00:00:00
Loading mirror speeds from cached hostfile
- base: mirrors.tuna.tsinghua.edu.cn
- epel: mirrors.tuna.tsinghua.edu.cn
- extras: mirrors.tuna.tsinghua.edu.cn
- updates: mirrors.tuna.tsinghua.edu.cn
软件包 bzip2-1.0.6-13.el7.x86_64 已安装并且是最新版本
无须任何处理
三、安装Anaconda
# bash Anaconda3-5.0.0-Linux-x86_64.sh
Welcome to Anaconda3 5.0.0
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> yes
Do you accept the license terms? [yes|no]yes
Anaconda3 will now be installed into this location:
/root/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda3] >>> /Application/XXXXXX/enterprise/anaconda3
installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]
[no] >>> yes
Appending source /Application/Aleiye/enterprise/anaconda3/bin/activate to /root/.bashrc
A backup will be made to: /root/.bashrc-anaconda3.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Anaconda3!