Ubuntu installed Anaconda3 pro-test success

Table of contents

Introduction to Anaconda

1. Download

1.1 Create a folder to store the installation package

 1.2 Enter into the folder:

1.3 wget command line download:

1.4 Download status:

2. Start the installation:

2.1 Enter the location where the file is stored:

 2.2 Run the .sh file:

 2.3 Enter the registration information page, enter yes:

 2.4 Read the registration information, then enter yes; check the location where the file will be installed, and press enter to install:

 2.5 Enter the installation process:

 2.6 After the installation is complete, you will receive a prompt to add environment variables, enter yes:

  2.7 Seeing these messages means that the installation has been completed:

3. Increase environment variables

4. Verify


Today I bought a new server to install the environment. . . . .

Introduction to Anaconda

     Python is a powerful programming language that provides many modules for scientific computing, common ones include numpy, scipy, and matplotlib. To use Python for scientific computing, you need to install the required modules one by one, and these modules may depend on other software packages or libraries, so it is relatively troublesome to install and use. Fortunately, someone is doing this kind of thing, compiling all the modules required for scientific computing, and then packaging them in the form of a distribution for users to use. Anaconda is one of the commonly used scientific computing distributions. Anaconda is an integration of python scientific computing.

1. Download

1.1 Create a folder to store the installation package

mkdir computerSoftwa

 1.2 Enter into the folder:

cd ./computerSoftwa/

1.3 wget command line download:

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-4.0.0-Linux-x86_64.sh

1.4 Download status:

 

2. Start the installation:


2.1 Enter the location where the file is stored:

cd /usr/local/computerSoftwa

 2.2 Run the .sh file:

sha256sum Anaconda3-4.0.0-Linux-x86_64.sh
bash Anaconda3-4.0.0-Linux-x86_64.sh

 2.3 Enter the registration information page, enter yes:

 2.4 Read the registration information, then enter yes; check the location where the file will be installed, and press enter to install:

 2.5 Enter the installation process:

 2.6 After the installation is complete, you will receive a prompt to add environment variables, enter yes:

  2.7 Seeing these messages means that the installation has been completed:

3. Increase environment variables

Get it done in one line!

echo 'export PATH="~/anaconda3/bin":$PATH' >> ~/.bashrc

 save it

source ~/.bashrc

 

4. Verify

conda list

  Enter python in the terminal to start the interactive interface of python

 This is all done.

Guess you like

Origin blog.csdn.net/weixin_46504244/article/details/121594906