First download the Anaconda installation package on Linux:
$ wget https://repo.anaconda.com/archive/Anaconda3-5.1.0-Linux-x86_64.sh
Then empower and execute the Setup program:
$ chmod +x anaconda3-5.1.0-linux-x86_64.sh
$./anaconda3-5.1.0-linux-x86_64.sh
The installation process is as follows:
$./anaconda3-5.1.0-linux-x86_64.sh Welcome to Anaconda3 5.1.0 onorder to continue the installation process, pleas E Review the LicenseAgreement. Please, press ENTER to continue>>> ===================================Anaconda End User License agreement= ==================================...
Does you accept the license terms? [Yes|no]
>>> Yes
Anaconda3 'll now is installed into the This location:
/home/py/anaconda3
-Press ENTER to confirm the location
-Press CTRL-C to abort the installation
-Or Specify a different location below
[/home/py/anaconda3] >>>/anaconda/anaconda3 Enter the custom installation path, if you use the default , enter Skip
Then add the anaconda to the environment variable and make it effective:
$ vi. Bash_profile in the last line, add the following configuration: Export path=/anaconda/anaconda3/Bin: $PATH If the default installation path is: Export path=/home/py/ anaconda3/Bin: $PATH then make it effective: $source. bash_profile
Finally, check the installation results:
$ python-Vpython 3.6.4:: Anaconda, Inc.
If you need to uninstall Anaconda, you only need to delete the Anaconda directory:
$ rm-rf/anaconda/anaconda3
Installation and uninstallation of Anaconda on Linux environment