xz.xml 11 KB

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