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 "http://www.libarchive.org/downloads/libarchive-&libarchive-version;.tar.gz">
|
---|
8 | <!ENTITY libarchive-download-ftp " ">
|
---|
9 | <!ENTITY libarchive-md5sum "4038e366ca5b659dae3efcc744e72120">
|
---|
10 | <!ENTITY libarchive-size "6.2 MB">
|
---|
11 | <!ENTITY libarchive-buildsize "38 MB (add 28 MB for tests)">
|
---|
12 | <!ENTITY libarchive-time "0.4 SBU (add 1.1 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 | &lfs83_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 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/libarchive"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2 role="installation">
|
---|
88 | <title>Installation of libarchive</title>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | Install <application>libarchive</application> by running the following
|
---|
92 | commands:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
96 | make</userinput></screen>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | To test the results, issue: <command>make check</command>.
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
114 | href="../../xincludes/static-libraries.xml"/>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <option>--without-xml2</option>: This switch sets expat for xar archive
|
---|
118 | format support instead of preferred libxml2 if both packages are installed.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | <option>--without-nettle</option>: This switch sets OpenSSL for crypto
|
---|
123 | support instead of preferred Nettle if both packages are installed.
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="content">
|
---|
129 | <title>Contents</title>
|
---|
130 |
|
---|
131 | <segmentedlist>
|
---|
132 | <segtitle>Installed Programs</segtitle>
|
---|
133 | <segtitle>Installed Libraries</segtitle>
|
---|
134 | <segtitle>Installed Directories</segtitle>
|
---|
135 |
|
---|
136 | <seglistitem>
|
---|
137 | <seg>
|
---|
138 | bsdcat, bsdcpio, and bsdtar
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | libarchive.so
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | None
|
---|
145 | </seg>
|
---|
146 | </seglistitem>
|
---|
147 | </segmentedlist>
|
---|
148 |
|
---|
149 | <variablelist>
|
---|
150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry id="bsdcat">
|
---|
155 | <term><command>bsdcat</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>
|
---|
158 | expands files to standard output.
|
---|
159 | </para>
|
---|
160 | <indexterm zone="libarchive bsdcat">
|
---|
161 | <primary sortas="b-bsdcat">bsdcat</primary>
|
---|
162 | </indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="bsdcpio">
|
---|
167 | <term><command>bsdcpio</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | is a tool similar to <command>cpio</command>.
|
---|
171 | </para>
|
---|
172 | <indexterm zone="libarchive bsdcpio">
|
---|
173 | <primary sortas="b-bsdcpio">bsdcpio</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry id="bsdtar">
|
---|
179 | <term><command>bsdtar</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | is a tool similar to GNU <command>tar</command>.
|
---|
183 | </para>
|
---|
184 | <indexterm zone="libarchive bsdtar">
|
---|
185 | <primary sortas="b-bsdtar">bsdtar</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <varlistentry id="libarchive-lib">
|
---|
191 | <term><filename class="libraryfile">libarchive.so</filename></term>
|
---|
192 | <listitem>
|
---|
193 | <para>
|
---|
194 | is a library that can create and read several streaming
|
---|
195 | archive formats.
|
---|
196 | </para>
|
---|
197 | <indexterm zone="libarchive libarchive-lib">
|
---|
198 | <primary sortas="c-libarchive">libarchive.so</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | </variablelist>
|
---|
204 |
|
---|
205 | </sect2>
|
---|
206 |
|
---|
207 | </sect1>
|
---|