• 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 , intalar mahout hadoop en ubuntu , install apache mahout , instalar mahout hadoop en ubuntu , https://thecustomizewindows com/2017/07/install-apache-mahout-ubuntu-16-04-for-machine-learning-dev/ , 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 685 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023

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, March 29, 2023, https://thecustomizewindows.com/2017/07/install-apache-mahout-ubuntu-16-04-for-machine-learning-dev/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT