Install 7Zip on CentOS 5.5

We will use Yum.

Because 7Zip is not automatically included in CentOS 5.5, we have to add the repository and then install it. Reference

Download the i386 rpm file onto the 64-bit Opteron server because uname -i reported i386. That was a surprise.

* Install DAG's GPG key

* Install the package

Then yum can be used, like this:

yum install p7zip

And then you can run /usr/libexec/p7zip/7za to make your .7z files.


Beta said…
I want to install 7zip on my CentOS, thanks already to guide how to install.
Anonymous said…
Great guide, thanks!
Anonymous said…
Thank you, nice
Anonymous said…
Am I the only one to receive the message "no package p7zip available" even after doing all this?
Anonymous said…
Today I installed it using this guide, so thank you very much. Anyway I would like to point that I used other rpm. How-to:

uname -i
-> I get x86_64, so will look for the x86_64 rpm.

rpm --import
-> This will install DAG's GPG key

In the reference link it says to download rpmforge-release-0.5.2-2.el6.rf.i686.rpm, but that is for "RHEL6 and CentOS-6 x86 64bit". Look at packages and install the one that fits you...

I downloaded the file "rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm", for CentOS 5, uploaded in the server and install it:

rpm -i rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

And finally...

yum install p7zip
-> Everything is ok!
Blogger said…
BlueHost is ultimately the best website hosting provider with plans for any hosting requirements.

Popular Posts