Use the xz command in Ubuntu

Source: Internet
Author: User
I got a package today with the suffix "xz ". I can decompress it using the xz command in xz-utils. Perform the following operations under the Ubuntu-11.04: # aptitudesearchxz get the following results: pxz-lzma-XZ-formatcompressionutilities-compatibilitycommandspxz-utils-XZ-formatcompre

I got a package today with the suffix "xz Z ".

After query, You can decompress the xz command in xz-utils.

Perform the following operations under the Ubuntu-11.04:

# Aptitude search xz

The result is as follows:

P xz-lzma-XZ-format compression utilities-compatibility commands
P xz-utils-XZ-format compression utilities
P xzdec-XZ-format compression utilities-tiny decompressors
P xzgv-Picture viewer for X with a thumbnail-based selector
P xzip-Interpreter of Infocom-format story-files
P xzoom-magnify part of X display, with real-time updates

Install xz-utils

# Sudo apt-get install xz-utils

Then, view the help information:

# Xz -- help

Usage: xz [OPTION]... [FILE]...
Compress or decompress FILEs in the. xz format.

-Z, -- compress force compression
-D, -- decompress force decompression
-T, -- test compressed file integrity
-L, -- list information about. xz files
-K, -- keep (don't delete) input files
-F, -- force overwrite of output file and (de) compress links
-C, -- stdout write to standard output and don't delete input files
-0...-9 compression preset; default is 6; take compressor * and *
Decompressor memory usage into account before using 7-9!
-E, -- extreme try to improve compression ratio by using more CPU time;
Does not affect decompressor memory requirements
-Q, -- quiet suppress warnings; specify twice to suppress errors too
-V, -- verbose be verbose; specify twice for even more verbose
-H, -- help display this short help and exit
-H, -- long-help display the long help (lists also the advanced options)
-V, -- version display the version number and exit

With no FILE, or when FILE is-, read standard input.

Report bugs (In English or Finnish ).
XZ Utils home page:

Finally, extract the file according to the help information.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

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.