xz.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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">./configure --prefix=/usr --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
  38. <para>Compile the package:</para>
  39. <screen><userinput remap="make">make</userinput></screen>
  40. <para>To test the results, issue:</para>
  41. <screen><userinput remap="test">make check</userinput></screen>
  42. <para>Install the package and make sure that all essential files are in the
  43. correct directory:</para>
  44. <screen><userinput remap="install">make install
  45. mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin
  46. mv -v /usr/lib/liblzma.so.* /lib
  47. ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
  48. </sect2>
  49. <sect2 id="contents-xz" role="content">
  50. <title>Contents of Xz</title>
  51. <segmentedlist>
  52. <segtitle>Installed programs</segtitle>
  53. <segtitle>Installed libraries</segtitle>
  54. <segtitle>Installed directories</segtitle>
  55. <seglistitem>
  56. <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to
  57. xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep),
  58. lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz),
  59. lzmadec, lzmainfo, lzmore (link to xzmore),
  60. unlzma (link to xz), unxz, (link to xz), xz, xzcat (link to xz),
  61. xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep),
  62. xzfgrep (link to xzgrep), xzgrep, xzless, xzmore</seg>
  63. <seg>liblzma.{a,so}</seg>
  64. <seg>/usr/include/lzma and /usr/share/doc/xz-&xz-version;</seg>
  65. </seglistitem>
  66. </segmentedlist>
  67. <variablelist>
  68. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  69. <?dbfo list-presentation="list"?>
  70. <?dbhtml list-presentation="table"?>
  71. <varlistentry id="lzcat">
  72. <term><command>lzcat</command></term>
  73. <listitem>
  74. <para>Decompresses to standard output</para>
  75. <indexterm zone="ch-system-xz lzcat">
  76. <primary sortas="b-lzcat">lzcat</primary>
  77. </indexterm>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry id="lzcmp">
  81. <term><command>lzcmp</command></term>
  82. <listitem>
  83. <para>Runs <command>cmp</command> on LZMA compressed files</para>
  84. <indexterm zone="ch-system-xz lzcmp">
  85. <primary sortas="b-lzcmp">lzcmp</primary>
  86. </indexterm>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry id="lzdiff">
  90. <term><command>lzdiff</command></term>
  91. <listitem>
  92. <para>Runs <command>diff</command> on LZMA compressed files</para>
  93. <indexterm zone="ch-system-xz lzdiff">
  94. <primary sortas="b-lzdiff">lzdiff</primary>
  95. </indexterm>
  96. </listitem>
  97. </varlistentry>
  98. <varlistentry id="lzegrep">
  99. <term><command>lzegrep</command></term>
  100. <listitem>
  101. <para>Runs <command>egrep</command> on LZMA compressed files files</para>
  102. <indexterm zone="ch-system-xz lzegrep">
  103. <primary sortas="b-lzegrep">lzegrep</primary>
  104. </indexterm>
  105. </listitem>
  106. </varlistentry>
  107. <varlistentry id="lzfgrep">
  108. <term><command>lzfgrep</command></term>
  109. <listitem>
  110. <para>Runs <command>fgrep</command> on LZMA compressed files</para>
  111. <indexterm zone="ch-system-xz lzfgrep">
  112. <primary sortas="b-lzfgrep">lzfgrep</primary>
  113. </indexterm>
  114. </listitem>
  115. </varlistentry>
  116. <varlistentry id="lzgrep">
  117. <term><command>lzgrep</command></term>
  118. <listitem>
  119. <para>Runs <command>grep</command> on LZMA compressed files</para>
  120. <indexterm zone="ch-system-xz lzgrep">
  121. <primary sortas="b-lzgrep">lzgrep</primary>
  122. </indexterm>
  123. </listitem>
  124. </varlistentry>
  125. <varlistentry id="lzless">
  126. <term><command>lzless</command></term>
  127. <listitem>
  128. <para>Runs <command>less</command> on LZMA compressed files</para>
  129. <indexterm zone="ch-system-xz lzless">
  130. <primary sortas="b-lzless">lzless</primary>
  131. </indexterm>
  132. </listitem>
  133. </varlistentry>
  134. <varlistentry id="lzma">
  135. <term><command>lzma</command></term>
  136. <listitem>
  137. <para>Compresses or decompresses files using the LZMA format</para>
  138. <indexterm zone="ch-system-xz lzma">
  139. <primary sortas="b-lzma">lzma</primary>
  140. </indexterm>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry id="lzmadec">
  144. <term><command>lzmadec</command></term>
  145. <listitem>
  146. <para>A small and fast decoder for LZMA compressed files</para>
  147. <indexterm zone="ch-system-xz lzmadec">
  148. <primary sortas="b-lzmadec">lzmadec</primary>
  149. </indexterm>
  150. </listitem>
  151. </varlistentry>
  152. <varlistentry id="lzmainfo">
  153. <term><command>lzmainfo</command></term>
  154. <listitem>
  155. <para>Shows information stored in the LZMA compressed file header</para>
  156. <indexterm zone="ch-system-xz lzmainfo">
  157. <primary sortas="b-lzmainfo">lzmainfo</primary>
  158. </indexterm>
  159. </listitem>
  160. </varlistentry>
  161. <varlistentry id="lzmore">
  162. <term><command>lzmore</command></term>
  163. <listitem>
  164. <para>Runs <command>more</command> on LZMA compressed files</para>
  165. <indexterm zone="ch-system-xz lzmore">
  166. <primary sortas="b-lzmamore">lzmore</primary>
  167. </indexterm>
  168. </listitem>
  169. </varlistentry>
  170. <varlistentry id="unlzma">
  171. <term><command>unlzma</command></term>
  172. <listitem>
  173. <para>Decompresses files using the LZMA format</para>
  174. <indexterm zone="ch-system-xz unlzma">
  175. <primary sortas="b-unlzma">unlzma</primary>
  176. </indexterm>
  177. </listitem>
  178. </varlistentry>
  179. <varlistentry id="unxz">
  180. <term><command>unxz</command></term>
  181. <listitem>
  182. <para>Decompresses files using the XZ format</para>
  183. <indexterm zone="ch-system-xz unxz">
  184. <primary sortas="b-unxz">unxz</primary>
  185. </indexterm>
  186. </listitem>
  187. </varlistentry>
  188. <varlistentry id="xz">
  189. <term><command>xz</command></term>
  190. <listitem>
  191. <para>Compresses or decompresses files using the XZ format</para>
  192. <indexterm zone="ch-system-xz xz">
  193. <primary sortas="b-xz">xz</primary>
  194. </indexterm>
  195. </listitem>
  196. </varlistentry>
  197. <varlistentry id="xzcat">
  198. <term><command>xzcat</command></term>
  199. <listitem>
  200. <para>Decompresses to standard output</para>
  201. <indexterm zone="ch-system-xz xzcat">
  202. <primary sortas="b-xzcat">xzcat</primary>
  203. </indexterm>
  204. </listitem>
  205. </varlistentry>
  206. <varlistentry id="xzcmp">
  207. <term><command>xzcmp</command></term>
  208. <listitem>
  209. <para>Runs <command>cmp</command> on XZ compressed files</para>
  210. <indexterm zone="ch-system-xz xzcmp">
  211. <primary sortas="b-xzcmp">xzcmp</primary>
  212. </indexterm>
  213. </listitem>
  214. </varlistentry>
  215. <varlistentry id="xzdec">
  216. <term><command>xzdec</command></term>
  217. <listitem>
  218. <para>A small and fast decoder for XZ compressed files</para>
  219. <indexterm zone="ch-system-xz xzdec">
  220. <primary sortas="b-xzdec">xzdec</primary>
  221. </indexterm>
  222. </listitem>
  223. </varlistentry>
  224. <varlistentry id="xzdiff">
  225. <term><command>xzdiff</command></term>
  226. <listitem>
  227. <para>Runs <command>diff</command> on XZ compressed files</para>
  228. <indexterm zone="ch-system-xz xzdiff">
  229. <primary sortas="b-xzdiff">xzdiff</primary>
  230. </indexterm>
  231. </listitem>
  232. </varlistentry>
  233. <varlistentry id="xzegrep">
  234. <term><command>xzegrep</command></term>
  235. <listitem>
  236. <para>Runs <command>egrep</command> on XZ compressed files files</para>
  237. <indexterm zone="ch-system-xz xzegrep">
  238. <primary sortas="b-xzegrep">xzegrep</primary>
  239. </indexterm>
  240. </listitem>
  241. </varlistentry>
  242. <varlistentry id="xzfgrep">
  243. <term><command>xzfgrep</command></term>
  244. <listitem>
  245. <para>Runs <command>fgrep</command> on XZ compressed files</para>
  246. <indexterm zone="ch-system-xz xzfgrep">
  247. <primary sortas="b-xzfgrep">xzfgrep</primary>
  248. </indexterm>
  249. </listitem>
  250. </varlistentry>
  251. <varlistentry id="xzgrep">
  252. <term><command>xzgrep</command></term>
  253. <listitem>
  254. <para>Runs <command>grep</command> on XZ compressed files</para>
  255. <indexterm zone="ch-system-xz xzgrep">
  256. <primary sortas="b-xzgrep">xzgrep</primary>
  257. </indexterm>
  258. </listitem>
  259. </varlistentry>
  260. <varlistentry id="xzless">
  261. <term><command>xzless</command></term>
  262. <listitem>
  263. <para>Runs <command>less</command> on XZ compressed files</para>
  264. <indexterm zone="ch-system-xz xzless">
  265. <primary sortas="b-xzless">xzless</primary>
  266. </indexterm>
  267. </listitem>
  268. </varlistentry>
  269. <varlistentry id="xzmore">
  270. <term><command>xzmore</command></term>
  271. <listitem>
  272. <para>Runs <command>more</command> on XZ compressed files</para>
  273. <indexterm zone="ch-system-xz xzmore">
  274. <primary sortas="b-xzmore">xzmore</primary>
  275. </indexterm>
  276. </listitem>
  277. </varlistentry>
  278. <varlistentry id="liblzma">
  279. <term><filename class="libraryfile">liblzma*</filename></term>
  280. <listitem>
  281. <para>The library implementing lossless, block-sorting data
  282. compression, using the Lempel-Ziv-Markov chain algorithm</para>
  283. <indexterm zone="ch-system-xz liblzma">
  284. <primary sortas="c-liblzma*">liblzma*</primary>
  285. </indexterm>
  286. </listitem>
  287. </varlistentry>
  288. </variablelist>
  289. </sect2>
  290. </sect1>