Installation of Anaconda under Ubuntu 16.04

Today, I installed ubuntu16.04 on an idle computer in the lab, and then I want to install the Anaconda environment on it. After querying information and blogs, the final implementation is as follows:

  1. Download Anaconda from the official website of another laptop: https://www.continuum.io/downloads#linux
  2. ifconfig -aUse the command to view the local ip under Ubuntu
  3. The notebook uses MobaXterm SSH to connect to Ubuntu (recommended by girlfriend, it is really good), copy the files to the downloads folder under the user (because Ubuntu does not recognize the U disk)
  4. Invoke the command in the downloads folder to bash Anaconda2-4.4.0-Linux-x86_64.shstart the installation
  5. Press yes several times to agree to the agreement
  6. After the installation is successful, run it directly conda listto see if the installation is successful, or run it directly pythonto see if there is an Anaconda suffix behind it
  7. If step 6 is unsuccessful, then we need to manually add it in the .bashrc file export PATH="/opt/anaconda3/bin:$PATH", and then enter it on the command line source ~/.bashrc, you can use the command directlyexport PATH="/opt/anaconda3/bin:$PATH" >> ~/.bashrc
  8. Re-verify step 6, success

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325406050&siteId=291194637