meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general:computerenvironment:conda [2023/10/16 08:58] – felix | general:computerenvironment:conda [2024/04/15 12:45] (current) – freya | ||
---|---|---|---|
Line 8: | Line 8: | ||
{{ : | {{ : | ||
Whenever possible, we will use the [[https:// | Whenever possible, we will use the [[https:// | ||
+ | |||
+ | <WRAP important> | ||
+ | We will be using **Miniconda** in the course, this is sufficient for our purposes | ||
+ | </ | ||
==== Mamba ==== | ==== Mamba ==== | ||
- | The standard installation of Anaconda becomes considerably slow after a couple of different environments have been set up. We therefore recommend using [[https:// | + | The standard installation of Anaconda becomes considerably slow after a couple of different environments have been set up. We therefore recommend using [[https:// |
+ | |||
+ | After installing mamba, you can replace the '' | ||
==== Setting up Mamba ==== | ==== Setting up Mamba ==== | ||
- | |||
- | |||
- | * < | ||
- | |||
- | |||
- | ==== Setting up mamba ==== | ||
* You can follow the installation guide on the official [[https:// | * You can follow the installation guide on the official [[https:// | ||
- | - Download the latest '' | + | - Download the latest '' |
- Start the installation by typing< | - Start the installation by typing< | ||
< | < | ||
- | bash Anaconda3-XXXX.XX-Linux-x86_64.sh | + | bash Miniforge3-Linux-x86_64.sh |
- | </code>< | + | </ |
- The installation process will ask you to read and agree to the license agreement. Press ENTER to see the agreement, then scroll down. At the end you can agree to them by typing **yes**. When asked in which location Anaconda should be installed you can just press ENTER to accept the default location (e.g. / | - The installation process will ask you to read and agree to the license agreement. Press ENTER to see the agreement, then scroll down. At the end you can agree to them by typing **yes**. When asked in which location Anaconda should be installed you can just press ENTER to accept the default location (e.g. / | ||
- Towards the end of the installation, | - Towards the end of the installation, | ||
Line 36: | Line 36: | ||
- Check if the set up was successful: | - Check if the set up was successful: | ||
- In the new terminal that you have just opened, it should say something like: < | - In the new terminal that you have just opened, it should say something like: < | ||
- | - **Creating a Conda environment.** We will now create a [[https:// | + | - **Creating a Conda environment.** We will now create a [[https:// |
- | - To create a working environment named **// | + | - To create a working environment named **// |
- | conda create --name compgen python=3.9</ | + | mamba create --name compgen python=3.9</ |
- To activate the environment, | - To activate the environment, | ||
- To leave the environment, | - To leave the environment, | ||
Line 55: | Line 55: | ||
channel URLs : https:// | channel URLs : https:// | ||
- If the installation was successful, you can ask for further help with the individual commands, | - If the installation was successful, you can ask for further help with the individual commands, | ||
- | - You are now ready to install any software that is distributed via the [[http:// | + | |
+ | | ||
- The software packages are distributed via different channels. We will mainly use the channels [[https:// | - The software packages are distributed via different channels. We will mainly use the channels [[https:// | ||
- To simplify your life, it might be a good idea to add frequently used channels to a list of channels where [[http:// | - To simplify your life, it might be a good idea to add frequently used channels to a list of channels where [[http:// | ||
conda config --add channels bioconda | conda config --add channels bioconda | ||
conda config --add channels conda-forge</ | conda config --add channels conda-forge</ | ||
- | - Install the package [[https:// | ||
- | - [[http:// | ||
- | - if you wish, you can also // | ||
If you completed all of the steps above, then you should be ready to make full use of the conda package manager. | If you completed all of the steps above, then you should be ready to make full use of the conda package manager. | ||