title: Apache Mesos - Getting started using Binaries. layout: documentation

Binary Packages

Downloading the Mesos RPM

Download and install the latest stable RPM binary from the Bintray Repository:

$ cat > /tmp/bintray-mesos-el.repo <<EOF
#bintray-mesos-el - packages by mesos from Bintray

$ sudo mv /tmp/bintray-mesos-el.repo /etc/yum.repos.d/bintray-mesos-el.repo

$ sudo yum update

$ sudo yum install mesos

The above instructions show how to install the latest version of Mesos for RHEL 7. Substitute baseurl the with the appropriate URL for your operating system.

Start Mesos Master and Agent.

The RPM installation creates the directory /var/lib/mesos that can be used as a work directory.

Start the Mesos master with the following command:

$ mesos-master --work_dir=/var/lib/mesos

On a different terminal, start the Mesos agent, and associate it with the Mesos master started above:

$ mesos-agent --work_dir=/var/lib/mesos --master=

This is the simplest way to try out Mesos after downloading the RPM. For more complex and production setup instructions refer to the Administration section of the docs.