Lab groups are welcome to install software in their /work/netid space if sudo access is not required. This can be helpful for lab specific software or for when a group wants to strongly control software versions and packages.

Miniconda installation sample

Login to the DKUCC using SSH:

				
					mkdir -p /work/<netid>
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
				
			

and then follow the instructions. The place to give as Miniconda install location should be /work/<netid>/miniconda3. It will offer to update your ~/.bashrc, (init) which is what you want. Log out log back in and then you can run conda install, create environments, etc.

In addition to using at the command line (using conda activate test), you will also see this new environment in OnDemand as an option on the Launcher when creating a new notebook. To switch to this new environment on a running notebook: – Go to Kernel menu on the left to ‘change kernel’ and select the environment. – click on the present kernel name on the top right corner and select the environment.

To deactivate the environment, you can use conda deactivate command.

Note: You can use conda to install packages in this virtual environment.

For more information on using conda virtual environments, see Managing Environments in the conda user guide.

Table of Contents