How to Install Latest Apache Maven 3.0.5+ on Linux Kubuntu 12.04 Precise 32bit Easy Visual-Guide

August 30, 2012 | By Regaz.

The Guide shows you Step-by-Step How to Install and Getting-Started with the Latest Apache Maven 3.0.5+ for Linux Kubuntu 12.04 Precise Pangolin KDE4 i386 Desktop.

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

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.

Apache on Ubuntu
  1. Download Apache Maven 3:

    Maven3 bin.tar.gz for Linux
  • Double-Click on Archive and Extract Maven3 Binaries into /tmp
    Linux Kubuntu Extract Apache Maven

  • Open a Terminal Window
    (Press “Enter” to Execute Commands) Linux Kubuntu Open Terminal

  • Relocate Maven Binaries

    sudo su -c "mv /tmp/apache-maven-3* /opt"
  • Check if Java JDK is Installed

    java -version

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

    If you Just Do Not Know How Try:

    locate bin/java | grep jdk

    To Install Oracle Officila Java JDK 7 for Kubuntu:

    Install Oracle JDK for Kubuntu

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

    Set-Up and Use the locate Command on Linux Kubuntu
  • Setup Maven3 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.

  • Test Maven3 Installation

    mvn -v

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

  • QuickChic Theme • Powered by WordPress