This is the documentation for CDH 5.0.x. Documentation for other versions is available at Cloudera Documentation.

Installing Mahout

You can install Mahout from an RPM or Debian package, or from a tarball.
  Note:

To see which version of Mahout is shipping in CDH 5, check the Version and Packaging Information. For important information on new and changed components, see the CDH 5 Release Notes.

Installing from packages is more convenient than installing the tarball because the packages:
  • Handle dependencies
  • Provide for easy upgrades
  • Automatically install resources to conventional locations

These instructions assume that you will install from packages if possible.

  Important:

If you have not already done so, install Cloudera's yum, zypper/YaST or apt repository before using the instructions below to install Mahout. For instructions, see Installing CDH 5. For other important information and instructions, see also Ways To Install CDH 5 and Before You Begin Installing CDH 5 Manually.

To install Mahout on a Red Hat system:

$ sudo yum install mahout

To install Mahout on a SLES system:

$ sudo zypper install mahout

To install Mahout on an Ubuntu or Debian system:

$ sudo apt-get install mahout

To access Mahout documentation:

The Mahout docs are bundled in a mahout-doc package that should be installed separately.
$ sudo apt-get install mahout-doc
The contents of this package are saved under /usr/share/doc/mahout*.
Page generated September 3, 2015.