We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

In this guide, we will be going through the process of installing Anaconda on Windows and Linux.

Screenshot-from-2022-09-24-14-35-27-2

What is Anaconda?

Anaconda is a very popular open-source Python and R distribution platform for scientific computing.

It is a single system that comes with many useful tools out of the box.

Screenshot-from-2022-09-26-12-17-20

It is basically the Swiss army knife of data science and scientific computing.

In this guide, Ill use the Bash terminal, which is standard on most Linux distributions.

Therefore first, I will move to the Downloads folder using this command.

you’re able to choose whichever directory you prefer.

Popular options include the/tmpdirectory because files in that directory are automatically deleted when the computer restarts.

see to it to pick one that works on your machine.

#3.launch the script

launch the installation script using bash using the following command.

Use the actual file path to Anaconda instead of path/to/Anaconda.

Here ./Anaconda.sh is where I saved my installation script.

If you used a different file path or name during the download, be sure to use that instead.

If you accept, key in yes and press ENTER.

The file location you choose will be where the Anaconda files are stored.

you might opt for default location by pressing ENTER.

Alternatively, it’s possible for you to specify a custom location by typing it out and pressing ENTER.

Just jot down yes and enter.

To add it, we need first to launch the.bashrcfile stored in the users home directory.

Remember to use Ctrl + Shift + V to paste when using Nano.

Use the absolute file path to the Anaconda folder in place of.

This is the folder where you chose to have Anaconda installed.

ensure to add/binafter the absolute path to the Anaconda folder.

#8.Verify installation.

After installation is complete, close your terminal and open it again.

When you re-pop pop the terminal, it should say base in parentheses before the normal terminal prompt text.

To launch Anaconda Navigator (the GUI tool), use the anaconda-navigator command.

To use Conda (the CLI tool), use the conda command.

Thats it!

If you see the screen above, then you have successfully installed Anaconda.

Hopefully, there are no errors at this point.

But if there are, do check out theAnaconda Community.