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 mysql exists and not exists examples

Detailed explanation of mysql exists and not exis...

Example code of CSS responsive layout system

Responsive layout systems are already very common...

Vue3 (Part 2) Integrating Ant Design Vue

Table of contents 1. Integrate Ant Design Vue 2. ...

A brief discussion on the pitfalls of react useEffect closure

Problem code Look at a closure problem code cause...

HTML optimization speeds up web pages

Obvious HTML, hidden "public script" Th...

A brief discussion on Vue3 father-son value transfer

Table of contents From father to son: 1. In the s...

Explanation of the usage scenarios of sql and various nosql databases

SQL is the main trunk. Why do I understand it thi...

Node+Express test server performance

Table of contents 1 Test Environment 1.1 Server H...

Solution to MySql Error 1698 (28000)

1. Problem description: MysqlERROR1698 (28000) so...

Teach you to quickly build a web cluster project based on nginx

Table of contents 1. Project Environment 2. Proje...

Detailed explanation of non-parent-child component communication in Vue3

Table of contents First method App.vue Home.vue H...

How to start a Vue.js project

Table of contents 1. Node.js and Vue 2. Run the f...