## 概述
Anaconda 是一个流行的Python和R数据科学和机器学习平台。它包含了众多科学计算和数据分析的库和工具。
## 安装步骤
### 1. 下载 Anaconda 安装器
打开终端,使用以下命令下载安装器:
```bash
curl -O https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
```
### 2. 运行安装脚本
```bash
bash Anaconda3-2023.09-0-Linux-x86_64.sh
```
### 3. 阅读并同意许可协议
- 当出现提示时,按 `Enter` 阅读协议。
- 输入 `yes` 同意协议。
### 4. 安装位置选择
- 默认安装位置是 `/root/anaconda3`。
- 按 `Enter` 确认安装位置或指定新位置。
### 5. 更新 shell 配置
- 当提示是否自动初始化 conda 时,输入 `yes`。
- 这将自动激活 conda 环境。
### 6. 重新打开终端
- 关闭并重新打开终端窗口使更改生效。
## 示例
```bash
Do you wish to proceed with the installation? [yes|no]
[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] >>>
```
完成以上步骤后,Anaconda 将在您的 CentOS 7 系统上成功安装。