-
-
Save mahantheshhv/30b2dc41fd731df245e1 to your computer and use it in GitHub Desktop.
install 7zip on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this case, in AWS Linux: | |
yum-config-manager --enable epel | |
yum install -y p7ip | |
cp /usr/bin/7za /usr/bin/7z | |
7z |
Hey ya'll line 4 has a script-o, should be:
yum install -y p7zip
In Amazon Linux 2, yum-config-manager isn't installed, so you need to install it. Taken from here.
yum install yum-utils.noarch
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum-config-manager --enable epel
yum install p7zip
Or at least, this is what I had to do for the ECS-optimized version of Amazon Linux. ¯_(ツ)_/¯
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
copied the comment from original
The rpm names have changed a bit at least on Amazon Linux AMI release 2014.09
7zip-plugins.x86_64 : Additional plugins for p7zip
p7zip.x86_64 : Very high compression ratio file archiver