Quickstart¶
Find, download and install packages¶
Search for a package¶
You don’t need an Anaconda Repository account, or even to be logged in, to search for packages, download and install them.
You need an account only to access private packages without a token, or to share your packages with others.
- In the top search box, type part or all of the name of a program you are searching for and press Enter.
- Packages that match your search string are displayed. Click the package name to see more information.
Refine your search results¶
You can filter search results using three filter controls:
- All packages, conda only or PyPI only
- All types, Public and/or Private (only available if you are logged in)
- Platforms: All, Source, Linux-32, Linux-64, Noarch, OSX-64, Win-32, Win-64.
“Source” packages are source code only, not yet built for any specific platform.
“Noarch” packages are built to work on all platforms.
Download and install a package¶
After you have located a package and clicked on the name, the detail page displays specific install instructions for the current operating system. Copy and paste the full command into your terminal window.
NOTE: For the following examples to work, you need to have conda downloaded and installed.
EXAMPLE: To download and install a package with conda, run:
conda install -c username packagename
Conda automatically expands the “username” to a URL such as “https://<your-anaconda-repo>/username”.
Build and upload packages¶
Building and uploading new packages is optional for advanced users who are comfortable using a Terminal application.
To build and upload packages, install the Anaconda Client command line interface (CLI). Open a Terminal window and enter:
conda install anaconda-client
Next, still in your Terminal window, log into your Anaconda Repository account:
anaconda login
At the prompt, enter your Anaconda Repository username and password.
Next, choose the package you would like to build. For this quickstart, you can download our public test package:
git clone https://github.com/Anaconda-Server/anaconda-client
cd anaconda-client/example-packages/conda/
To build your test package, first install conda-build and turn off automatic anaconda-client uploading, then run the conda build command:
conda install conda-build
conda config --set anaconda_upload no
conda build .
Check your path to where the newly-built file was placed so you can use it in the next step:
conda build . --output
Finally, still in your Terminal window, if you haven’t already log into your Anaconda Repository account, then upload your newly-built test package:
anaconda login
anaconda upload /your/path/conda-package.tar.bz2
For detailed information, see the Conda packages section.