From 16137fe87a1d970ff8f8e959789aa32b1b9dfc77 Mon Sep 17 00:00:00 2001
From: KHAM Chaimae <k24022051@V-PJ-47-090.salsa.univ-amu.fr>
Date: Mon, 18 Nov 2024 14:44:37 +0100
Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20du=2001install.md?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Doc/01install.md | 48 +++++++++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 21 deletions(-)

diff --git a/Doc/01install.md b/Doc/01install.md
index b8822ac..4611374 100644
--- a/Doc/01install.md
+++ b/Doc/01install.md
@@ -1,41 +1,47 @@
-#Install the micromamba
-
-#Download and extract micromamba:
+# Install the micromamba
 
+# Download and extract 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/
-
-#Create the root directory for micromamba:
-
+~~~
+# Create the root directory for micromamba:
+~~~
 mkdir -p $HOME/micromamba
-
-#Add the following lines to your ~/.bashrc to configure the environment:
-
+~~~
+# Add the following lines to your ~/.bashrc to configure the environment:
+~~~
 export PATH=$HOME/.local/bin:$PATH
 
 export MAMBA_ROOT_PREFIX=$HOME/micromamba
 
 eval "$(micromamba shell hook -s posix)"
-
-#Create a new micromamba environment named m2bsgreprod with Python 3.12:
-
+~~~
+# Create a new micromamba environment named m2bsgreprod with Python 3.12:
+~~~
 micromamba create --name m2bsgreprod python=3.12  -c conda-forge
 
 micromamba activate m2bsgreprod
-
-#Install Apptainer 1.3.2:
-
+~~~
+# Install Apptainer 1.3.2:
+~~~
 micromamba install conda-forge::apptainer=1.3.2
-
-#Create the output directory and build the apptainer image:
-
+~~~
+# Create the output directory and 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
-
+~~~
+## Run the following command to find the path to apptainer:
+~~~
+which apptainer:
+~~~
+## Use the output from the which command to replace Path to apptainer in the following command:
+~~~
+sudo **Path/to/apptainer**  build results/containers/m2bsgreprod.sif   containers/m2bsgreprod.def
+~~~
 
 
 
-- 
GitLab