OpenSUSE install maven

The follow step is what I recently used to install maven in openSUSE.

1. Browse to the maven website, and right click copy the link, and from your terminal download by using wget

wget http://mirrors.ibiblio.org/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz

2. Extract the compressed file.

tar -xvzf apache-maven-3.3.3-bin.tar.gz

3. Copy the file to /opt/ folder

mv apache-maven-3.3.3/ /opt/

4. Export the environment path

cd $home
vi .bashrc
export PATH=$PATH:/opt/apache-maven-3.3.3/bin

5. Reload setting

source .bashrc

6. Test maven installed

mvn -version

 

OpenSUSE install maven

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.