Managing Package Repositories

Using the web interface or CLI to manage your package repositories

DC/OS comes pre-configured with the Mesosphere Universe package repository as the provider of DC/OS packages, but other package repositories can also be added.

You can use the web interface or the CLI to:

NOTE: Before you can use the CLI, you need to install it.

Listing repositories

To see which package repositories are currently installed, enter this CLI command:

dcos package repo list

Searching for packages

To search for packages, run this CLI command:

dcos package search [--json <query>]

For example, this command searches for big data packages:

dcos package search "big data"
NAME   VERSION        SELECTED  FRAMEWORK  DESCRIPTION                                                                       
spark  1.0.9-2.1.0-1  True      False      Spark is a fast and general cluster computing system for Big Data.  Documenta...

Adding a repository

To add a repo, run this command:

dcos package repo add <repo-name> <repo-url>

For example, this command adds a repo named your-repo with the URL

dcos package repo add your-repo

For full instructions on how to build and run your own Universe repo see the Universe Server Documentation

Removing a repository

To remove a repo, run this command:

dcos package repo remove <repo-name>

For example, this command removes a repo named your-repo:

dcos package repo remove your-repo