The Step-by-Step Guide shows you How to Install and Getting-Started with the Latest Apache Maven 3 Release of the Java Build Tool on Linux Slackware 14 KDE4 i486/x8664 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.
Inside the Post you Find a Link to Get Installed the Oracle-Sun Official Java JDK for Linux Slackware.
-
Download Apache Maven:
Maven bin.tar.gz for Linux
-
Double-Click on Archive and Extract Maven Binaries into /tmp

-
Open Terminal Window
(Press “Enter” to Execute Commands)
-
Relocate Maven3 Binaries
su -c "mv /tmp/apache-maven-3* /opt"
-
Check if Java JDK is Installed
java -version
To Install the Latest Oracle Java JDK on Linux Slackware:
Install Oracle JDK 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
-
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
-
Test Maven Installation
mvn -v
If you Get the Maven Version the Apache Maven has been Successfully Installed on Linux Slackware :)