• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install Apache Mahout : Ubuntu 16.04 For Machine Learning Dev

By Abhishek Ghosh July 14, 2017 8:35 pm Updated on July 14, 2017

Install Apache Mahout : Ubuntu 16.04 For Machine Learning Dev

Advertisement

Apache Mahout is a simple programming environment and also a framework for building algorithms for Scala, Apache Spark, H2O, Apache Flink and so on. Samsara is part of Mahout, an experimentation environment with R like syntax. Here is how to install Apache Mahout on Ubuntu 16.04 for machine learning development. This guide will show commands to give the correct idea not exact commands to copy paste on terminal. Because it is not installing LAMP and WordPress that users need version specific commands. Apache Mahout has practically no usable guide for a new to get started. Purpose of this guide

There are lot of resources around Mahout :

Vim
1
https://mahout.apache.org/general/books-tutorials-and-talks.html

 

Install Apache Mahout : Literal Meaning Is Not Bright

 

Install Apache Mahout - Ubuntu 16-04 For Machine Learning Dev

Mahout, Samsara are Sanskrit derived words. Mahout derived from Sanskrit word mahamatra. In Bengali, Hindi language etc languages Mahout indicates the poor peoples who are used to keep like chauffeurs – trainer, keeper, cleaner, feeder. It is a family profession in Indian subcontinents. Following standard European culture we would name some software as “chauffeur”. Softwares are named after fruits, flowers etc. If you search with India Mahout or India Mahoot, you’ll see real example human mahout in 2017. Fool humans performing manual work has no credit of intelligence. We should respect all but politeness often confused with weakness. Samsara means family. As example I, my parents, pets are our “samsara”. If someone asks me “when you’ll do samsara” that means in gentleman’s language the person is asking when I will be wedding. After my marriage I, my parents, my wife, pets will be our “samsara”. Then my wife will shout – “Look after our samsara, writing blogs for peoples like King”. Pet elephant, horse, parakeet, cat, dog all behave like humans who are closer to them – the owners. We do not “tame” them. They are domesticated. Apache ML would work fine as name. A rose by any other name would smell as sweet.

Advertisement

---

Disagreeable, disrespectful nomenclature. Who named need to be thrown in front of angry pet elephants to make the basic understand.

 

Install Apache Mahout : Steps

 

We need Java, Maven, Subversion, Git at minimum to build or install Apache Mahout. Install Subversion, Git yourself from repo.

Hadoop and/or spark are not basic requirements to run Apache Mahout, some algorithms may run on a single server. But the algorithms are related to Hadoop and/or spark. Spark based algorithms are encouraged to test. So it is practical to build or install on existing Hadoop, Spark based Big Data platform like we have guide to install Apache Spark.

Java needed to run Hadoop, Hadoop is used by Mahout, MVN is common.

In order to install Oracle Java, go to official web page for latest. Prototype commands are shown :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
## sudo apt-get install oracle-java9-installer
sudo update-alternatives --config java
# copy the path
nano /etc/environment
# Add at the end of this file
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
source /etc/environment
echo $JAVA_HOME
java -version
## example for JDK for 1.5.0_07 for all users
## http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html#install-64
# sudo cp jdk-7u45-linux-x64.gz /usr/local/lib/  
# sudo tar -xzvf jdk-7u45-linux-x64.gz  
nano ~/.bashrc
# add
# export PATH=$PATH:/usr/java/jdk1.5.0_07/bin
# export PATH=$PATH:/usr/java/jdk1.5.0_07/bin
source ~/.bashrc

Also you can add path ~/.bash_profile or ~/.bashrc like we did with Java for out Big Data tutorials.

We need :

Vim
1
2
3
java version "ABCD"
Java(TM) SE Runtime Environment (build ABCD)
Java HotSpot(TM) 64-Bit Server VM (build XYZ, mixed mode)

Next, we need to install current version of Maven. wget to download and tar -xzvf to unpack. You can read our other guides from links above. Ultimately you will add path ~/.bash_profile or ~/.bashrc like :

