How to Install 7zip on Centos 6 and 7x version?

Jovani

Active member
Joined
Jul 10, 2012
Messages
338
Points
28
Hi,

Can anyone guide me how to Install 7zip on Centos 6 and 7x version?
And after installed, how to compress and unzip files on my VPS using 7zip?
what are the advantages of 7zip over normal zip and unzip on my vps?

Thanks
 

Hassan

New member
Joined
Nov 11, 2014
Messages
706
Points
0
Add RPMForge repository:
Code:
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
Code:
yum install p7zip
Extract file
Code:
7za x [filename]
Compress file
Code:
7za a -mx=9 filename.7z [filename/directory]
7z file format is the only advantage the compression in 7z format is much better than that of the original ZIP format.
 
Older threads
Newer threads
Replies
17
Views
5,246
Replies
2
Views
2,698
Latest threads
Recommended threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top