wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.1-Linux-x86_64.sh
- 2. 安装
-
bash Anaconda3-5.3.1-Linux-x86_64.sh
- 进入安装命令行
-
Welcome to Anaconda3 5.3.1 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] Please answer 'yes' or 'no':' >>> yes
- 选择安装位置,进入显示安装进度
-
Anaconda3 will now be installed into this location: /home/xxx/anaconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/home/xxx/anaconda3] >>> PREFIX=/home/xxx/anaconda3 installing: python-3.7.0-hc3d631a_0 ...
- 3. 写入环境变量
-
installation finished. Do you wish the installer to initialize Anaconda3 in your /home/xxx/.bashrc ? [yes|no] [no] >>>yes
- 完成安装,重启终端使配置生效
-
For this change to become active, you have to open a new terminal. Thank you for installing Anaconda3!
参考:https://blog.csdn.net/u012318074/article/details/77074665