zstd.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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-zstd" role="wrap">
  8. <?dbhtml filename="zstd.html"?>
  9. <sect1info condition="script">
  10. <productname>zstd</productname>
  11. <productnumber>&zstd-version;</productnumber>
  12. <address>&zstd-url;</address>
  13. </sect1info>
  14. <title>Zstd-&zstd-version;</title>
  15. <indexterm zone="ch-system-zstd">
  16. <primary sortas="a-zstd">zstd</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>Zstandard is a real-time compression algorithm, providing high
  21. compression ratios. It offers a very wide range of compression / speed
  22. trade-offs, while being backed by a very fast decoder.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&zstd-fin-sbu;</seg>
  28. <seg>&zstd-fin-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Zstd</title>
  34. <para>Compile the package:</para>
  35. <screen><userinput remap="make">make</userinput></screen>
  36. <para>To test the results, issue:</para>
  37. <screen><userinput remap="test">make check</userinput></screen>
  38. <para>Install the package:</para>
  39. <screen><userinput remap="install">make prefix=/usr install</userinput></screen>
  40. <para>Remove the static library and move the shared library to
  41. <filename class="directory">/lib</filename>. Also, the
  42. <filename class="extension">.so</filename> file in
  43. <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
  44. <screen><userinput remap="install">rm -v /usr/lib/libzstd.a
  45. mv -v /usr/lib/libzstd.so.* /lib
  46. ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen>
  47. </sect2>
  48. <sect2 id="contents-zstd" role="content">
  49. <title>Contents of Zstd</title>
  50. <segmentedlist>
  51. <segtitle>Installed programs</segtitle>
  52. <segtitle>Installed library</segtitle>
  53. <seglistitem>
  54. <seg>zstd,
  55. zstdcat (link to zstd),
  56. zstdgrep,
  57. zstdless,
  58. zstdmt (link to zstd), and
  59. unzstd (link to zstd)
  60. </seg>
  61. <seg>libzstd.so</seg>
  62. </seglistitem>
  63. </segmentedlist>
  64. <variablelist>
  65. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  66. <?dbfo list-presentation="list"?>
  67. <?dbhtml list-presentation="table"?>
  68. <varlistentry id="zstd">
  69. <term><command>zstd</command></term>
  70. <listitem>
  71. <para>Compresses or decompresses files using the ZSTD format</para>
  72. <indexterm zone="ch-system-zstd zstd">
  73. <primary sortas="b-zstd">zstd</primary>
  74. </indexterm>
  75. </listitem>
  76. </varlistentry>
  77. <varlistentry id="zstdgrep">
  78. <term><command>zstdgrep</command></term>
  79. <listitem>
  80. <para>Runs <command>grep</command> on ZSTD compressed files</para>
  81. <indexterm zone="ch-system-zstd zstdgrep">
  82. <primary sortas="b-zstdgrep">zstdgrep</primary>
  83. </indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="zstdless">
  87. <term><command>zstdless</command></term>
  88. <listitem>
  89. <para>Runs <command>less</command> on ZSTD compressed files</para>
  90. <indexterm zone="ch-system-zstd zstdless">
  91. <primary sortas="b-zstdless">zstdless</primary>
  92. </indexterm>
  93. </listitem>
  94. </varlistentry>
  95. <varlistentry id="libzstd">
  96. <term><filename class="libraryfile">libzstd</filename></term>
  97. <listitem>
  98. <para>The library implementing lossless data
  99. compression, using the ZSTD algorithm</para>
  100. <indexterm zone="ch-system-zstd libzstd">
  101. <primary sortas="c-libzstd">libzstd</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. </variablelist>
  106. </sect2>
  107. </sect1>