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 "efad5a503f66329bb9d2f4308b5de98a">
|
---|
10 | <!ENTITY libarchive-size "4.4 MB">
|
---|
11 | <!ENTITY libarchive-buildsize "60 MB">
|
---|
12 | <!ENTITY libarchive-time "0.5 SBU">
|
---|
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 | &lfs77_checked; &gcc5_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"/> or
|
---|
80 | <xref linkend="openssl"/>
|
---|
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 &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>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 | 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="bsdcpio">
|
---|
156 | <term><command>bsdcpio</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>
|
---|
159 | is a tool similar to <command>cpio</command>.
|
---|
160 | </para>
|
---|
161 | <indexterm zone="libarchive bsdcpio">
|
---|
162 | <primary sortas="b-bsdcpio">bsdcpio</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="bsdtar">
|
---|
168 | <term><command>bsdtar</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | is a tool similar to GNU <command>tar</command>.
|
---|
172 | </para>
|
---|
173 | <indexterm zone="libarchive bsdtar">
|
---|
174 | <primary sortas="b-bsdtar">bsdtar</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="libarchive-lib">
|
---|
180 | <term><filename class="libraryfile">libarchive.so</filename></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | is a library that can create and read several streaming
|
---|
184 | archive formats.
|
---|
185 | </para>
|
---|
186 | <indexterm zone="libarchive libarchive-lib">
|
---|
187 | <primary sortas="c-libarchive">libarchive.so</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | </variablelist>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | </sect1>
|
---|