Install neurocommand on Linux

Ways of using Neurocommand in Linux:

  1. You can use Neurocontainers directly via CVMFS:
  2. or you can install Neurocommand as described here:




command line mode (e.g. running on an HPC or CVL)

  • Load singularity and for best performance it should be 3.x e.g. module load singularity/3.5.0
  • Load or install aria2 to optimize the download performance of our containers e.g. module load aria2c
  • Run git clone to clone the repository - make sure to clone this to a directory with enough storage, write permissions and NOT a symbolic link (to be sure run cd `pwd -P`)!
  • Run cd neurocommand to change into the directory
  • Run pip3 install -r neurodesk/requirements.txt --user to install pre-requisite python packages
  • Run bash --cli to install in cli mode
  • Run bash for installing indiviual containers or bash --all for installing all containers
  • Run module use $PWD/local/containers/modules/ to add the containers to your module search path. Add this to your .bashrc if working.
  • Run ml avail to see the installed containers at the top of the list (neurodesk containers will take preference over system modules with the same name). - If a container is not yet there run ml --ignore_cache avail

For Lxde desktops

If running on an lxde desktop… Run bash --lxde --edit

For Mate desktops

Run bash --init (or bash --lxde --edit)
lxde/mate: Mate
installdir: Where all the neurocommand files will be stored (Default: ./local)
appmenu: The linux menu xml file. (Usually /etc/xdg/menus/****
appdir: Location for the .desktop files for this linux desktop (Usually /usr/share/applications)
deskdir: Location for the .directory files for this linux desktop (Typically /usr/share/desktop-directories)

For desktop menus:

sudo bash to install
Creates symlinks to menu files in installation dir

sudo bash to uninstall
Removes symlinks

To update

Run git pull
Run bash does not need to be run again

To download all containers

Run bash --all