How to install Anaconda3 on Ubuntu 18.04

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

1. Download Anaconda

Download Anaconda3-5.2.0-Linux-x86_64.sh (Anaconda version corresponding to Ubuntu18.04):

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

Picture 1

Method 2: Download from the open source software mirror station of Tsinghua University, as shown in Figure 2 and Figure 3.

Picture 2

Figure 3

  1. Install Anaconda

1 ) Open terminal;

2 ) Open the download file location: 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, then enter yes; check the location where the file will be installed, and press enter to install, 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 receive a prompt message to add environment variables, enter yes, as shown in Figure 7 (the host accidentally pressed the wrong button);

Figure 7

8 ) Seeing the information in Figure 8 indicates that the installation is complete.

Figure 8

9 ) The prompt message "Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]", enter no;

10 ) Restart the terminal to use Anaconda3;

11 ) If you enter python in the terminal, the python version that comes with Ubuntu will still be displayed, we execute:

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

Modify the terminal's default python to anaconda, and this is all done.

to sum up

This is the end of this article about installing Anaconda3 on Ubuntu 18.04. For more related ubuntu installation of Anaconda, please search for previous articles on ZaLou.Cn or continue to browse related articles below. Hope you will support ZaLou.Cn more in the future!

Recommended Posts

How to install Anaconda3 on Ubuntu 18.04
How to install Anaconda on Ubuntu 20.04
How to install Anaconda on Ubuntu 18.04 [Quick Start]
How to install Ruby on Ubuntu 20.04
How to install Memcached on Ubuntu 20.04
How to install Java on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
How to install VirtualBox on Ubuntu 20.04
How to install Elasticsearch on Ubuntu 20.04
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install Node.js on Ubuntu 16.04
How to install MySQL on Ubuntu 20.04
How to install Vagrant on Ubuntu 20.04
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install Memcached on Ubuntu 18.04
How to install Jenkins on Ubuntu 16.04
How to install MemSQL on Ubuntu 14.04
How to install Go on Ubuntu 20.04
How to install MongoDB on Ubuntu 16.04
How to install Mailpile on Ubuntu 14.04
How to install PrestaShop on Ubuntu 16.04
How to install Skype on Ubuntu 20.04
How to install Jenkins on Ubuntu 20.04
How to install Python 3.8 on Ubuntu 18.04
How to install KVM on Ubuntu 18.04
How to install KVM on Ubuntu 20.04
How to install opencv3.0.0 on ubuntu14.04
How to install Prometheus on Ubuntu 16.04
How to install Jenkins on Ubuntu 18.04
How to install Apache on Ubuntu 20.04
How to install R on Ubuntu 20.04
How to install Moodle on Ubuntu 16.04
How to install Solr 5.2.1 on Ubuntu 14.04
How to install Teamviewer on Ubuntu 16.04
How to install MariaDB on Ubuntu 20.04
How to install Nginx on Ubuntu 20.04
How to install Mono on Ubuntu 20.04
How to install Go on Ubuntu 20.04
How to install Zoom on Ubuntu 20.04
How to install Nginx on Ubuntu 16.04
How to install OpenCV on Ubuntu 20.04
How to install Spotify on Ubuntu 20.04
How to install Postman on Ubuntu 18.04
How to install Go 1.6 on Ubuntu 16.04
How to install Go on Ubuntu 18.04
How to install MySQL on Ubuntu 14.04
How to install PostgreSQL on Ubuntu 20.04
How to install VLC on Ubuntu 18.04
How to install TeamViewer on Ubuntu 20.04
How to install Webmin on Ubuntu 20.04
How to install Docker Compose on Ubuntu 18.04
How to install Ubuntu on Raspberry Pi
How to install Bacula Server on Ubuntu 14.04
How to install MySQL on Ubuntu 18.04 (linux)
How to install Ubuntu 19.10 on Raspberry Pi 4
How to install Apache Kafka on Ubuntu 18.04
How to install Apache Maven on Ubuntu 20.04
How to install Apache Tomcat 8 on Ubuntu 16.04