[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 |
|
---|
[c50cc901] | 7 | <!ENTITY libarchive-download-http "http://github.com/downloads/libarchive/libarchive/libarchive-&libarchive-version;.tar.gz">
|
---|
[57f7cfa] | 8 | <!ENTITY libarchive-download-ftp " ">
|
---|
[c50cc901] | 9 | <!ENTITY libarchive-md5sum "af443ca9a10ddbcbf00f7ae34ca7fc16">
|
---|
| 10 | <!ENTITY libarchive-size "3.5 MB">
|
---|
| 11 | <!ENTITY libarchive-buildsize "39 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 |
|
---|
| 32 | <para>The <application>libarchive</application> library provides a single interface for
|
---|
[af822af] | 33 | reading/writing various compression formats.</para>
|
---|
[57f7cfa] | 34 |
|
---|
[40a4d44] | 35 | &lfs71_checked;
|
---|
[57f7cfa] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&libarchive-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&libarchive-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &libarchive-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &libarchive-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &libarchive-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &libarchive-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <!--
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing='compact'>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
| 64 | url="&patch-root;/libarchive-&libarchive-version;-fixes-1.patch"/></para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | -->
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[af822af] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional">
|
---|
[40a4d44] | 73 | <xref linkend="libxml2"/> or
|
---|
| 74 | <xref linkend="expat"/>,
|
---|
| 75 | <xref linkend="openssl"/>,
|
---|
| 76 | <xref linkend="nettle"/> and
|
---|
| 77 | <xref linkend="acl"/>
|
---|
[57f7cfa] | 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/libarchive"/></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of libarchive</title>
|
---|
| 87 |
|
---|
| 88 | <para>Install <application>libarchive</application> by running the following
|
---|
| 89 | commands:</para>
|
---|
| 90 |
|
---|
[40a4d44] | 91 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 92 | --disable-static &&
|
---|
[57f7cfa] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
[b88be39] | 95 | <para>To test the results, issue: <userinput>make check</userinput>.</para>
|
---|
| 96 |
|
---|
[57f7cfa] | 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 100 |
|
---|
[40a4d44] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
| 106 | <para><option>--disable-static</option>: This option prevents building the
|
---|
| 107 | static archive versions of the libraries.</para>
|
---|
| 108 |
|
---|
[57f7cfa] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
[fd27868] | 115 | <segtitle>Installed Programs</segtitle>
|
---|
[40a4d44] | 116 | <segtitle>Installed Libraries</segtitle>
|
---|
[fd27868] | 117 | <segtitle>Installed Directories</segtitle>
|
---|
[57f7cfa] | 118 |
|
---|
| 119 | <seglistitem>
|
---|
[40a4d44] | 120 | <seg>bsdcpio and bsdtar</seg>
|
---|
| 121 | <seg>libarchive.so</seg>
|
---|
| 122 | <seg>none</seg>
|
---|
[57f7cfa] | 123 | </seglistitem>
|
---|
| 124 | </segmentedlist>
|
---|
| 125 |
|
---|
| 126 | <variablelist>
|
---|
| 127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 128 | <?dbfo list-presentation="list"?>
|
---|
| 129 | <?dbhtml list-presentation="table"?>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="bsdcpio">
|
---|
| 132 | <term><command>bsdcpio</command></term>
|
---|
| 133 | <listitem>
|
---|
[fd27868] | 134 | <para>is a tool similar to <command>cpio</command>.</para>
|
---|
[57f7cfa] | 135 | <indexterm zone="libarchive bsdcpio">
|
---|
| 136 | <primary sortas="b-bsdcpio">bsdcpio</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
[40a4d44] | 141 |
|
---|
| 142 | <varlistentry id="bsdtar">
|
---|
| 143 | <term><command>bsdtar</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>is a tool similar to GNU <command>tar</command>.</para>
|
---|
| 146 | <indexterm zone="libarchive bsdtar">
|
---|
| 147 | <primary sortas="b-bsdtar">bsdtar</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
[57f7cfa] | 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | </sect1>
|
---|