Skip to content

Instantly share code, notes, and snippets.

@mahantheshhv
mahantheshhv / gist:d6485fe997bdf6b50d61
Last active August 29, 2015 14:28 — forked from sebsto/gist:19b99f1fa1f32cae5d00
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
@mahantheshhv
mahantheshhv / gist:30b2dc41fd731df245e1
Last active April 30, 2019 18:01 — forked from marcesher/gist:7168642
install 7zip on linux
In this case, in AWS Linux:
yum-config-manager --enable epel
yum install -y p7ip
cp /usr/bin/7za /usr/bin/7z
7z