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 "https://github.com/jinfeihan57/p7zip/archive/v&p7zip-version;/p7zip-&p7zip-version;.tar.gz">
|
---|
8 | <!ENTITY p7zip-download-ftp " ">
|
---|
9 | <!ENTITY p7zip-md5sum "fd7e6b082db89edfc047c1ce2d810850">
|
---|
10 | <!ENTITY p7zip-size "6.2 MB">
|
---|
11 | <!ENTITY p7zip-buildsize "66 MB">
|
---|
12 | <!ENTITY p7zip-time "2.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, Brotli, BZIP2, XZ, TAR, APM, ARJ, CAB, CHM, CPIO, CramFS, DEB,
|
---|
36 | DMG, FAT, HFS, ISO, Lizard, LZ5, LZFSE, LZH, LZMA, LZMA2, MBR, MSI, MSLZ,
|
---|
37 | NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z, and Zstd formats.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs10_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 | <!-- Applied in 17.03
|
---|
77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
78 | <itemizedlist spacing='compact'>
|
---|
79 | <listitem>
|
---|
80 | <para>Required patch: <ulink
|
---|
81 | url="&patch-root;/p7zip-&p7zip-version;-consolidated_fixes-1.patch"/></para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 | -->
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">p7zip Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
89 | <para role="optional">
|
---|
90 | <ulink url="http://www.wxwidgets.org/">wxWidgets</ulink>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">User Notes:
|
---|
94 | <ulink url="&blfs-wiki;/p7zip"/>
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="installation">
|
---|
100 | <title>Installation of p7zip</title>
|
---|
101 |
|
---|
102 | <!-- Applied in 17.03
|
---|
103 | <para>
|
---|
104 | First, update the package for gcc10 and some security issues:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>patch -Np1 -i ../p7zip-&p7zip-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
108 | -->
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Install <application>p7zip</application> by running the following
|
---|
112 | commands:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen><userinput>make all3</userinput></screen>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | To test the results, issue: <command>make test</command>.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <!-- dev note: make DEST_DIR=<DESTDIR> install -->
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make DEST_HOME=/usr \
|
---|
128 | DEST_MAN=/usr/share/man \
|
---|
129 | DEST_SHARE_DOC=/usr/share/doc/p7zip-&p7zip-version; install</userinput></screen>
|
---|
130 |
|
---|
131 | <note>
|
---|
132 | <para>
|
---|
133 | If using DESTDIR techniques, use DEST_DIR instead.
|
---|
134 | </para>
|
---|
135 | </note>
|
---|
136 |
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | <sect2 role="content">
|
---|
140 | <title>Contents</title>
|
---|
141 |
|
---|
142 | <segmentedlist>
|
---|
143 | <segtitle>Installed Programs</segtitle>
|
---|
144 | <segtitle>Installed Libraries</segtitle>
|
---|
145 | <segtitle>Installed Directory</segtitle>
|
---|
146 |
|
---|
147 | <seglistitem>
|
---|
148 | <seg>
|
---|
149 | 7z, 7za, and 7zr
|
---|
150 | </seg>
|
---|
151 | <seg>
|
---|
152 | None
|
---|
153 | </seg>
|
---|
154 | <seg>
|
---|
155 | /usr/lib/p7zip and /usr/share/doc/p7zip-&p7zip-version;
|
---|
156 | </seg>
|
---|
157 | </seglistitem>
|
---|
158 | </segmentedlist>
|
---|
159 |
|
---|
160 | <variablelist>
|
---|
161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
162 | <?dbfo list-presentation="list"?>
|
---|
163 | <?dbhtml list-presentation="table"?>
|
---|
164 |
|
---|
165 | <varlistentry id="Sevenz">
|
---|
166 | <term><command>7z</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | is a file archiver utility.
|
---|
170 | </para>
|
---|
171 | <indexterm zone="p7zip Sevenz">
|
---|
172 | <primary sortas="b-7z">7z</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="Sevenza">
|
---|
178 | <term><command>7za</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>
|
---|
181 | is a stand-alone executable handling less archive formats than
|
---|
182 | <command>7z</command>.
|
---|
183 | </para>
|
---|
184 | <indexterm zone="p7zip Sevenza">
|
---|
185 | <primary sortas="b-7za">7za</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <varlistentry id="Sevenzr">
|
---|
191 | <term><command>7zr</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>
|
---|
194 | is a minimal version of <command>7za</command> that handles only
|
---|
195 | 7z archives.
|
---|
196 | </para>
|
---|
197 | <indexterm zone="p7zip Sevenzr">
|
---|
198 | <primary sortas="b-7zr">7zr</primary>
|
---|
199 | </indexterm>
|
---|
200 | </listitem>
|
---|
201 | </varlistentry>
|
---|
202 |
|
---|
203 | </variablelist>
|
---|
204 |
|
---|
205 | </sect2>
|
---|
206 |
|
---|
207 | </sect1>
|
---|