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
* 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.
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.
Comments
uname -i
-> I get x86_64, so will look for the x86_64 rpm.
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
-> 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 http://pkgs.repoforge.org/rpmforge-release/ 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!