To setup a multi user Anaconda or Miniconda installation on Linux operating systems:
NOTE: sudo access is required.
1. Install Anaconda.
2. After installation is complete, create a new group.
sudo group add mygroup
mygroup with your new group name.
3. Change the group ownership to
"mygroup" on the entire directory where Anaconda is installed:
sudo chgrp -R mygroup /opt/anaconda2
/opt/anaconda2 with the actual path to your installed anaconda file.
4. Set read and write permission for the owner, root and the mygroup only:
sudo chmod 770 -R /opt/anaconda2
5. Add users to a group:
sudo adduser username mygroup
Users added to the "mygroup" group now have the ability to access Anaconda, install packages and create environments.
SEE ALSO: Administering a multi-user conda installation for more help on how to set default channels, disallow certain packages, add tokens for private Anaconda repositories, and other rules for all users by using a centralized admin controlled.condarc.