CentOS7安装7zip解压缩软件

Introduction

You might get stuck in unzipping 7z file which you have downloaded from internet. 7z file is compression ratio is very high so if you download a file from internet it should be lower in size then other formats.

7z is a very not very widely used archiving system found in everyday life. But 7z does have some advantages and some disadvantages. It also does support various different compression methods. It also supports encryption and and pre-processing algorithms. If you want to know more information about 7z you can check out this wiki.

But unfortunately you will not be able to unzip the file in using tar command. You will need a separate program called p7zip. By default this application is not installed on the system. It will be required you to use a separate repo. In the below we will show you how to install it.

 

How to install

Step 01: Please login using your privileged account using the following command.

su –

Step 02: Download the repo using the command given below.

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

Step 03: Now install the downloaded rpm using

rpm -ivh  rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

Step 04: Now you need to install the package

yum install p7zip

Step 05: To unzip the file use the following command

 7za x  <filename>

Conclusion

To unzip 7z file CentOS 7 is not very difficult you just need to download a tool from web. If you face any more issue with 7z you can leave a comment.

If you want to see the options provided by 7za you can type the following command and press enter.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值