Last active
December 27, 2022 10:29
-
-
Save marcesher/7168642 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 |
for Amazon Linux 2 :
sudo amazon-linux-extras install epel
sudo yum install p7zip -y
Thanks
sudo amazon-linux-extras install epel
sudo yum install p7zip -y
worked for me!
Thank you, on AWS Linux 2 this worked for me:
sudo amazon-linux-extras install epel
sudo yum install p7zip -y
sudo cp /usr/bin/7za /usr/bin/7z
Thank you, on AWS Linux 2 this worked for me:
I didn't do the last cp
command (you just have to use 7za
), but this worked brilliantly in AWS CloudShell either. Thanks!
sudo amazon-linux-extras install epel sudo yum install p7zip -y sudo cp /usr/bin/7za /usr/bin/7z
@eduardoferron Thanks! This worked for me!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you may need to
sudo yum install -y epel-release
first, i.e. if you're building a Docker imageFROM amazonlinux:latest