#!/bin/bash # Step 1: Install Miniconda in your user's home directory # wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh # bash miniconda.sh -b -p ~/miniconda # Install in your home directory # # Step 2: Initialize Miniconda # source ~/miniconda/etc/profile.d/conda.sh # conda init bash # Step 3: Change to the desired directory and make install.sh executable, then run it git clone https://github.com/StanfordMIMI/Comp2Comp.git /home/user/app/C2C cd /home/user/app/C2C pip install -e . # cd /home/user/app/C2C # chmod +x bin/C2C # # conda init bash # # conda activate c2c_env # ./bin/C2C aaa -i temp_dicom_dir # ls # chmod +x bin/install.sh # Make install.sh executable # ./bin/install.sh # Execute the installation script # conda activate c2c_env