Installing on Linux¶
For x86 systems.
In your browser, download the Anaconda installer for Linux.
Optional: Verify data integrity with MD5 or SHA-256. (For more information on hashes, see cryptographic hash validation.)
Open a terminal and run the following:
OR:
Note
Replace
/path/filename
with the actual path and filename of the file you downloaded.Optional: Verify results against the proper hash page to make sure the hashes match.
Enter the following to install Anaconda for Python 3.7:
OR Enter the following to install Anaconda for Python 2.7:
Note
Include the
bash
command regardless of whether or not you are using Bash shell.Note
If you did not download to your Downloads directory, replace
~/Downloads/
with the path to the file you downloaded.Note
Choose “Install Anaconda as a user” unless root privileges are required.
The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms.
Scroll to the bottom of the license terms and enter “Yes” to agree.
The installer prompts you to click Enter to accept the default install location, CTRL-C to cancel the installation, or specify an alternate installation directory. If you accept the default install location, the installer displays “PREFIX=/home/<user>/anaconda<2 or 3>” and continues the installation. It may take a few minutes to complete.
The installer prompts “Do you wish the installer to prepend the Anaconda<2 or 3> install location to PATH in your /home/<user>/.bashrc ?” Enter
Yes
.Note
If you enter “No”, you must manually add the path to Anaconda or conda will not work. See FAQ.
The installer describes Microsoft VS Code and asks if you would like to install VS Code. Enter
yes
orno
. If you selectedyes
, follow the instructions on screen to complete the VS Code installation.Note
Installing VS Code with the Anaconda installer requires an internet connection. Offline users may be able to find an offline VS Code installer from Microsoft.
The installer finishes and displays “Thank you for installing Anaconda<2 or 3>!”
Close and open your terminal window for the installation to take effect, or you can enter the command
source ~/.bashrc
.After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: Open a terminal window and type
anaconda-navigator
. If Navigator opens, you have successfully installed Anaconda. If not, check that you completed each step above, then see our Help page.Tip
For more information about Anaconda Navigator, see Navigator.
After your install completes, start using Anaconda with the instructions in Getting started with Anaconda.
Note
If you install multiple versions of Anaconda, the system defaults to the most current version, as long as you haven’t altered the default install path.