Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Subpages

Child pages
depth1
allChildrentrue
style
sortAndReverse
first0

Install WSL

Use latest release of Ubuntu

Set default user to be root (make life simpler with permissions): Start PowerShell => C: => ubuntu config --default-user root (details)

Install conda

Code Block
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh

You have to view then agree to terms, then run install responding to various questions

Install ANTs

Code Block
conda create -n antsenv -c conda-forge ants -y   # create env and install ANTs
conda activate antsenv

Note: all sessions need to start with conda activate antsenv

Create foldersThese folders will be created (no need to create them):

Code Block
(antsenv) root@REDWSONFAC26495:~# mkdir ~/rats_mri_project/
(antsenv) root@REDWSONFAC26495:~# cd rats_mri_project/
(antsenv) root@REDWSONFAC26495:~/rats_mri_project# mkdir template
(antsenv) root@REDWSONFAC26495:~/rats_mri_project# mkdir priors
(antsenv) root@REDWSONFAC26495:~/rats_mri_project# mkdir subjects
(antsenv) root@REDWSONFAC26495:~/rats_mri_project# mkdir outputs
image-20250422-212331.png