1, TAR.GZ&TAR.BZ (gzip and bzip forget it)
Yum Install Tar-y
[Email protected] ~]# Rpm-qa|grep tar
Upstart-0.6.5-13.el6_5.3.x86_64
Tar-1.23-11.el6.x86_64
Selinux-policy-targeted-3.7.19-260.el6.noarch
[Email protected] ~]#
2. XZ
Yum Install Xz-y
[Email protected] ~]# Rpm-qa|grep XZ
Xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64
Xz-4.999.9-0.5.beta.20091007git.el6.x86_64
[Email protected] ~]#
3, Zip&uzip
[[email protected] ~]# rpm-qa|grep zip
Bzip2-libs-1.0.5-7.el6_0.x86_64
Bzip2-1.0.5-7.el6_0.x86_64
Gzip-1.3.12-22.el6.x86_64
Unzip-6.0-1.el6.x86_64
Zip-3.0-1.el6_7.1.x86_64
[Email protected] ~]#
4, TAR.XZ
Need to be used in conjunction with XZ and tar.
5, RAR (this simple to say)
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/84/4E/wKiom1eMe8OzjDwAAACBybM2I2k403.png-wh_500x0-wm_3 -wmp_4-s_1243141449.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1eme8ozjdwaaacbybm2i2k403.png-wh_50 "/>
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/84/4E/wKiom1eMe8OChexPAABbIfL16UE319.png-wh_500x0-wm_3 -wmp_4-s_2241137248.png "style=" Float:none; "title=" 2.png "alt=" Wkiom1eme8ochexpaabbifl16ue319.png-wh_50 "/>
1. Edit the file
Edit the Dag.repo file, or create a new Dag.repo file.
Vi/etc/yum.repos.d/dag.repo
2. Add code to the file
The file in my here is an empty file, add the next content, and then: WQ Save!
[Dag]
Name=dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
Gpgcheck=1
Enabled=1
gpgkey= Http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
3. Installation
Yum install RAR unrar-y
[[email protected] ~]# rpm-qa|grep rar
Rar-3.8.0-1.el6.rf.x86_64
Unrar-5.0.3-1.el6.rf.x86_64
[[Email protected] ~]
Precautions:
1, the specific parameters of their own--help man can be.
2, the compression method of the difference needs to understand.
3. When uninstalling, pay attention to the package and avoid unnecessary problems.
This article is from the "Ningzhiyuan @it sharing" blog, make sure to keep this source http://renzhiyuan.blog.51cto.com/10433137/1827399
Linux common compression and decompression management tools!