Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ShadySQL/a4e89b4a7b4306cde707cf3afee92a83 to your computer and use it in GitHub Desktop.
Save ShadySQL/a4e89b4a7b4306cde707cf3afee92a83 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment