How Install 7zip, Extract and Compress 7z Archive on CentOS 6

Add RPMForge repository CentOS 6 32Bit i686

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

or

Add RPMForge repository CentOS 6 64Bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install 7z on Centos 6 or RHEL 6

yum install p7zip

Extract file from Terminal

7za x antorij.7z

Compress on Linux

7za a -mx=9 antorij.7z [your filename or directory]

Leave a Reply

Your email address will not be published. Required fields are marked *