ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

Ubuntu20.04中安装anconda

2021-12-29 20:59:18  阅读:344  来源: 互联网

标签:Ubuntu20.04 2021.11 x86 Anaconda3 安装 64 anconda anaconda root


1. 首先切换成root,在root下载安装文件

ubuntu@10-7:~$ su - root

然后输入root的密码(ubuntu系统输入密码不会显示)

Password:

然后会变成下面的样子

root@10-7:~#

2. 获取anaconda下载链接

anaconda官网

右键点击“64-Bit (x86) Installer (581 MB)”,“链接另存为...”

复制下方的地址:Anaconda3-2021.11-Linux-x86_64.sh

 3. 下载anaconda安装文件

root@10-7:~# wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh

 安装完成结果显示如下:

--2021-12-29 19:26:01--  https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.131.3, 104.16.130.3, 2606:4700::6810:8203, ...
Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.131.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 608680744 (580M) [application/x-sh]
Saving to: ‘/tmp/Anaconda3-2021.11-Linux-x86_64.sh’

Anaconda3-2021.11-Linux-x86_64.sh              100%[===================================================================================================>] 580.48M  5.82MB/s    in 98s     

2021-12-29 19:27:39 (5.94 MB/s) - ‘/tmp/Anaconda3-2021.11-Linux-x86_64.sh’ saved [608680744/608680744]

4. 安装anaconda安装文件

先进入到保存Anaconda3-2021.11-Linux-x86_64.sh的文件夹

root@10-7:cd /tmp

 开始安装

root@10-7:/tmp# bash Anaconda3-2021.11-Linux-x86_64.sh

显示如下界面

Welcome to Anaconda3 2021.11

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]
[no] >>> 
Please answer 'yes' or '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

选择安装位置,然后回车

PREFIX=/root/anaconda3
Unpacking payload ...

等待即可(需要的时间较长,请耐心等候),直到:

ne
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]

输入yes

出现下图

Thank you for installing Anaconda3!

===========================================================================

Working with Python and Jupyter notebooks is a breeze with PyCharm Pro,
designed to be used with Anaconda. Download now and have the best data
tools at your fingertips.

PyCharm Pro for Anaconda is available at: https://www.anaconda.com/pycharm

关闭并重新打开shell

在shell中输入

conda --version

有返回版本信息,说明安装完成

标签:Ubuntu20.04,2021.11,x86,Anaconda3,安装,64,anconda,anaconda,root
来源: https://blog.csdn.net/sinat_33842317/article/details/122223405

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有