Skip to content

Instantly share code, notes, and snippets.

@salimane
Forked from sebsto/gist:19b99f1fa1f32cae5d00
Last active August 29, 2015 14:12
Show Gist options
  • Save salimane/9f3c77f6365b3a13c4ab to your computer and use it in GitHub Desktop.
Save salimane/9f3c77f6365b3a13c4ab to your computer and use it in GitHub Desktop.
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