source: chapter06/zstd.xml@ 9c5cdd8a

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 9c5cdd8a was a5ad6a8, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Clean up zstd installation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11729 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-ch6-sbu;</seg>
36 <seg>&zstd-ch6-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>This package does not come with a test suite.</para>
50
51 <para>Install the package:</para>
52
53<screen><userinput remap="install">make prefix=/usr install</userinput></screen>
54
55 <para>Remove the static library and move the shared library to
56 <filename class="directory">/lib</filename>. Also, the
57 <filename class="extension">.so</filename> file in
58 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
59
60<screen><userinput remap="install">rm -v /usr/lib/libzstd.a
61mv -v /usr/lib/libzstd.so.* /lib
62ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so</userinput></screen>
63
64 </sect2>
65
66 <sect2 id="contents-zstd" role="content">
67 <title>Contents of Zstd</title>
68
69 <segmentedlist>
70 <segtitle>Installed programs</segtitle>
71 <segtitle>Installed library</segtitle>
72
73 <seglistitem>
74 <seg>zstd,
75 zstdcat (link to zstd),
76 zstdgrep,
77 zstdless,
78 zstdmt (link to zstd), and
79 unzstd (link to zstd)
80 </seg>
81
82 <seg>libzstd.so</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="zstd">
92 <term><command>zstd</command></term>
93 <listitem>
94 <para>Compresses or decompresses files using the ZSTD format</para>
95 <indexterm zone="ch-system-zstd zstd">
96 <primary sortas="b-zstd">zstd</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="zstdgrep">
102 <term><command>zstdgrep</command></term>
103 <listitem>
104 <para>Runs <command>grep</command> on ZSTD compressed files</para>
105 <indexterm zone="ch-system-zstd zstdgrep">
106 <primary sortas="b-zstdgrep">zstdgrep</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="zstdless">
112 <term><command>zstdless</command></term>
113 <listitem>
114 <para>Runs <command>less</command> on ZSTD compressed files</para>
115 <indexterm zone="ch-system-zstd zstdless">
116 <primary sortas="b-zstdless">zstdless</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="libzstd">
122 <term><filename class="libraryfile">libzstd</filename></term>
123 <listitem>
124 <para>The library implementing lossless data
125 compression, using the ZSTD algorithm</para>
126 <indexterm zone="ch-system-zstd libzstd">
127 <primary sortas="c-libzstd">libzstd</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 </variablelist>
133
134 </sect2>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.