anaconda Refers to an open sourcePython Release version, It containsconda,Python etc.180 Multiple science packages and their dependencies. Can helppython Developers save a lot of work installing science packs. Let's briefly introduce how toUbuntu16.04 Installation in environmentAnaconda3.
First, goAnaconda Download address for <https://www.anaconda.com/download/#download>
Download correspondingpython VersionsAnaconda install files.（ What I download here ispython3.6 Version）
After downloading, The command line enters theAnaconda3-5.0.1-Linux-x86_64.sh Under the path of the file：
[email protected]:~/Downloads$ sudo bash
Anaconda3-5.0.0-Linux-x86_64.sh Welcome to Anaconda3 5.0.0 In order to continue
the installation process, please review the license agreement. Please, press
ENTER to continue >>>
Then? Press enter to continue as prompted.
Next, It will prompt you to accept the agreement, Enter directly hereyes, Press enter again（ Don't press enter directly, The default isno）
Do you accept the license terms? [yes|no] [no] >>> yes
Next, you will be prompted to specify the installation path, You can use the default, You can also specify it yourself（ I have assigned myself to a folder here）
Anaconda3 will now be installed into this location: /home/zerozone/anaconda3 -
Press ENTER to confirm the location - Press CTRL-C to abort the installation -
Or specify a different location below - [/home/zerozone/anaconda3] >>>
Then wait for the installation process to complete, You will be prompted if you want toAnaconda Installation path of added toPATH In environment variable, inputyes Just fine.
installation finished. Do you wish the installer to prepend the Anaconda3
install location to PATH in your /home/hj/.bashrc ? [yes|no]
If inputno, Then we need to manually.bashrc Add to fileexport PATH="/opt/anaconda3/bin:$PATH"
, And then on the command line, typesource ~/.bashrc
thus,Anaconda Just install it, In testingAnaconda Before installation, We need to shut down the current terminal first, After restarting and opening another terminal, Before testing, inputpython To see if the installation was successful
$ python Python 3.6.2 |Anaconda, Inc.| (default, Sep 22 2017, 02:03:08) [GCC
7.2.0] on linux Type "help", "copyright", "credits" or "license" for more
We found, Now start in terminalPython, Has been replaced withAnaconda OfPython 了, This means the installation is successful.
We can also enter the following command to enableanaconda-navigator, It's integratedAnaconda Some tools.（ Be careful, It may take a long time to open, Just wait patiently）