source: chapter08/zstd.xml@ 2f5d7d7d

10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 ml-11.0 multilib trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 2f5d7d7d was 2f5d7d7d, checked in by Xi Ruoyao <xry111@…>, 11 months ago

chapter08/zstd: run the tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12076 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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