Welcome 微信登录

首页 / 操作系统 / Linux / Ubuntu中的xz命令使用

今天拿到一个包,后缀名为:xz经查询,用xz-utils中的xz命令可以对其进行解压。在Ubuntu-11.04下面进行如下操作:# aptitude search xz得如下结果: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于是安装xz-utils# sudo apt-get install xz-utils完成后,查看帮助:# xz --helpUsage: xz [OPTION]... [FILE]...
Compress or decompress FILEs in the .xz format.-z, --compress force compression
-d, --decompress force decompression
-t, --test test compressed file integrity
-l, --list list information about .xz files
-k, --keep keep (don"t delete) input files
-f, --force 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 exitWith no FILE, or when FILE is -, read standard input.Report bugs to <lasse.collin@tukaani.org> (in English or Finnish).
XZ Utils home page: <http://tukaani.org/xz/>最后根据帮助信息解压此文件。更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2VirtualBox下RedHat不能使用Ctrl+C快捷键解决VMware环境下的kgdb环境配置和模块调试示例相关资讯      Ubuntu基础教程 
  • 如何在Ubuntu中添加和删除书签  (10/08/2015 11:51:26)
  • 如何通过简单的3步恢复Windows 7同  (03/29/2015 16:50:03)
  • ldconfig deferred processing now  (12/08/2013 16:24:06)
  • 如何在 Ubuntu 中再次登录时还原上  (04/20/2015 21:02:23)
  • 让你玩转 Ubuntu 桌面的十一件武器  (03/11/2015 09:30:49)
  • Ubuntu基础教程——如何修改你的计  (11/02/2013 06:49:12)
本文评论 查看全部评论 (0)
表情: 姓名: 字数