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

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

目录
相关文章
|
5天前
|
Linux 开发工具 C语言
Linux 安装 gcc 编译运行 C程序
Linux 安装 gcc 编译运行 C程序
23 0
|
5天前
|
Ubuntu Linux Python
Linux(15)Ubuntu安装ninja构建工具
Linux(15)Ubuntu安装ninja构建工具
15 0
|
7天前
|
NoSQL Linux 测试技术
Redis的安装(Linux版)
Redis的安装(Linux版)
151 1
|
2天前
|
关系型数据库 MySQL Java
Linux 安装 JDK、MySQL、Tomcat(图文并茂)
Linux 安装 JDK、MySQL、Tomcat(图文并茂)
15 2
|
2天前
|
负载均衡 Java 应用服务中间件
nginx安装在linux上
nginx安装在linux上
23 2
|
3天前
安装OpenCV-Python
安装OpenCV-Python
11 1
|
3天前
|
监控 安全 Linux
Linux系统之安装ServerBee服务器监控工具
【4月更文挑战第22天】Linux系统之安装ServerBee服务器监控工具
42 2
|
3天前
|
5G Python
Windows11搭建Python环境(Anaconda安装与使用)
Windows11搭建Python环境(Anaconda安装与使用)
21 0
|
4天前
|
Linux 开发工具 Android开发
Docker系列(1)安装Linux系统编译Android源码
Docker系列(1)安装Linux系统编译Android源码
7 0
|
4天前
|
Ubuntu Linux 开发工具
WSL2(3)安装Linux headers完美解决方案
WSL2(3)安装Linux headers完美解决方案
5 0