To install the Mahout package, use the following command:
RHEL/CentOS/Oracle Linux:
yum install mahout
For SLES:
zypper install mahout
For Ubuntu and Debian:
apt-get install mahout