source: chapter08/zstd.xml@ 70aadfb

ml-11.0 multilib
Last change on this file since 70aadfb was 70aadfb, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Cosmetic rearrange options to appear more consistent

  • Property mode set to 100644
File size: 5.1 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:</para>
58<screen><userinput remap="install">rm -v /usr/lib/libzstd.a</userinput></screen>
59
60 </sect2>
61
62 <!-- - - - - - - - - - -->
63 <!-- Multilib - 32bit -->
64 <!-- - - - - - - - - - -->
65
66 <sect2 arch="ml_32,ml_all" role="installation">
67 <title>Installation of Zstd - 32bit</title>
68
69 <para>Clean previous build:</para>
70
71<screen><userinput remap="pre">make clean</userinput></screen>
72
73 <para>Compile the package:</para>
74
75<screen><userinput remap="make">CC="gcc -m32" make</userinput></screen>
76
77 <para>Install the package:</para>
78
79<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
80cp -Rv DESTDIR/usr/lib/* /usr/lib32/
81sed -e "/^libdir/s/lib$/lib32/" -i /usr/lib32/pkgconfig/libzstd.pc
82rm -rf DESTDIR</userinput></screen>
83
84 </sect2><!-- m32 -->
85
86 <!-- - - - - - - - - - -->
87 <!-- Multilib - x32bit -->
88 <!-- - - - - - - - - - -->
89
90 <sect2 arch="ml_x32,ml_all" role="installation">
91 <title>Installation of Zstd - x32bit</title>
92
93 <para>Clean previous build:</para>
94
95<screen><userinput remap="pre">make clean</userinput></screen>
96
97 <para>Compile the package:</para>
98
99<screen><userinput remap="make">CC="gcc -mx32" make</userinput></screen>
100
101 <para>Install the package:</para>
102
103<screen><userinput remap="install">make prefix=/usr DESTDIR=$PWD/DESTDIR install
104cp -Rv DESTDIR/usr/lib/* /usr/libx32/
105sed -e "/^libdir/s/lib$/libx32/" -i /usr/libx32/pkgconfig/libzstd.pc
106rm -rf DESTDIR</userinput></screen>
107
108 </sect2><!-- mx32 -->
109
110 <sect2 id="contents-zstd" role="content">
111 <title>Contents of Zstd</title>
112
113 <segmentedlist>
114 <segtitle>Installed programs</segtitle>
115 <segtitle>Installed library</segtitle>
116
117 <seglistitem>
118 <seg>zstd,
119 zstdcat (link to zstd),
120 zstdgrep,
121 zstdless,
122 zstdmt (link to zstd), and
123 unzstd (link to zstd)
124 </seg>
125
126 <seg>libzstd.so</seg>
127 </seglistitem>
128 </segmentedlist>
129
130 <variablelist>
131 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
132 <?dbfo list-presentation="list"?>
133 <?dbhtml list-presentation="table"?>
134
135 <varlistentry id="zstd">
136 <term><command>zstd</command></term>
137 <listitem>
138 <para>Compresses or decompresses files using the ZSTD format</para>
139 <indexterm zone="ch-system-zstd zstd">
140 <primary sortas="b-zstd">zstd</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="zstdgrep">
146 <term><command>zstdgrep</command></term>
147 <listitem>
148 <para>Runs <command>grep</command> on ZSTD compressed files</para>
149 <indexterm zone="ch-system-zstd zstdgrep">
150 <primary sortas="b-zstdgrep">zstdgrep</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="zstdless">
156 <term><command>zstdless</command></term>
157 <listitem>
158 <para>Runs <command>less</command> on ZSTD compressed files</para>
159 <indexterm zone="ch-system-zstd zstdless">
160 <primary sortas="b-zstdless">zstdless</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libzstd">
166 <term><filename class="libraryfile">libzstd</filename></term>
167 <listitem>
168 <para>The library implementing lossless data
169 compression, using the ZSTD algorithm</para>
170 <indexterm zone="ch-system-zstd libzstd">
171 <primary sortas="c-libzstd">libzstd</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.