How to Install Latest Apache Maven on openSUSE 12.X-13.X Easy Guide

March 18, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing

  1. Download Apache Maven 3.x Binaries

    Maven bin.tar.gz for openSUSE
  2. Double-Click/Right-Click on Archive and Extract into /tmp


    Or from Shell:

    tar xvzf apache-maven*.tar.gz -C /tmp/
  3. Verify that JDK 8+ is Installed on System

    java -version

    How to Install Oracle JDK 8+ on openSUSE Linux

    Install Oracle JDK for openSUSE
  4. Relocate Maven Binaries

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    rm /home/[myUser]/Downloads/apache-maven*bin.tar.gz
    sudo chown -R root:root /tmp/apache-maven*
    mv /tmp/apache-maven* /opt/
    exit
  5. Add Maven Binaries to User Path

    nano $HOME/.bashrc

    Append:

    export PATH=$PATH:/opt/apache-maven-[X.Y.X]/bin

    Ctrl+X to Save and Exit from “nano” :)

    Load New SetUp:

    source $HOME/.bashrc
  6. Test Maven Installation

    mvn -v
  7. Quick-Start with Maven Projects Management

    Maven Quick Start Guide
  8. Quick-Start with Eclipse Java Developers on openSUSE Linux

    Install Eclipse Java for openSUSE

Contents


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

QuickChic Theme • Powered by WordPress