Detailed tutorial on installing Anaconda3 on Ubuntu 18.04

Detailed tutorial on installing Anaconda3 on Ubuntu 18.04

Anaconda refers to an open source Python distribution that includes more than 180 scientific packages such as conda, Python, and their dependencies. Because it contains a large number of scientific packages, the download file of Anaconda is relatively large (about 531 MB). If you only need certain packages, or need to save bandwidth or storage space, you can also use Miniconda, a smaller distribution (containing only conda and Python).

1. Download Anaconda

Download Anaconda3-5.2.0-Linux-x86_64.sh (the corresponding Anaconda version for Ubuntu 18.04):

Method 1: Download from the Anaconda official website, which is time-consuming, as shown in Figure 1.

Figure 1

Method 2: Download from Tsinghua University Open Source Software Mirror Site , as shown in Figures 2 and 3.

Figure 2

Figure 3

2. Install Anaconda

1) Open the terminal;

2) Open the location where you downloaded the file: cd Downloads/

3) Run the .sh file:

bash Anaconda3-5.2.0-Linux-x86_64.sh

4) Enter the registration information page and enter yes;

Figure 4

5) Read the registration information and enter yes ; check the location where the file will be installed and press enter to install it, as shown in Figure 5;

Figure 5

6) Enter the installation process, as shown in Figure 6;

Figure 6

7) After the installation is complete, you will receive a prompt to add environment variables. Enter yes , as shown in Figure 7 (in the figure, the host accidentally pressed the wrong button);

Figure 7

8) See Figure 8, the information indicates that the installation is complete.

Figure 8

9) When prompted "Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]", enter no.

10) Restart the terminal and you can use Anaconda3;

11) If you enter python in the terminal, the built-in python version of Ubuntu will still be displayed. We execute:

sudo gedit ~/.bashrcexport PATH="/home/xupp/anaconda3/bin:$PATH"source ~/.bashrc

Change the default python of the terminal to anaconda, and everything is done.

Summarize

This is the end of this article about installing Anaconda3 on Ubuntu 18.04. For more information about installing Anaconda on Ubuntu, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Complete steps to install Anaconda3 in Ubuntu environment

<<:  Basic usage of UNION and UNION ALL in MySQL

>>:  A Brief Analysis of Subqueries and Advanced Applications in MySql Database

Recommend

Detailed explanation of 10 common HTTP status codes

The HTTP status code is a 3-digit code used to in...

Detailed explanation of several storage methods of docker containers

Table of contents Written in front Several storag...

How to make React components full screen

introduce This article is based on React + antd t...

Issues installing Python3 and Pip in ubuntu in Docker

text 1) Download the Ubuntu image docker pull ubu...

Detailed explanation of MySQL information_schema database

1. Overview The information_schema database is th...

Detailed explanation of creating stored procedures and functions in mysql

Table of contents 1. Stored Procedure 1.1. Basic ...

Detailed explanation of Vue router routing

Table of contents 1. Basic use 2. Several points ...

Detailed explanation of TS object spread operator and rest operator

Table of contents Overview Object rest attribute ...

Vue3 navigation bar component encapsulation implementation method

Encapsulate a navigation bar component in Vue3, a...

Several mistakes that JavaScript beginners often make

Table of contents Preface Confusing undefined and...

Detailed explanation of Nginx http resource request limit (three methods)

Prerequisite: nginx needs to have the ngx_http_li...

Beginner's guide to building a website ⑥: Detailed usage of FlashFXP

Today I will introduce the most basic functions of...

The difference between Div and table in HTML (discussed in detail in all aspects)

1: Differences in speed and loading methods The di...

JavaScript implements product details of e-commerce platform

This article shares a common example of viewing p...