Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Maven with Yum on Amazon Linux
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
@giovani-anjos
Copy link

Thanks!!

@ecommerce-technician
Copy link

You saved me a ton of time, thanks!

@sultanahsan1982
Copy link

Thanks

@satishgudapati
Copy link

Thanks

@mintavi
Copy link

mintavi commented Jul 9, 2021

Thanks!!!!!!! Works great.

@ro-rah
Copy link

ro-rah commented Oct 28, 2021

This worked, thanks so much, you are legend!

@prince695
Copy link

how we can update maven version on amazon ec2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment