source: general/genlib/libarchive.xml@ 06bb5bde

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 06bb5bde was 06bb5bde, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Update to iso-codes-4.5.0.
Update to lxml-4.5.1 (Python Module).
Update to libksba-1.4.0.
Update to libarchive-3.4.3.
Update to nss-3.52.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23180 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 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 <!ENTITY libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/v&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
8 <!ENTITY libarchive-download-ftp " ">
9 <!ENTITY libarchive-md5sum "4b216ea3015ecf8ae555a2026f9a6b73">
10 <!ENTITY libarchive-size "4.6 MB">
11 <!ENTITY libarchive-buildsize "40 MB (add 28 MB for tests)">
12 <!ENTITY libarchive-time "0.4 SBU (add 1.0 SBU for tests)">
13]>
14
15<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
16 <?dbhtml filename="libarchive.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libarchive-&libarchive-version;</title>
24
25 <indexterm zone="libarchive">
26 <primary sortas="a-libarchive">libarchive</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libarchive</title>
31
32 <para>
33 The <application>libarchive</application> library provides a single
34 interface for reading/writing various compression formats.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libarchive-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libarchive-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libarchive-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libarchive-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libarchive-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libarchive-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="libxml2"/>,
78 <xref linkend="lzo"/>, and
79 <xref linkend="nettle"/>
80 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libarchive"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libarchive</title>
90
91 <para>
92 Install <application>libarchive</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
97make</userinput></screen>
98
99 <para>
100 To test the results, issue: <command>LC_ALL=C make check</command>.
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
115 href="../../xincludes/static-libraries.xml"/>
116
117 <para>
118 <option>--without-xml2</option>: This switch sets expat for xar archive
119 format support instead of preferred libxml2 if both packages are installed.
120 </para>
121
122 <para>
123 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
124 support instead of preferred Nettle if both packages are installed.
125 </para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>
139 bsdcat, bsdcpio, and bsdtar
140 </seg>
141 <seg>
142 libarchive.so
143 </seg>
144 <seg>
145 None
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="bsdcat">
156 <term><command>bsdcat</command></term>
157 <listitem>
158 <para>
159 expands files to standard output.
160 </para>
161 <indexterm zone="libarchive bsdcat">
162 <primary sortas="b-bsdcat">bsdcat</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="bsdcpio">
168 <term><command>bsdcpio</command></term>
169 <listitem>
170 <para>
171 is a tool similar to <command>cpio</command>.
172 </para>
173 <indexterm zone="libarchive bsdcpio">
174 <primary sortas="b-bsdcpio">bsdcpio</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="bsdtar">
180 <term><command>bsdtar</command></term>
181 <listitem>
182 <para>
183 is a tool similar to GNU <command>tar</command>.
184 </para>
185 <indexterm zone="libarchive bsdtar">
186 <primary sortas="b-bsdtar">bsdtar</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libarchive-lib">
192 <term><filename class="libraryfile">libarchive.so</filename></term>
193 <listitem>
194 <para>
195 is a library that can create and read several streaming
196 archive formats.
197 </para>
198 <indexterm zone="libarchive libarchive-lib">
199 <primary sortas="c-libarchive">libarchive.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205
206 </sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.