miniconda for ubuntu
时间: 2023-10-08 12:06:05 浏览: 105
Linux_Miniconda_x86
要在Ubuntu上安装Miniconda,您可以按照以下步骤进行操作:
1. 首先,在终端中输入以下命令来下载Miniconda的安装文件:
```shell
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
```
2. 然后,运行以下命令来安装Miniconda。请注意,您可以将路径替换为您想要安装的位置:
```shell
bash Miniconda3-latest-Linux-x86_64.sh -b -p /your/installation/path
```
您可以使用上述引用中提到的默认位置`/root/miniconda3`进行安装,或者将`/your/installation/path`替换为您自定义的安装路径。
3. 接下来,运行以下命令来添加Miniconda到系统的环境变量中:
```shell
echo 'export PATH="/your/installation/path/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
请确保将`/your/installation/path`替换为您在第2步中选择的实际安装路径。
至此,您已成功在Ubuntu上安装了Miniconda。您可以在终端中运行`conda`命令来验证安装是否成功。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【记录】Ubuntu子系统通过miniconda构建python虚拟环境并使用Jupyter](https://blog.csdn.net/weixin_43427784/article/details/126681704)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【Linux】在Ubuntu上安装和使用miniconda](https://blog.csdn.net/zhangyk11/article/details/124529380)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文