Skip to content
Snippets Groups Projects
Select Git revision
  • dd5cb5366fa3c75d7404ededc80eb60546cdfb94
  • main default protected
  • develop
  • 0.2.0
  • 0.1.0
5 results

01install.md

Blame
  • user avatar
    Kham Chaimae authored and KHAM Chaimae committed
    dd5cb536
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    01install.md 792 B

    #Install the micromamba

    curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba

    mkdir -p $HOME/.local/bin

    mv bin/micromamba $HOME/.local/bin/

    mkdir -p $HOME/micromamba

    #Add these lines to ~/.bashrc

    export PATH=HOME/.local/bin:PATH

    export MAMBA_ROOT_PREFIX=$HOME/micromamba

    eval "$(micromamba shell hook -s posix)"

    #Create a m2bsgreprod micromamba environment and install apptainer 1.3.2

    micromamba create --name m2bsgreprod python=3.12 -c conda-forge

    micromamba activate m2bsgreprod

    micromamba install conda-forge::apptainer=1.3.2

    #Build the apptainer image

    mkdir -p results/containers

    sudo /home/gonzalez/Software/micromamba/envs/m2bsgreprod/bin/apptainer build results/containers/m2bsgreprod.sif containers/m2bsgreprod.def