Python(四)开源的Python包管理器 anaconda——linux安装

简介: 首先,在ubuntu下,anaconda是没有图形化界面的,只能是命令行操作。去官方网站下载他的ubuntu的安装包(x86)访问官方网址下载:

在ubuntu上安装python开源包管理器anaconda。

这部分的内容其实不多,具体的命令什么的,在上篇windows安装中已经具体介绍过,这里就不在赘述。这里大概介绍下安装的过程。

 

首先,在ubuntu下,anaconda是没有图形化界面的,只能是命令行操作。

去官方网站下载他的ubuntu的安装包(x86)

访问官方网址下载:

www.anaconda.com/products/in…

如下图所示:

image.png

安装包是一个.sh文件。

在安装的时候一定要注意,要给其赋可执行的权限,不然会报错:“权限不够”

 1:开始安装

bash Anaconda3-2018.12-Linux-x86_64.sh

显示以下协议,按回车直到末尾,别按太快,我按太快了,导致安装出错。

vbnet

复制代码

Welcome to Anaconda3 2018.12
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
...
Do you approve the license terms? [yes|no]

输入yes。

 1.2指定安装位置

javascript

复制代码

Anaconda3 will now be installed into this location:
/home/sammy/anaconda3
  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below
[/home/sammy/anaconda3] >>>

直接回车。

1.3完成安装

css

复制代码

installation finished.
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /home/sammy/.bashrc ? [yes|no]
[no] >>>

是否添加环境变量,yes。

vbnet

复制代码

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]

是否安装visual studio code,具体看你自己需求

至此,anaconda安装完成。

最重要的一步来了:

我们需要在ubuntu的命令行窗口激活anaconda才能使用。命令如下:

bash

复制代码

source ~/.bashrc

然后我们打开命令行窗口就可以使用anaconda了。

测试一下:

复制代码

conda –version

运行成功,有好的建议,请在下方输入你的评论。

目录
相关文章
|
Oracle 关系型数据库 Linux
VirtualBox 7.1.10 (macOS, Linux, Windows) - 开源跨平台虚拟化软件
VirtualBox 7.1.10 (macOS, Linux, Windows) - 开源跨平台虚拟化软件
1159 0
VirtualBox 7.1.10 (macOS, Linux, Windows) - 开源跨平台虚拟化软件
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
1285 1
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
718 1
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
|
Java Linux Apache
Apache NetBeans 27 (macOS, Linux, Windows) - Java 等多语言开源跨平台 IDE
Apache NetBeans 27 (macOS, Linux, Windows) - Java 等多语言开源跨平台 IDE
753 5
Apache NetBeans 27 (macOS, Linux, Windows) - Java 等多语言开源跨平台 IDE
|
缓存 安全 Linux
六、Linux核心服务与包管理
在没有网络的情况下,使用系统安装光盘是获取RPM包的常用方法。场景二:配置本地文件镜像源 (使用系统安装光盘/ISO)(检查RPM包的GPG签名以保证安全) 或。YUM/DNF包管理工具 (yum/dnf)(此处可以放置您为本主题制作的思维导图)处理依赖问题的危险选项 (应极力避免)(覆盖文件、替换已安装包)。(list) 则是列出文件。(query file) 是。(假设系统安装光盘已挂载到。信息 (verbose)。(upgrade) 选项。(all) 已安装的包。(package) 选项
843 11
|
Linux iOS开发 计算机视觉
GIMP 3.0.6 (Linux, macOS, Windows) 发布 - 免费开源图像编辑器
GIMP 3.0.6 (Linux, macOS, Windows) 发布 - 免费开源图像编辑器
794 0
|
安全 Linux 网络安全
Metasploit Framework 6.4.88 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.88 (macOS, Linux, Windows) - 开源渗透测试框架
786 0
|
Linux API iOS开发
Blender 4.5 (Linux, macOS, Windows) - 开源 3D 创意软件 (渲染 建模 雕刻)
Blender 4.5 (Linux, macOS, Windows) - 开源 3D 创意软件 (渲染 建模 雕刻)
695 1
Blender 4.5 (Linux, macOS, Windows) - 开源 3D 创意软件 (渲染 建模 雕刻)
|
Linux iOS开发 MacOS
Krita 5.2.10 (Linux, macOS, Windows) - 开源免费绘画软件
Krita 5.2.10 (Linux, macOS, Windows) - 开源免费绘画软件
853 0
Krita 5.2.10 (Linux, macOS, Windows) - 开源免费绘画软件