Product SiteDocumentation Site

4.4. Configure package repository

CloudStack is only distributed from source from the official mirrors. However, members of the CloudStack community may build convenience binaries so that users can install Apache CloudStack without needing to build from source.
If you didn't follow the steps to build your own packages from source in the sections for Section 3.6, “Building RPMs” or Section 3.5, “Building DEB packages” you may find pre-built DEB and RPM packages for your convience linked from the downloads page.


These repositories contain both the Management Server and KVM Hypervisor packages.

4.4.1. DEB package repository

You can add a DEB package repository to your apt sources with the following commands. Please note that currently only packages for Ubuntu 12.04 LTS (precise) are being build.
Use your preferred editor and open (or create) /etc/apt/sources.list.d/cloudstack. Add the community provided repository to the file:
deb precise 4.0
We now have to add the public key to the trusted keys.
$ wget -O -|apt-key add -
Now update your local apt cache.
$ apt-get update
Your DEB package repository should now be configured and ready for use.

4.4.2. RPM package repository

If you're using an RPM-based system, you'll want to add the Yum repository so that you can install CloudStack with Yum.
Yum repository information is found under /etc/yum.repos.d. You'll see several .repo files in this directory, each one denoting a specific repository.
To add the CloudStack repository, visit the downloads page for the repository information. It will look something like this:
Next you'll want to add the GPG key:
$ rpm --import http://server.url/downloads/RPM-GPG-KEY.txt
Now you should be able to install CloudStack using Yum.