Product, Use Cases

Package repositories for all your distros

Jul 17, 2014

Jeremy Lingmann

D2iQ

1 min read

 
Now you can install the entire Mesosphere stack on any machine in your datacenter with a few simple commands.
 
Today we've announced our official package repositories. These package repositories connect directly to the native package management tools of your favorite Linux distribution — namely, apt-get and yum — to install Mesos on top of the most common Linux distributions (RedHat, CentOS, Ubuntu, and Debian).
 
Ubuntu and Debian
 
[highlight code='bash']
 
# Setup
 
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv DF7D54CBE56151BF
 
DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
 
CODENAME=$(lsb_release -cs)
 
# Add the repository
 
echo "deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main" | 
 
  sudo tee /etc/apt/sources.list.d/mesosphere.list
 
sudo apt-get -y update
 
# Install packages
 
sudo apt-get -y install mesos marathon chronos
 
 
[/highlight]
 
RedHat and CentOS
 
[highlight code='bash']
 
# Add the repository
 
sudo rpm -Uvh http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-2.noarch.rpm
 
# Install packages
 
sudo yum -y install mesos marathon chronos
 
 
[/highlight]
 
We will be adding additional repositories over time to support testing and experimental releases. Please let us know if you try it out!
 
Details
 
Supported Distributions
 
  • Ubuntu 14.04 (trusty)
  • Ubuntu 13.10 (saucy)
  • Ubuntu 13.04 (raring)
  • Ubuntu 12.10 (quantal)
  • Ubuntu 12.04 (precise)
  • Debian 7 (wheezy)
  • RedHat 6
  • CentOS 6
 
Packages Available
 
  • mesos
  • marathon
  • chronos

Ready to get started?