Vim
1
2
3
4
5
6
7
8
9
10
nano ~/.bashrc
export MAVEN_HOME=/usr/local/lib/apache-maven-3.3.3/
export PATH=$PATH:/usr/local/lib/apache-maven-3.3.3/bin
source ~/.bashrc
mvn --version
## old versions
# export M2_HOME=/usr/local/apache-maven-3.0.4
# export M2=$M2_HOME/bin
# export PATH=$M2:$PATH
# export JAVA_HOME=$HOME/programs/jdk

Now installing Apache Mahout step. In this repo, the readme :

Vim
1
https://github.com/apache/mahout

took it granted that all will know what they are working with – they started after what we written above. I got misguided, installed Hadoop and Spark for Apache Mahout on colocation server.

Vim
1
2
3
4
5
git clone https://github.com/apache/mahout.git mahout
# edit your environment in ~/.bash_profile or ~/.bashrc
export MAHOUT_HOME=/path/to/mahout
# for running on standalone server
export MAHOUT_LOCAL=true

Also you can install in this way when Hadoop, Maven installed :

Vim
1
2
3
4
5
6
7
8
http://www.apache.org/dyn/closer.cgi/lucene/mahout/
unzip -a mahout-distribution-x.x-src.zip
mv mahout /usr/local
cd /usr/local/mahout/mahout-distribution-0*
ls
# output
bin         core          examples     LICENSE.txt  math-scala  pom.xml     src buildtools  distribution  integration  math         NOTICE.txt  README.txt  target
mvn install

There is also Cloudera package, that is installed from repo :

Vim
1
apt-get install mahout

I hope you got some idea to install Apache Mahout. I myself forgot the exact steps I did among so many commands. If you are having problems, check the logs in the logs directory to see if there are any Hadoop errors or Java Exceptions. Errors at the beginning not uncommon.

Tagged With machine learning OR (machine AROUND(20) learning) , what is 16 04 ubundu development machine , mahout installation without internet , intalar mahout hadoop en ubuntu , install apache mahout , instalar mahout hadoop en ubuntu , how to install mahout without internet in linux , How to install hadoop with Mahout in ubuntu Linux , how to install apache mahout in ubuntu , apache mahout use in windows

This Article Has Been Shared 610 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install Apache Mahout : Ubuntu 16.04 For Machine Learning Dev

  • Big Data as a Service (BDaaS) Basics

    Big Data as a Service or BDaaS, is as if combination of SaaS, PaaS and DaaS. Self Hosting Big Data platform is time consuming and costly.

  • How To Install Apache Mesos With Marathon On Ubuntu 16.04 LTS

    Here Is How To Install Apache MeOS With Marathon On Ubuntu 16.04 LTS In Order To Integrate,Manage Multiple Servers Or Multi Cloud Environment.

  • IBM Analytics Demo Cloud : Free Hadoop, Ambari With SSH

    IBM Analytics Demo Cloud is intended to learn Hadoop, Ambari, BigSQL free of cost with SSH access & web console. Here is how to get started.

  • How To Install Apache Pig On Ubuntu 16.04

    Apache Pig is intended for analyzing large data sets. Usually we combine Pig with Hadoop. Here is How To Install Apache Pig On Ubuntu 16.04.

  • Create Data Science Environment on Cloud Server With Docker

    Here Are the Steps, Commands to Create Data Science Environment on Cloud Server For Data Analysis Starting With a Blank Server With SSH.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Best Powerpoint Templates for Communicating IoT Concepts April 17, 2021
  • How to Build a DIY Water Level Indicator? April 16, 2021
  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Install Apache Mahout : Ubuntu 16.04 For Machine Learning Dev," in The Customize Windows, July 14, 2017, April 20, 2021, https://thecustomizewindows.com/2017/07/install-apache-mahout-ubuntu-16-04-for-machine-learning-dev/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy