Anacoda3在 centos7 上的安裝
一、獲取安裝版本
# 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!