source: general/genlib/libarchive.xml@ 9106fcb

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 9106fcb was d0c42be, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Initial tags for 11.3

  • Property mode set to 100644
File size: 6.5 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 " ">
[cbc4893]9 <!ENTITY libarchive-md5sum "72cbb3c085624c825f627bfc8f52ce53">
10 <!ENTITY libarchive-size "4.9 MB">
[cc519e4]11 <!ENTITY libarchive-buildsize "41 MB (add 29 MB for tests)">
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
[d0c42be]33 &lfs113_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
90 <para condition="html" role="usernotes">User 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
[54d58907]98<!-- no longer required in 3.6.2.
[eeaa41b7]99 <para>
[59f9007]100 First, adapt the package to changes in glibc-2.36:
[eeaa41b7]101 </para>
102
[59f9007]103<screen><userinput remap="pre">sed '/linux\/fs\.h/d' -i libarchive/archive_read_disk_posix.c</userinput></screen>
[e9bd756]104-->
[a168f375]105
[5b38e37]106 <para>
107 Install <application>libarchive</application> by running the following
108 commands:
109 </para>
[57f7cfa]110
[4dd2e4c]111<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[57f7cfa]112make</userinput></screen>
113
[5b38e37]114 <para>
[d2812732]115 To test the results, issue: <command>LC_ALL=C make check</command>.
[5b38e37]116 </para>
[b88be39]117
[5b38e37]118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
[57f7cfa]121
122<screen role="root"><userinput>make install</userinput></screen>
123
[cbc4893]124 <para>
125 Remove an invalid entry in <filename>/usr/lib/pkgconfig/libarchive.pc</filename>:
126 </para>
127
128<screen role="root"><userinput>sed -i "s/iconv //" /usr/lib/pkgconfig/libarchive.pc</userinput></screen>
129
[40a4d44]130 </sect2>
[0d7900a]131
[5b38e37]132 <sect2 role="commands">
[40a4d44]133 <title>Command Explanations</title>
134
[5b38e37]135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../../xincludes/static-libraries.xml"/>
[40a4d44]137
[9efe5ae]138 <para>
139 <option>--without-xml2</option>: This switch sets expat for xar archive
140 format support instead of preferred libxml2 if both packages are installed.
141 </para>
142
143 <para>
144 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
145 support instead of preferred Nettle if both packages are installed.
146 </para>
147
[57f7cfa]148 </sect2>
149
150 <sect2 role="content">
151 <title>Contents</title>
152
153 <segmentedlist>
[fd27868]154 <segtitle>Installed Programs</segtitle>
[40a4d44]155 <segtitle>Installed Libraries</segtitle>
[fd27868]156 <segtitle>Installed Directories</segtitle>
[57f7cfa]157
158 <seglistitem>
[5b38e37]159 <seg>
[fdbead3]160 bsdcat, bsdcpio, and bsdtar
[5b38e37]161 </seg>
162 <seg>
163 libarchive.so
164 </seg>
165 <seg>
166 None
167 </seg>
[57f7cfa]168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
[fdbead3]176 <varlistentry id="bsdcat">
177 <term><command>bsdcat</command></term>
178 <listitem>
179 <para>
[4c24eb0a]180 expands files to standard output
[fdbead3]181 </para>
182 <indexterm zone="libarchive bsdcat">
183 <primary sortas="b-bsdcat">bsdcat</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
[57f7cfa]188 <varlistentry id="bsdcpio">
189 <term><command>bsdcpio</command></term>
190 <listitem>
[5b38e37]191 <para>
[4c24eb0a]192 is a tool similar to <command>cpio</command>
[5b38e37]193 </para>
[57f7cfa]194 <indexterm zone="libarchive bsdcpio">
195 <primary sortas="b-bsdcpio">bsdcpio</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
[40a4d44]200 <varlistentry id="bsdtar">
201 <term><command>bsdtar</command></term>
202 <listitem>
[5b38e37]203 <para>
[4c24eb0a]204 is a tool similar to GNU <command>tar</command>
[5b38e37]205 </para>
[40a4d44]206 <indexterm zone="libarchive bsdtar">
207 <primary sortas="b-bsdtar">bsdtar</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
[0d7900a]211
[5b38e37]212 <varlistentry id="libarchive-lib">
213 <term><filename class="libraryfile">libarchive.so</filename></term>
214 <listitem>
215 <para>
216 is a library that can create and read several streaming
[4c24eb0a]217 archive formats
[5b38e37]218 </para>
219 <indexterm zone="libarchive libarchive-lib">
220 <primary sortas="c-libarchive">libarchive.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
[57f7cfa]225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.