How to install Anaconda on Ubuntu 18.04

Anaconda is a popular Python/R Data Science platform, available for users in scientific communities. The platform is available as an open source distribution, which means you can perform Python/R Data Science and Machine learning on commonly used operating systems like Linux, Windows, and Mac OS X.

Anaconda is a free environment and package manager that includes all the necessary packages and libraries for Python programming languages ​​or R development when installed for the IDE (Integrated Development Environment).

You can also install and include more than 1,500 open source packages individually from their respective repositories. Anaconda is generally used for data processing, scientific computing, and predictive analytics.

Install Anaconda on Ubuntu

Now let’s see the process to install Anaconda on . At the time of writing, we downloaded the latest version: Anaconda 2018.12. By the time you read this article, Anaconda might have released a new update, but don’t worry, the procedure will remain the same.

You will first need to use SSH to login to your VPS. In case you need a refresher, here’s a tutorial that shows exactly how to do it with putty. If you are using Linux or MAC OS, just open the terminal.

Once you’ve logged into your VPS, we suggest moving to the /tmp directory and using curl to download the Anaconda installer from the official repository.

cd /tmp curl -O https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh

When the progress bar reaches 100% and the download is complete, we will verify the integrity of the package data. Do it by entering this command at the command line:

See also  What is a Hosting? - Explanatory video

sha256sum Anaconda3-5.2.0-Linux-x86_64.sh

The output will notify you if any errors occurred. For us everything was fine, so we can move on to the installation. For that we will have to execute the Anaconda bash script:

bash Anaconda3-5.2.0-Linux-x86_64.sh

After running the bash command, you will be welcomed to the Anaconda setup. But before the installation process, you must review and accept its license agreement. just press Enter to continue.

Now you can see the long paragraphs of the license agreements, pressing the space bar several times will take you to the end of the license agreement from where you can accept the terms. just write And it is as is highlighted and press Enter.

After accepting the license terms, the following message will ask you to enter the directory where you want to install Anaconda Python on your Ubuntu machine as shown above. The default location is the directory HOME of the user in Ubuntu. It is recommended to have Anaconda installed in this location. just press Enter to confirm the default location (you can also change the installation location to your desired path by entering the desired directory).

Now, finally, in the following message, you will see that the installation process has started. Wait a few minutes for the installer to successfully complete the installation process.

After the successful installation of Anaconda Python on your machine, the following message will ask if you want to include the Anaconda Python installation location in your Ubuntu 18.04 path as highlighted above. just write And it is and press Enter.

See also  How to create a brand: the complete guide for a company

Once the installation is complete, the following message will ask you to install Visual Studio Codewhich is a code editor created by Microsoft that recently partnered with Anaconda.

If you prefer the VSCode editor, type And it is to install it; otherwise, type no and press Enter if you just want to complete the installation now. Close the terminal and open it again to activate the changes. You can now use the terminal to run Anaconda Python on your Ubuntu 18.04 VPS.

conclusion

We hope that this article helped you to install Anaconda on your Ubuntu 18.04 machine, and that you use this amazing tool in your project. If you have any questions or suggestions, feel free to write them in the comments below.

Gustavo is passionate about creating websites. He focuses on the application of SEO strategies at for Spain and Latin America, as well as the creation of high-level content. When he is not applying new WordPress tricks you can find him playing the guitar, traveling or taking an online course.

Loading Facebook Comments ...
Loading Disqus Comments ...