Now we will start the Anaconda installation process by running the installation script:<\/p>\n
bash Anaconda3-2019.03-Linux-x86_64.sh<\/pre>\nYou should see the following output:<\/p>\n
Welcome to Anaconda3 2019.03\n\nIn order to continue the installation process, please review the license\nagreement.\nPlease, press ENTER to continue<\/pre>\nWe will press the [ENTER] key to continue the installation. The next step is to then agree to and approve the license terms:<\/p>\n
Output:\nDo you accept the license terms? [yes|no]<\/pre>\nType yes<\/em>, then press the [ENTER] key to submit your answer. Now we should choose the installation location.<\/p>\nOutput:\nAnaconda3 will now be installed into this location:\n\/root\/anaconda3\n\n- Press ENTER to confirm the location\n- Press CTRL-C to abort the installation\n- Or specify a different location below<\/pre>\nWe will choose the default path location \/root\/anaconda3.\u00a0<\/em>Press the [ENTER] key to continue with the installation. The installation will take some time – once it is completed, you will be prompted with the following output:<\/p>\nDo you wish the installer to initialize Anaconda3\nby running conda init? [yes|no]<\/pre>\nWe will type yes\u00a0<\/em>so that we can use the conda\u00a0<\/em>command. You should be presented with the following output:<\/p>\nFor changes to take effect, close and re-open your current shell.\n\nIf you'd prefer that conda's base environment not be activated on startup,\nset the auto_activate_base parameter to false:\nconda config --set auto_activate_base false\n\nThank you for installing Anaconda3!<\/pre>\nNext, we will activate the Anaconda installation and load the initial path which we added previously. To activate the Anaconda installer, run the following command:<\/p>\n
source ~\/.bashrc<\/pre>\nWe can verify the Anaconda installation by running the following command:<\/p>\n
conda info<\/pre>\nThe following output should be given:<\/p>\n
active environment : base\nactive env location : \/root\/anaconda3\nshell level : 1\nuser config file : \/root\/.condarc\npopulated config files :\nconda version : 4.6.11\nconda-build version : 3.17.8\npython version : 3.7.3.final.0\nbase environment : \/root\/anaconda3 (writable)\nchannel URLs : https:\/\/repo.anaconda.com\/pkgs\/main\/linux-64\nhttps:\/\/repo.anaconda.com\/pkgs\/main\/noarch\nhttps:\/\/repo.anaconda.com\/pkgs\/free\/linux-64\nhttps:\/\/repo.anaconda.com\/pkgs\/free\/noarch\nhttps:\/\/repo.anaconda.com\/pkgs\/r\/linux-64\nhttps:\/\/repo.anaconda.com\/pkgs\/r\/noarch\npackage cache : \/root\/anaconda3\/pkgs\n\/root\/.conda\/pkgs\nenvs directories : \/root\/anaconda3\/envs\n\/root\/.conda\/envs\nplatform : linux-64\nuser-agent : conda\/4.6.11 requests\/2.21.0 CPython\/3.7.3 Linux\/2.6.32-042stab131.1 ubuntu\/18.04 glibc\/2.23\nUID:GID : 0:0\nnetrc file : None\noffline mode : False<\/pre>\nYou now have a working copy of Anaconda on your Ubuntu 18.04 VPS. The next step can help you learn to use this new software.<\/p>\n