2020-01-12 17:49:07 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="ch-system-zstd" role="wrap">
|
|
|
|
<?dbhtml filename="zstd.html"?>
|
|
|
|
|
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>zstd</productname>
|
|
|
|
<productnumber>&zstd-version;</productnumber>
|
|
|
|
<address>&zstd-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Zstd-&zstd-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-zstd">
|
|
|
|
<primary sortas="a-zstd">zstd</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
|
|
|
|
|
|
|
<para>Zstandard is a real-time compression algorithm, providing high
|
|
|
|
compression ratios. It offers a very wide range of compression / speed
|
|
|
|
trade-offs, while being backed by a very fast decoder.</para>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>&zstd-ch6-sbu;</seg>
|
|
|
|
<seg>&zstd-ch6-du;</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2020-01-13 09:12:24 +00:00
|
|
|
<sect2 role="installation">
|
2020-01-12 17:49:07 +00:00
|
|
|
<title>Installation of Zstd</title>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="install">make prefix=/usr install</userinput></screen>
|
|
|
|
|
2020-01-13 18:27:40 +00:00
|
|
|
<para>Remove the static library and move the shared library to
|
|
|
|
<filename class="directory">/lib</filename>. Also, the
|
|
|
|
<filename class="extension">.so</filename> file in
|
|
|
|
<filename class="directory">/usr/lib</filename> will need to be recreated:</para>
|
|
|
|
|
|
|
|
<screen><userinput remap="install">rm -v /usr/lib/libzstd.a
|
|
|
|
mv -v /usr/lib/libzstd.so.* /lib
|
|
|
|
ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen>
|
|
|
|
|
2020-01-12 17:49:07 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 id="contents-zstd" role="content">
|
2020-01-12 18:06:33 +00:00
|
|
|
<title>Contents of Zstd</title>
|
2020-01-12 17:49:07 +00:00
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
|
<segtitle>Installed library</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>zstd,
|
|
|
|
zstdcat (link to zstd),
|
|
|
|
zstdgrep,
|
|
|
|
zstdless,
|
|
|
|
zstdmt (link to zstd), and
|
|
|
|
unzstd (link to zstd)
|
|
|
|
</seg>
|
|
|
|
|
|
|
|
<seg>libzstd.so</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="zstd">
|
|
|
|
<term><command>zstd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Compresses or decompresses files using the ZSTD format</para>
|
|
|
|
<indexterm zone="ch-system-zstd zstd">
|
|
|
|
<primary sortas="b-zstd">zstd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="zstdgrep">
|
|
|
|
<term><command>zstdgrep</command></term>
|
|
|
|
<listitem>
|
2020-01-12 18:06:33 +00:00
|
|
|
<para>Runs <command>grep</command> on ZSTD compressed files</para>
|
2020-01-12 17:49:07 +00:00
|
|
|
<indexterm zone="ch-system-zstd zstdgrep">
|
|
|
|
<primary sortas="b-zstdgrep">zstdgrep</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="zstdless">
|
|
|
|
<term><command>zstdless</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Runs <command>less</command> on ZSTD compressed files</para>
|
|
|
|
<indexterm zone="ch-system-zstd zstdless">
|
|
|
|
<primary sortas="b-zstdless">zstdless</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libzstd">
|
|
|
|
<term><filename class="libraryfile">libzstd</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>The library implementing lossless data
|
|
|
|
compression, using the ZSTD algorithm</para>
|
|
|
|
<indexterm zone="ch-system-zstd libzstd">
|
|
|
|
<primary sortas="c-libzstd">libzstd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|