Installing for multiple users¶
The default Anaconda installation option is “Just Me”, which gives an independent installation of Anaconda that will not be shared with other users on the same system. The other option is to install for all users.
If you have administrator access, you can choose to install for “All Users”. This is a good option for a multi-user system where you want to allow users to import Python libraries and run Python applications.
This option does not give write permissions by default so the users will not be able to install packages in the root environment. It allows an administrator to protect what is in the root environment. If packages are needed in the root environment, you can elevate the privileges to administrator from the Command Prompt and run install commands.
Multi-user Anaconda installation on Windows¶
- Download the Anaconda installer.
- Double click the installer to launch.
- Click Next to continue.
- Read the licensing terms and click “I Agree”.
- Select an install for “All Users” (this requires administrator privileges on the computer) and click Next.
- Click “Yes” to allow the installer to make changes to your computer.
- Select a destination folder that is accessible to the users, the default is
- After your install is complete, open Computer Management, navigate to Local Users and Groups. Create a new group for your Anaconda users. Add users to this new group, Anaconda-Users.
- Navigate to your Anaconda directory and then go to the Properties. Uncheck the box for Attrributes: Read-only and save changes. Go to the Security tab and click Edit. From there you can add Anaconda-Users and set permissions. Your group will need read and write privileges.
Multi-user Anaconda installation on Linux¶
To set up a multi-user Anaconda or Miniconda installation on Linux operating systems:
sudo access is required.
- Install Anaconda.
- After installation is complete, create a new group:
sudo group add mygroup
- Change the group ownership to “mygroup” on the entire
directory where Anaconda is installed:
sudo chgrp -R mygroup /opt/anaconda2. Replace
/opt/anaconda2with the actual path to your installed Anaconda file.
- Set read and write permission for the owner, root, and the mygroup only:
sudo chmod 770 -R /opt/anaconda2
- 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.
This is another option for all-user installation.
It installs Anaconda at
C:\Anaconda, which is not a protected
directory and can have write permissions set for users.
This is a good option if your username has spaces in it
because the Anaconda installer cannot install in paths that