xz.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-xz" role="wrap">
  8. <?dbhtml filename="xz.html"?>
  9. <sect1info condition="script">
  10. <productname>xz</productname>
  11. <productnumber>&xz-version;</productnumber>
  12. <address>&xz-url;</address>
  13. </sect1info>
  14. <title>Xz-&xz-version;</title>
  15. <indexterm zone="ch-system-xz">
  16. <primary sortas="a-xz">Xz</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Xz package contains programs for compressing and decompressing
  21. files. It provides capabilities for the lzma and the newer xz compression
  22. formats. Compressing text files with <command>xz</command> yields a better
  23. compression percentage than with the traditional <command>gzip</command> or
  24. <command>bzip2</command> commands.</para>
  25. <segmentedlist>
  26. <segtitle>&buildtime;</segtitle>
  27. <segtitle>&diskspace;</segtitle>
  28. <seglistitem>
  29. <seg>&xz-ch6-sbu;</seg>
  30. <seg>&xz-ch6-du;</seg>
  31. </seglistitem>
  32. </segmentedlist>
  33. </sect2>
  34. <sect2 role="installation">
  35. <title>Installation of Xz</title>
  36. <para>Prepare Xz for compilation with:</para>
  37. <screen><userinput remap="configure">
  38. ./configure --prefix=/usr \
  39. --disable-static \
  40. --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
  41. <para>Compile the package:</para>
  42. <screen><userinput remap="make">make</userinput></screen>
  43. <para>To test the results, issue:</para>
  44. <screen><userinput remap="test">make check</userinput></screen>
  45. <para>Install the package and make sure that all essential files are in the
  46. correct directory:</para>
  47. <screen><userinput remap="install">make install
  48. mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin
  49. mv -v /usr/lib/liblzma.so.* /lib
  50. ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
  51. </sect2>
  52. <sect2 id="contents-xz" role="content">
  53. <title>Contents of Xz</title>
  54. <segmentedlist>
  55. <segtitle>Installed programs</segtitle>
  56. <segtitle>Installed libraries</segtitle>
  57. <segtitle>Installed directories</segtitle>
  58. <seglistitem>
  59. <seg>
  60. lzcat (link to xz),
  61. lzcmp (link to xzdiff),
  62. lzdiff (link to xzdiff),
  63. lzegrep (link to xzgrep),
  64. lzfgrep (link to xzgrep),
  65. lzgrep (link to xzgrep),
  66. lzless (link to xzless),
  67. lzma (link to xz),
  68. lzmadec,
  69. lzmainfo,
  70. lzmore (link to xzmore),
  71. unlzma (link to xz),
  72. unxz (link to xz),
  73. xz,
  74. xzcat (link to xz),
  75. xzcmp (link to xzdiff),
  76. xzdec,
  77. xzdiff,
  78. xzegrep (link to xzgrep),
  79. xzfgrep (link to xzgrep),
  80. xzgrep,
  81. xzless, and
  82. xzmore</seg>
  83. <seg>
  84. liblzma.so
  85. </seg>
  86. <seg>
  87. /usr/include/lzma and
  88. /usr/share/doc/xz-&xz-version;
  89. </seg>
  90. </seglistitem>
  91. </segmentedlist>
  92. <variablelist>
  93. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  94. <?dbfo list-presentation="list"?>
  95. <?dbhtml list-presentation="table"?>
  96. <varlistentry id="lzcat">
  97. <term><command>lzcat</command></term>
  98. <listitem>
  99. <para>Decompresses to standard output</para>
  100. <indexterm zone="ch-system-xz lzcat">
  101. <primary sortas="b-lzcat">lzcat</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="lzcmp">
  106. <term><command>lzcmp</command></term>
  107. <listitem>
  108. <para>Runs <command>cmp</command> on LZMA compressed files</para>
  109. <indexterm zone="ch-system-xz lzcmp">
  110. <primary sortas="b-lzcmp">lzcmp</primary>
  111. </indexterm>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry id="lzdiff">
  115. <term><command>lzdiff</command></term>
  116. <listitem>
  117. <para>Runs <command>diff</command> on LZMA compressed files</para>
  118. <indexterm zone="ch-system-xz lzdiff">
  119. <primary sortas="b-lzdiff">lzdiff</primary>
  120. </indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="lzegrep">
  124. <term><command>lzegrep</command></term>
  125. <listitem>
  126. <para>Runs <command>egrep</command> on LZMA compressed files files</para>
  127. <indexterm zone="ch-system-xz lzegrep">
  128. <primary sortas="b-lzegrep">lzegrep</primary>
  129. </indexterm>
  130. </listitem>
  131. </varlistentry>
  132. <varlistentry id="lzfgrep">
  133. <term><command>lzfgrep</command></term>
  134. <listitem>
  135. <para>Runs <command>fgrep</command> on LZMA compressed files</para>
  136. <indexterm zone="ch-system-xz lzfgrep">
  137. <primary sortas="b-lzfgrep">lzfgrep</primary>
  138. </indexterm>
  139. </listitem>
  140. </varlistentry>
  141. <varlistentry id="lzgrep">
  142. <term><command>lzgrep</command></term>
  143. <listitem>
  144. <para>Runs <command>grep</command> on LZMA compressed files</para>
  145. <indexterm zone="ch-system-xz lzgrep">
  146. <primary sortas="b-lzgrep">lzgrep</primary>
  147. </indexterm>
  148. </listitem>
  149. </varlistentry>
  150. <varlistentry id="lzless">
  151. <term><command>lzless</command></term>
  152. <listitem>
  153. <para>Runs <command>less</command> on LZMA compressed files</para>
  154. <indexterm zone="ch-system-xz lzless">
  155. <primary sortas="b-lzless">lzless</primary>
  156. </indexterm>
  157. </listitem>
  158. </varlistentry>
  159. <varlistentry id="lzma">
  160. <term><command>lzma</command></term>
  161. <listitem>
  162. <para>Compresses or decompresses files using the LZMA format</para>
  163. <indexterm zone="ch-system-xz lzma">
  164. <primary sortas="b-lzma">lzma</primary>
  165. </indexterm>
  166. </listitem>
  167. </varlistentry>
  168. <varlistentry id="lzmadec">
  169. <term><command>lzmadec</command></term>
  170. <listitem>
  171. <para>A small and fast decoder for LZMA compressed files</para>
  172. <indexterm zone="ch-system-xz lzmadec">
  173. <primary sortas="b-lzmadec">lzmadec</primary>
  174. </indexterm>
  175. </listitem>
  176. </varlistentry>
  177. <varlistentry id="lzmainfo">
  178. <term><command>lzmainfo</command></term>
  179. <listitem>
  180. <para>Shows information stored in the LZMA compressed file header</para>
  181. <indexterm zone="ch-system-xz lzmainfo">
  182. <primary sortas="b-lzmainfo">lzmainfo</primary>
  183. </indexterm>
  184. </listitem>
  185. </varlistentry>
  186. <varlistentry id="lzmore">
  187. <term><command>lzmore</command></term>
  188. <listitem>
  189. <para>Runs <command>more</command> on LZMA compressed files</para>
  190. <indexterm zone="ch-system-xz lzmore">
  191. <primary sortas="b-lzmamore">lzmore</primary>
  192. </indexterm>
  193. </listitem>
  194. </varlistentry>
  195. <varlistentry id="unlzma">
  196. <term><command>unlzma</command></term>
  197. <listitem>
  198. <para>Decompresses files using the LZMA format</para>
  199. <indexterm zone="ch-system-xz unlzma">
  200. <primary sortas="b-unlzma">unlzma</primary>
  201. </indexterm>
  202. </listitem>
  203. </varlistentry>
  204. <varlistentry id="unxz">
  205. <term><command>unxz</command></term>
  206. <listitem>
  207. <para>Decompresses files using the XZ format</para>
  208. <indexterm zone="ch-system-xz unxz">
  209. <primary sortas="b-unxz">unxz</primary>
  210. </indexterm>
  211. </listitem>
  212. </varlistentry>
  213. <varlistentry id="xz">
  214. <term><command>xz</command></term>
  215. <listitem>
  216. <para>Compresses or decompresses files using the XZ format</para>
  217. <indexterm zone="ch-system-xz xz">
  218. <primary sortas="b-xz">xz</primary>
  219. </indexterm>
  220. </listitem>
  221. </varlistentry>
  222. <varlistentry id="xzcat">
  223. <term><command>xzcat</command></term>
  224. <listitem>
  225. <para>Decompresses to standard output</para>
  226. <indexterm zone="ch-system-xz xzcat">
  227. <primary sortas="b-xzcat">xzcat</primary>
  228. </indexterm>
  229. </listitem>
  230. </varlistentry>
  231. <varlistentry id="xzcmp">
  232. <term><command>xzcmp</command></term>
  233. <listitem>
  234. <para>Runs <command>cmp</command> on XZ compressed files</para>
  235. <indexterm zone="ch-system-xz xzcmp">
  236. <primary sortas="b-xzcmp">xzcmp</primary>
  237. </indexterm>
  238. </listitem>
  239. </varlistentry>
  240. <varlistentry id="xzdec">
  241. <term><command>xzdec</command></term>
  242. <listitem>
  243. <para>A small and fast decoder for XZ compressed files</para>
  244. <indexterm zone="ch-system-xz xzdec">
  245. <primary sortas="b-xzdec">xzdec</primary>
  246. </indexterm>
  247. </listitem>
  248. </varlistentry>
  249. <varlistentry id="xzdiff">
  250. <term><command>xzdiff</command></term>
  251. <listitem>
  252. <para>Runs <command>diff</command> on XZ compressed files</para>
  253. <indexterm zone="ch-system-xz xzdiff">
  254. <primary sortas="b-xzdiff">xzdiff</primary>
  255. </indexterm>
  256. </listitem>
  257. </varlistentry>
  258. <varlistentry id="xzegrep">
  259. <term><command>xzegrep</command></term>
  260. <listitem>
  261. <para>Runs <command>egrep</command> on XZ compressed files files</para>
  262. <indexterm zone="ch-system-xz xzegrep">
  263. <primary sortas="b-xzegrep">xzegrep</primary>
  264. </indexterm>
  265. </listitem>
  266. </varlistentry>
  267. <varlistentry id="xzfgrep">
  268. <term><command>xzfgrep</command></term>
  269. <listitem>
  270. <para>Runs <command>fgrep</command> on XZ compressed files</para>
  271. <indexterm zone="ch-system-xz xzfgrep">
  272. <primary sortas="b-xzfgrep">xzfgrep</primary>
  273. </indexterm>
  274. </listitem>
  275. </varlistentry>
  276. <varlistentry id="xzgrep">
  277. <term><command>xzgrep</command></term>
  278. <listitem>
  279. <para>Runs <command>grep</command> on XZ compressed files</para>
  280. <indexterm zone="ch-system-xz xzgrep">
  281. <primary sortas="b-xzgrep">xzgrep</primary>
  282. </indexterm>
  283. </listitem>
  284. </varlistentry>
  285. <varlistentry id="xzless">
  286. <term><command>xzless</command></term>
  287. <listitem>
  288. <para>Runs <command>less</command> on XZ compressed files</para>
  289. <indexterm zone="ch-system-xz xzless">
  290. <primary sortas="b-xzless">xzless</primary>
  291. </indexterm>
  292. </listitem>
  293. </varlistentry>
  294. <varlistentry id="xzmore">
  295. <term><command>xzmore</command></term>
  296. <listitem>
  297. <para>Runs <command>more</command> on XZ compressed files</para>
  298. <indexterm zone="ch-system-xz xzmore">
  299. <primary sortas="b-xzmore">xzmore</primary>
  300. </indexterm>
  301. </listitem>
  302. </varlistentry>
  303. <varlistentry id="liblzma">
  304. <term><filename class="libraryfile">liblzma</filename></term>
  305. <listitem>
  306. <para>The library implementing lossless, block-sorting data
  307. compression, using the Lempel-Ziv-Markov chain algorithm</para>
  308. <indexterm zone="ch-system-xz liblzma">
  309. <primary sortas="c-liblzma">liblzma</primary>
  310. </indexterm>
  311. </listitem>
  312. </varlistentry>
  313. </variablelist>
  314. </sect2>
  315. </sect1>