source: postlfs/filesystems/parted.xml@ 6d62ba8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6d62ba8 was 6d62ba8, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to Git-1.9.1, unrar-5.1.1, harfbuzz-0.9.27, pango-1.36.3, librsvg-2.40.2, gtk+-2.24.23, guile-2.0.10, goffice-0.10.13 and gnumeric-1.12.13. Fix parted-3.1 to build with Readline-6.3. Thanks Armin K.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12880 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.4 KB
Line 
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 parted-download-http
8 "http://ftp.gnu.org/gnu/parted/parted-&parted-version;.tar.xz">
9 <!ENTITY parted-download-ftp " ">
10 <!ENTITY parted-md5sum "5d89d64d94bcfefa9ce8f59f4b81bdcb">
11 <!ENTITY parted-size "1.5 MB">
12 <!ENTITY parted-buildsize "38 MB">
13 <!ENTITY parted-time "0.5 SBU">
14]>
15
16<sect1 id="parted" xreflabel="parted-&parted-version;">
17 <?dbhtml filename="parted.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>parted-&parted-version;</title>
25
26 <indexterm zone="parted">
27 <primary sortas="a-parted">Parted</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to parted</title>
32
33 <para>
34 The <application>Parted</application> package is a disk partitioning and
35 partition resizing tool.
36 </para>
37
38 &lfs75_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&parted-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&parted-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &parted-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &parted-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &parted-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &parted-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Parted Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Recommended</bridgehead>
65 <para role="recommended">
66 <xref linkend="lvm2"/> (device-mapper, required if building
67 <application>udisks</application>)
68 </para>
69
70 <para condition="html" role="usernotes">
71 User Notes: <ulink url="&blfs-wiki;/parted"/>
72 </para>
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of parted</title>
77
78 <para>
79 Install <application>Parted</application> by running the following
80 commands:
81 </para>
82
83<screen><userinput>sed -i parted/ui.c \
84 -e "s:(CPPFunction\*) complete:(rl_completion_func_t\*) complete:" &amp;&amp;
85./configure --prefix=/usr --disable-static &amp;&amp;
86make &amp;&amp;
87
88make -C doc html &amp;&amp;
89makeinfo --html -o doc/html doc/parted.texi &amp;&amp;
90makeinfo --plaintext -o doc/parted.txt doc/parted.texi</userinput></screen>
91
92 <para>If you have <xref linkend="texlive"/> installed and wish to create
93 PDF and Postcript documentation issue the following commands:</para>
94
95<screen><userinput>texi2pdf -o doc/parted.pdf doc/parted.texi &amp;&amp;
96texi2dvi -o doc/parted.dvi doc/parted.texi &amp;&amp;
97dvips -o doc/parted.ps doc/parted.dvi</userinput></screen>
98
99 <para>
100 To test the results, issue: <command>make check</command>. Note that
101 many tests are skipped if not run as the <systemitem
102 class="username">root</systemitem> user.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install &amp;&amp;
110install -v -m755 -d /usr/share/doc/parted-&parted-version;/html &amp;&amp;
111install -v -m644 doc/html/* \
112 /usr/share/doc/parted-&parted-version;/html &amp;&amp;
113install -v -m644 doc/{FAT,API,parted.{txt,html}} \
114 /usr/share/doc/parted-&parted-version;</userinput></screen>
115
116 <para>Install the optional PDF and Postscript documentation by issuing
117 the following command as the <systemitem class="username">root</systemitem>
118 user:</para>
119
120<screen role="root"><userinput>install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \
121 /usr/share/doc/parted-&parted-version;</userinput></screen>
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <command>sed -i parted/ui.c ...</command>: This <command>sed</command>
129 fixes building with <application>Readline</application> 6.x (x>2).
130 </para>
131
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../../xincludes/static-libraries.xml"/>
134
135 <para>
136 <option>--disable-device-mapper</option>: This option disables device
137 mapper support. Add this parameter if you have not installed
138 <application>LVM2</application>.
139 </para>
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directory</segtitle>
149
150 <seglistitem>
151 <seg>
152 parted and
153 partprobe
154 </seg>
155 <seg>libparted.so</seg>
156 <seg>/usr/include/parted</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="parted-prog">
166 <term><command>parted</command></term>
167 <listitem>
168 <para>is a partition manipulation program.</para>
169 <indexterm zone="parted parted-prog">
170 <primary sortas="b-parted">parted</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="partprobe">
176 <term><command>partprobe</command></term>
177 <listitem>
178 <para>informs the OS of partition table changes.</para>
179 <indexterm zone="parted partprobe">
180 <primary sortas="b-partprobe">partprobe</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libparted">
186 <term><filename class='libraryfile'>libparted.so</filename></term>
187 <listitem>
188 <para>
189 contains the <application>Parted</application> API functions.
190 </para>
191 <indexterm zone="parted libparted">
192 <primary sortas="c-libparted">libparted.so</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196 </variablelist>
197 </sect2>
198</sect1>
Note: See TracBrowser for help on using the repository browser.