-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
157 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,54 @@ | ||
# Anaconda Installation | ||
# Miniconda Installation | ||
|
||
Linux environment is needed to install and use the [Anaconda package manager](https://www.anaconda.com/products/distribution). | ||
A Linux environment is needed to install and use [Miniconda](https://docs.conda.io/en/latest/miniconda.html), a minimal installer for conda. | ||
|
||
`wget` links below are only for example. One should check for updated distributions. | ||
`wget` links below are for example. Always check for the latest distributions on the official Miniconda website. | ||
|
||
If using a Mac download the Mac distribution, Mac 64-Bit Command Line installer | ||
If using a Mac, download the Mac distribution: | ||
|
||
``` | ||
wget https://repo.anaconda.com/archive/Anaconda3-2022.05-MacOSX-x86_64.sh | ||
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh | ||
``` | ||
|
||
If using WSL, download the Linux 64-Bit Installer | ||
If using WSL or Linux, download the Linux 64-Bit Installer: | ||
|
||
``` | ||
wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh | ||
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
``` | ||
|
||
Install Anaconda using the downloaded file. | ||
Install Miniconda using the downloaded file: | ||
|
||
``` | ||
bash ./Anaconda3-2022.05-*-x86_64.sh | ||
bash Miniconda3-latest-*-x86_64.sh | ||
``` | ||
|
||
Press `Enter` to review agreement. Exit agreement, `q`. Accept terms, `yes`. Press enter to install in default home directory. After installation agree to `conda init`. | ||
Follow the prompts: | ||
1. Press `Enter` to review the license agreement. | ||
2. Press `q` to exit the agreement view. | ||
3. Type `yes` to accept the terms. | ||
4. Press `Enter` to confirm the default installation location or enter a custom path. | ||
5. When asked if you wish to initialize Miniconda3, type `yes`. | ||
|
||
Close and reopen terminal. | ||
Close and reopen your terminal for the changes to take effect. | ||
|
||
# Anaconda Environment | ||
# Conda Environment | ||
|
||
Do not install packages in base. Instead make an environment. | ||
It's best practice not to install packages in the base environment. Instead, create a new environment for your project. | ||
|
||
Summary of commands to [manage environments](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) | ||
Summary of commands to [manage environments](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html): | ||
|
||
Create new environment | ||
Create a new environment: | ||
``` | ||
conda create --name myenv | ||
``` | ||
|
||
Activate the environment: | ||
``` | ||
conda activate myenv | ||
``` | ||
For vSNP3 see [README](../../README.md) | ||
|
||
[Additional Tools](../../docs/instructions/additional_tools.md) | ||
For vSNP3, please refer to the [README](../../README.md). | ||
|
||
For information on additional tools, see [Additional Tools](../../docs/instructions/additional_tools.md). | ||
|
||
Remember, Miniconda provides a minimal set of packages. If you need additional packages, you can install them using `conda install` within your activated environment. |