[57f7cfa] | 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 |
|
---|
[5b38e37] | 7 | <!ENTITY libarchive-download-http "http://www.libarchive.org/downloads/libarchive-&libarchive-version;.tar.gz">
|
---|
[57f7cfa] | 8 | <!ENTITY libarchive-download-ftp " ">
|
---|
[5b38e37] | 9 | <!ENTITY libarchive-md5sum "efad5a503f66329bb9d2f4308b5de98a">
|
---|
| 10 | <!ENTITY libarchive-size "4.4 MB">
|
---|
| 11 | <!ENTITY libarchive-buildsize "60 MB">
|
---|
[40a4d44] | 12 | <!ENTITY libarchive-time "0.5 SBU">
|
---|
[57f7cfa] | 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 |
|
---|
[5b38e37] | 32 | <para>
|
---|
| 33 | The <application>libarchive</application> library provides a single
|
---|
| 34 | interface for reading/writing various compression formats.
|
---|
| 35 | </para>
|
---|
[57f7cfa] | 36 |
|
---|
[7bb72e0] | 37 | &lfs74_checked;
|
---|
[57f7cfa] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[5b38e37] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libarchive-download-http;"/>
|
---|
| 44 | </para>
|
---|
[57f7cfa] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[5b38e37] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libarchive-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[57f7cfa] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[5b38e37] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &libarchive-md5sum;
|
---|
| 54 | </para>
|
---|
[57f7cfa] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[5b38e37] | 57 | <para>
|
---|
| 58 | Download size: &libarchive-size;
|
---|
| 59 | </para>
|
---|
[57f7cfa] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[5b38e37] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &libarchive-buildsize;
|
---|
| 64 | </para>
|
---|
[57f7cfa] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[5b38e37] | 67 | <para>
|
---|
| 68 | Estimated build time: &libarchive-time;
|
---|
| 69 | </para>
|
---|
[57f7cfa] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[af822af] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
[5b38e37] | 77 | <xref linkend="acl"/>,
|
---|
[3bbfe77b] | 78 | <xref linkend="attr"/>,
|
---|
[5b38e37] | 79 | <xref linkend="libxml2"/> or
|
---|
| 80 | <xref linkend="expat"/>,
|
---|
| 81 | <xref linkend="LZO"/>,
|
---|
| 82 | <xref linkend="nettle"/> and
|
---|
| 83 | <xref linkend="openssl"/>
|
---|
[57f7cfa] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">User Notes:
|
---|
[5b38e37] | 87 | <ulink url="&blfs-wiki;/libarchive"/>
|
---|
| 88 | </para>
|
---|
[57f7cfa] | 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of libarchive</title>
|
---|
| 93 |
|
---|
[5b38e37] | 94 | <para>
|
---|
| 95 | Install <application>libarchive</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
[57f7cfa] | 98 |
|
---|
[5b38e37] | 99 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[57f7cfa] | 100 | make</userinput></screen>
|
---|
| 101 |
|
---|
[5b38e37] | 102 | <para>
|
---|
| 103 | To test the results, issue: <userinput>make check</userinput>.
|
---|
| 104 | </para>
|
---|
[b88be39] | 105 |
|
---|
[5b38e37] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[57f7cfa] | 109 |
|
---|
| 110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 111 |
|
---|
[40a4d44] | 112 | </sect2>
|
---|
[0d7900a] | 113 |
|
---|
[5b38e37] | 114 | <sect2 role="commands">
|
---|
[40a4d44] | 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
[5b38e37] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 118 | href="../../xincludes/static-libraries.xml"/>
|
---|
[40a4d44] | 119 |
|
---|
[57f7cfa] | 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="content">
|
---|
| 123 | <title>Contents</title>
|
---|
| 124 |
|
---|
| 125 | <segmentedlist>
|
---|
[fd27868] | 126 | <segtitle>Installed Programs</segtitle>
|
---|
[40a4d44] | 127 | <segtitle>Installed Libraries</segtitle>
|
---|
[fd27868] | 128 | <segtitle>Installed Directories</segtitle>
|
---|
[57f7cfa] | 129 |
|
---|
| 130 | <seglistitem>
|
---|
[5b38e37] | 131 | <seg>
|
---|
| 132 | bsdcpio and bsdtar
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | libarchive.so
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | None
|
---|
| 139 | </seg>
|
---|
[57f7cfa] | 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="bsdcpio">
|
---|
| 149 | <term><command>bsdcpio</command></term>
|
---|
| 150 | <listitem>
|
---|
[5b38e37] | 151 | <para>
|
---|
| 152 | is a tool similar to <command>cpio</command>.
|
---|
| 153 | </para>
|
---|
[57f7cfa] | 154 | <indexterm zone="libarchive bsdcpio">
|
---|
| 155 | <primary sortas="b-bsdcpio">bsdcpio</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
[40a4d44] | 160 | <varlistentry id="bsdtar">
|
---|
| 161 | <term><command>bsdtar</command></term>
|
---|
| 162 | <listitem>
|
---|
[5b38e37] | 163 | <para>
|
---|
| 164 | is a tool similar to GNU <command>tar</command>.
|
---|
| 165 | </para>
|
---|
[40a4d44] | 166 | <indexterm zone="libarchive bsdtar">
|
---|
| 167 | <primary sortas="b-bsdtar">bsdtar</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
[0d7900a] | 171 |
|
---|
[5b38e37] | 172 | <varlistentry id="libarchive-lib">
|
---|
| 173 | <term><filename class="libraryfile">libarchive.so</filename></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>
|
---|
| 176 | is a library that can create and read several streaming
|
---|
| 177 | archive formats.
|
---|
| 178 | </para>
|
---|
| 179 | <indexterm zone="libarchive libarchive-lib">
|
---|
| 180 | <primary sortas="c-libarchive">libarchive.so</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[57f7cfa] | 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|