


We can activate the new environment by typing the following: $ conda activate my_envĪs the environment is active now, the command prompt prefix will change to include the environment name. The conda utility will now fetch the packages for the environment and let us know when it is complete. Here my_env is the environment name: $ conda create -name my_env python=3 To create an environment using the most recent version of Python 3, use the command below. We will receive output with the different versions of Python that we can target. For each Anaconda environment, we can specify which version of Python to use and can keep all of the related programming files together within that directory.įirst, we can check to see which versions of Python are available for us to use: $ conda search "^python$" Setting Up Anaconda EnvironmentsĪnaconda virtual environments allow us to keep projects organized by Python versions and packages needed. Now that Anaconda is installed, we can go on to setting up Anaconda environments. Now activate the installation by sourcing the ~/.bashrc file: $ source ~/.bashrc

ANACONDA DISTRIBUTION INSTALL
It also asks if we want to prepend the Anaconda3 install location the. Once the installation is complete, you will receive the following output that “installation finished”. We can press ENTER to accept the default location, or specify a different location to modify it. This installation script prompts to choose the location of the installation. Now we can run the script to start the installation: $ bash Anaconda3-2019.03-Linux-x86_64.sh As long as the output matches the hash displayed in the sha2561 row, we are good to go.
ANACONDA DISTRIBUTION VERIFICATION
Now verify the data integrity of the installer with cryptographic hash verification using the command below: $ sha256sum Anaconda3-2019.03-Linux-x86_64.shĬheck the output against the hashes available at the Anaconda with Python 3 on the 64-bit Linux page for the appropriate Anaconda version. To install Anaconda, we need to download the latest Anaconda installer bash script from the official website here.įor this, change to the /tmp directory on the server and use curl to download the link that you copied from the Anaconda website: $ curl -O Let us today discuss the steps to install Anaconda Python on Ubuntu. Install of Anaconda Python on Ubuntu involves a series of steps that include setting up the Anaconda environment.Īs a part of our Server Management Services, we help our Customers with software installations regularly.
