Articles → DevOps → Install Apache maven on the linux machine

Install Apache maven on the linux machine






Steps








cd /

wget https://mirrors.estointernet.in/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz




tar -xvf /home/karan/jdk-8u271-linux-x64.tar.gz




export MAVEN_HOME=/opt/apache-maven-3.6.3
export PATH=$PATH:$MAVEN_HOME/bin



How to test if Apache Maven is installed properly?




mvn -version


Picture showing how to check if  Apache Maven is installed on not

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, November 24, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250