Saturday, March 9, 2013

How-to Install Latest Apache Maven 3 on Linux Slackware 14 Kde4 32bit/64bit Step-by-Step Easy-Visual Guide

The Step-by-Step Guide Show How-to Install and Getting-Started with the Latest Apache Maven 3 Release of the Java Build Tool on Linux Slackware 14 KDE4 i486/x86_64 Desktop.

To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive;)

Inside the Article you Find a Link to Get Installed the Oracle-Sun Official Java JDK7 for Linux Slackware.

Linux Penguin Gnome Slackware
  1. Download Apache Maven3:

    Maven bin.tar.gz for Linux
  2. Double-Click on Archive and Extract Maven Binaries into /tmp Linux KDE4 Extract Apache Maven
  3. Open Terminal Window
    Linux Kde4 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 JDK7 on Linux Slackware:

    Install Oracle JDK7 for Slackware

    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 Slackware

  6. Setup Maven Path and Environment Variables
    nano ~/.bashrc
    Insert Something Like:
    export M3_HOME=/opt/apache-maven-3.<X.Y>
    export M3=$M3_HOME/bin
    export PATH=$M3:$PATH
    export JAVA_HOME=<PathToJDK7>
    export PATH=$JAVA_HOME/bin:$PATH
    

    Load New .bashrc SetUp

    source ~/.bashrc
  7. Test Maven Installation
    mvn -version

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