Ubuntu installation and decompression rar

Source: Internet
Author: User


For ubuntu installation and decompression, rar files cannot be decompressed through the default ubuntu installation. It can only be decompressed after the rar decompression tool is installed. In fact, installing the rar decompression tool in ubuntu is very simple. It can be done quickly in just two steps. Ubuntu rar decompression tool installation method: download sudo apt-get install rar uninstall sudo apt-get remove rar unzip uninstall sudo apt-get install unrar uninstall sudo apt-get remove unrar www.2cto.com ubuntu unzip command overview. tar unpack: tar xvf FileName.tar package: tar cvf FileName.tar DirName Note: tar is packed, not compressed! ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Gz decompression 1: gunzip FileName.gz decompression 2: gzip-d FileName.gz compression: gzip FileName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ .Tar.gz and. tgz decompression: tar zxvf FileName.tar.gz compression: tar zcvf FileName.tar.gz DirName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ Www.2cto.com. bz2 decompression 1: bzip2-d FileName.bz2 decompression 2: bunzip2 FileName.bz2 compression: bzip2-z FileName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ .Tar.bz2 decompression: tar jxvf FileName.tar.bz2 compression: tar jcvf FileName.tar.bz2 DirName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ Www.2cto.com. bz extract 1: bzip2-d FileName. bz extract 2: bunzip2 FileName. bz compression: unknown. tar. bz decompress: tar jxvf FileName.tar. bz compression: Unknown ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Z decompress: uncompress FileName. Z compression: compress FileName. tar. Z decompress: tar Zxvf FileName.tar. Z compression: tar Zcvf FileName.tar. Z DirName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ Www.2cto.com. zip decompress: unzip FileName.zip compression: zip FileName.zip DirName ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Rar decompression: rar x FileName.rar compression: rar a FileName.rar DirName rar please go to: http://www.rarsoft.com/download.htm download! After decompression, copy rar_static to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ): www.2cto.com [root @ www2 tmp] # cp rar_static/usr/bin/rar ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Lha decompression: lha-e FileName. lha compression: lha-a FileName. lha FileName lha please go to: http://www.infor.kanazawa-it.ac.jp /~ Ishii/lhaunix/download!> After decompression, copy lha to the/usr/bin directory (Other Directories specified by the $ PATH environment variable can also be used ): [root @ www2 tmp] # cp lha/usr/bin /~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~ Www.2cto.com. rpm unpack: rpm2cpio FileName. rpm | cpio-div ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Deb unpack: ar p FileName. deb data.tar.gz | tar zxf -~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. ~. Tar. tgz .tar.gz. tar. z. tar. bz .tar.bz2. zip. cpio. rpm. deb. slp. arj. rar. ace. lha. lzh. lzx. lzs. arc. sda. sfx. lnx. zoo. cab. kar. cpt. pit. sit. sea decompress: sEx x FileName. * compression: sEx a FileName. * FileName

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.