Anaconda Enterprise: Documentation

# Installing licenses

You can install licenses for Accelerate, IOPro or MKL Optimizations with the graphical Anaconda Navigator license manager, and you can install licenses for these and all other products from the command line.

## Before you start

- You should have installed conda and received your license by email from your sales representative.
- If want to use Navigator, it needs to be installed. Both Navigator and conda are included in Anaconda.
- Optionally, your products or a free trial may already be installed.
- Save the license file to your `Downloads` folder (or directory). To save a few steps, make a note of the filename now.
- If you need help, contact your sales rep or priority support.

## Using Navigator to install a license

The graphical Navigator license manager allows you to add, remove and view details of licensed packages.

1. Open Navigator.

2. In the Help menu, select License Manager.

3. Click the Add license button, and then select the license file:

4. Click the Close button.

5. After you install the license, update conda and install the product.

6. Run the product.

If you have questions about or problems with a license, click the Got a problem with your license? link, contact your sales rep or contact priority support for assistance.

## Using the command line to install a license

Licenses for all Anaconda user products are stored in the home folder in a hidden subfolder named `~/.continuum`. The license directory is hidden to help protect your license files from accidental changes or deletion. The following installation procedures describe how to manage hidden directories for your operating system.

TIP: The conda command `conda info --license` shows you the location of your license files and validates those licenses.

Command line procedures:

- Windows.
- macOS.
- Linux.
- Updating conda and installing a product–all operating systems.
- Running your new packages or products–all operating systems.
- If you have problems.

### Windows

Hidden folders appear in Windows Explorer only if the Show hidden files and folders option is enabled. To bypass this issue, use the Anaconda prompt, and if the hidden `.continuum` folder has not been created yet, make one as discussed below. Then copy the license file into the hidden license folder.

1. Open a terminal window.

2. To see the files in your home folder, run the command `dir`.

3. In the output list, look for `.continuum`.

   If you do not see a folder named `.continuum`, make a new one with `mkdir .continuum`.

4. Find the license file in your `Downloads` folder or other folder where you saved the file:

       dir Downloads

   NOTE: Replace `Downloads` with the name of the folder where you saved your license file.

5. Copy the license file into the `.continuum` directory:

       copy Downloads\license_bundle_1234.txt .continuum

   NOTE: Replace `license_bundle_1234.txt` with the name of your license file.

6. Update conda and install the product.

7. Run the product.

Your license is now installed on Windows. If you have any questions or problems, please contact your sales rep or priority support for assistance.

### macOS

Use Finder to locate the hidden licenses folder. If the folder has not been created yet, make one as discussed below. Then copy and paste the license into the hidden folder.

1. Look for the hidden folder:
   1. In the bottom row of icons, click the Finder icon.
   2. In the Go menu, select Go to folder.
   3. In the box that appears, type `~/.continuum`, and then click the Go button.
   4. If the search results listing is empty, make a new hidden licenses folder by selecting New Folder in the File menu and then typing `~/.continuum`.
2. Copy the license file:
   1. Go to your `Downloads` folder or wherever you saved the license file.
   2. Highlight the license filename.
   3. In the Edit menu, select Copy File.
3. Return to the licenses directory:
   1. In the Go menu, select Go to folder.
   2. In the box that appears, type `~/.continuum`, and then click the Go Button.
4. Paste in the license file:
   1. In the file listing, double-click the `~/.continuum` folder to open the folder.
   2. In the top menu bar, in the Edit menu, select Paste Item.
5. Update conda and install the product.
6. Run the product.

Your license is now installed on macOS. If you have any questions or problems, please contact your sales rep or priority support for assistance.

### Linux

Use the List-All command to display all directories including hidden ones, and if a license directory has not been created yet, make one as discussed below. Then copy the license into the hidden license directory.

1. Open a terminal window.

2. To see the files in your home folder, run the command `ls -a`.

3. In the output list, look for `.continuum`.

   If you do not see a folder named `.continuum`, make a new one with `mkdir .continuum`.

4. Find the license file in your `Downloads` folder or other folder where you saved the file:

       cd Downloads
       ls

   NOTE: Replace `Downloads` with the name of the folder where you saved your license file.

   If the list is long run:

       ls | more

5. Highlight the filename, and then in the Edit menu, select Copy.

6. Copy the license file into the `.continuum` directory:

       cp license_bundle_1234.txt ~/.continuum

   NOTE: Replace `license_bundle_1234.txt` with the name of your license file.

   TIP: Instead of typing the file name, you can paste it into the command:

   1. Type `cp`.
   2. In the Edit menu, select Paste to paste in the license filename.
   3. Type `~/.continuum`.
   4. Press Enter.

7. Update conda and install the product.

8. Run the product.

Your license is now installed on Linux. If you have any questions or problems, please contact your sales rep or priority support for assistance.

### Updating conda and installing a product–all operating systems

NOTE: If you previously installed a 30-day trial, you may skip this procedure, but running it again is harmless.

To update conda and install a product:

1. In a terminal window, run:

       conda update conda
       conda install your_package_name

   NOTE: Replace `your_package_name` with the actual name of your package or product, such as `accelerate`. Follow the full installation instructions for the product.

### Running your new packages or products–all operating systems

1. Start Python:

       python

   If you have multiple versions of Python on your computer, make sure that the startup message says it is Anaconda Python.

2. Import your newly licensed packages or products:

       import your_package_name

   NOTE: Replace `your_package_name` with the actual name of your package or product, such as `accelerate`. Follow the full installation instructions for the product.

### If you have problems

If you have any questions or problems, please contact your sales rep or priority support for assistance.