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 p7zip-download-http "&sourceforge-dl;/p7zip/p7zip_&p7zip-version;_src_all.tar.bz2">
|
---|
8 | <!ENTITY p7zip-download-ftp " ">
|
---|
9 | <!ENTITY p7zip-md5sum "a0128d661cfe7cc8c121e73519c54fbf">
|
---|
10 | <!ENTITY p7zip-size "4.0 MB">
|
---|
11 | <!ENTITY p7zip-buildsize "33 MB">
|
---|
12 | <!ENTITY p7zip-time "1.3 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="p7zip" xreflabel="p7zip-&p7zip-version;">
|
---|
16 | <?dbhtml filename="p7zip.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>p7zip-&p7zip-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="p7zip">
|
---|
26 | <primary sortas="a-p7zip">p7zip</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to p7zip</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>p7zip</application> is the Unix command-line port of 7-Zip, a
|
---|
34 | file archiver that archives with high compression ratios. It handles 7z,
|
---|
35 | ZIP, GZIP, BZIP2, XZ, TAR, APM, ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG,
|
---|
36 | FAT, HFS, ISO, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS, NTFS, RAR RPM,
|
---|
37 | SquashFS, UDF, VHD, WIM, XAR and Z formats.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs91_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&p7zip-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&p7zip-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &p7zip-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &p7zip-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &p7zip-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &p7zip-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
77 | <itemizedlist spacing='compact'>
|
---|
78 | <listitem>
|
---|
79 | <para>Required patch: <ulink
|
---|
80 | url="&patch-root;/p7zip-&p7zip-version;-consolidated_fixes-1.patch"/></para>
|
---|
81 | </listitem>
|
---|
82 | </itemizedlist>
|
---|
83 |
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect3">p7zip Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <ulink url="http://www.wxwidgets.org/">wxWidgets</ulink>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para condition="html" role="usernotes">User Notes:
|
---|
93 | <ulink url="&blfs-wiki;/p7zip"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of p7zip</title>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | First, update the package for gcc10 and some security issues:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>patch -Np1 -i ../p7zip-&p7zip-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | Install <application>p7zip</application> by running the following
|
---|
109 | commands:
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <screen><userinput>make all3</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | To test the results, issue: <command>make test</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <!-- dev note: make DEST_DIR=<DESTDIR> install -->
|
---|
123 |
|
---|
124 | <screen role="root"><userinput>make DEST_HOME=/usr \
|
---|
125 | DEST_MAN=/usr/share/man \
|
---|
126 | DEST_SHARE_DOC=/usr/share/doc/p7zip-&p7zip-version; install</userinput></screen>
|
---|
127 |
|
---|
128 | <note>
|
---|
129 | <para>
|
---|
130 | If using DESTDIR techniques, use DEST_DIR instead.
|
---|
131 | </para>
|
---|
132 | </note>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="content">
|
---|
137 | <title>Contents</title>
|
---|
138 |
|
---|
139 | <segmentedlist>
|
---|
140 | <segtitle>Installed Programs</segtitle>
|
---|
141 | <segtitle>Installed Libraries</segtitle>
|
---|
142 | <segtitle>Installed Directory</segtitle>
|
---|
143 |
|
---|
144 | <seglistitem>
|
---|
145 | <seg>
|
---|
146 | 7z, 7za, and 7zr
|
---|
147 | </seg>
|
---|
148 | <seg>
|
---|
149 | None
|
---|
150 | </seg>
|
---|
151 | <seg>
|
---|
152 | /usr/lib/p7zip and /usr/share/doc/p7zip-&p7zip-version;
|
---|
153 | </seg>
|
---|
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 |
|
---|
162 | <varlistentry id="Sevenz">
|
---|
163 | <term><command>7z</command></term>
|
---|
164 | <listitem>
|
---|
165 | <para>
|
---|
166 | is a file archiver utility.
|
---|
167 | </para>
|
---|
168 | <indexterm zone="p7zip Sevenz">
|
---|
169 | <primary sortas="b-7z">7z</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="Sevenza">
|
---|
175 | <term><command>7za</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>
|
---|
178 | is a stand-alone executable handling less archive formats than
|
---|
179 | <command>7z</command>.
|
---|
180 | </para>
|
---|
181 | <indexterm zone="p7zip Sevenza">
|
---|
182 | <primary sortas="b-7za">7za</primary>
|
---|
183 | </indexterm>
|
---|
184 | </listitem>
|
---|
185 | </varlistentry>
|
---|
186 |
|
---|
187 | <varlistentry id="Sevenzr">
|
---|
188 | <term><command>7zr</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>
|
---|
191 | is a minimal version of <command>7za</command> that handles only
|
---|
192 | 7z archives.
|
---|
193 | </para>
|
---|
194 | <indexterm zone="p7zip Sevenzr">
|
---|
195 | <primary sortas="b-7zr">7zr</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | </variablelist>
|
---|
201 |
|
---|
202 | </sect2>
|
---|
203 |
|
---|
204 | </sect1>
|
---|