How-to Install Latest Apache Maven 3.0.5+ on Linux Mint 14 Mate 32bit/64bit Step-by-Step Easy-Visual Guide

March 9th, 2013 by Regaz



The Step-by-Step Guide Shows You How-to Install and Getting-Started with the Latest Apache Maven 3.0.5+ Release of the Java Build Tool on Linux Mint 14 Mate i386/amd64 Desktop.

To Make the Entire Easy to Understand and Visualize the Post Includes the Basic Screenshots of the essentials steps involved.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)

Inside the Post you Find a Link to Get Installed the Oracle-Sun Official Java JDK for Linux Mint.

Java On Linux Mint
  1. Download Apache Maven3:

    Maven bin.tar.gz for Linux
  2. Double-Click on Archive and Extract Maven Binaries into /tmpLinux KDE4 Extract Apache Maven
  3. Open a Terminal Window
    (Press “Enter” to Execute Commands)
    Linux Mint 14 Nadia Mate Open Terminal
  4. Relocate Maven3 Binaries
    su -c "mv /tmp/apache-maven-3* /opt"
  5. Check if Java JDK is Installed
    java -version

    To Install Latest Oracle Java JDK on Linux Mint:

    Install Oracle JDK for Linux Mint

    Next you Need to know the Path to the Java JDK.

    If you Just Do Not Know How to Find JDK Location Try:

    locate bin/java | grep jdk

    If locate is Not Set-Up the Look this Guide:

    Set-Up and Use the locate Command on Mint
  6. Setup Maven Path and Environment Variables
    nano ~/.bashrc

    Insert Something Like:

    export M3_HOME=/opt/apache-maven-3.
    export M3=$M3_HOME/bin
    export PATH=$M3:$PATH
    export JAVA_HOME=
    export PATH=$JAVA_HOME/bin:$PATH

    Load New .bashrc SetUp

    bash
  7. Test Maven Installation
    mvn -version

    If you Get the Maven Version the Apache Maven has been Successfully Installed on Linux Mint :)

Tags: , , , , , , , , , , ,