How-to Install Latest Apache Maven 3.0.5+ on Linux Xubuntu 12.10 Quantal 32/64bit Easy Visual-Guide

May 12th, 2013 by Regaz

The Guide Shows You Step-by-Step How-to Install the Latest Apache Maven 3.0.5+ for Linux Xubuntu 12.10 Quantal Quetzal Xfce i386/Amd64 Desktop.

And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.

The Content and Details are Essentials and Give Focus only to Instructions and Commands.

Apache on Ubuntu
  1. Download Apache Maven 3 Binaries:

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

    If Java Oracle JDK6+ is Not Installed then:

    Install Oracle JDK for Kubuntu

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

    If you Just Do Not Know How Try:

    locate bin/java | grep jdk
  6. Setup Maven3 Path and Environment Variables
    nano ~/.bashrc

    Insert Something Like:

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

    Load New .bashrc SetUp

  7. Test Maven3 Installation
    mvn -version

    If you Get the Maven Version the Apache Maven3 has been Successfully Installed on Ubuntu Linux Quantal :)

  8. Getting-Started with Maven3 Java Project Management

    Maven3 Project Management Quick-Start

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