source: general/genlib/libarchive.xml@ 07efc98

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 07efc98 was ed345e7, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Tags

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