The Parted package is a disk partitioning and partition resizing tool.
This package is known to build and work properly using an LFS-7.5 platform.
Download (HTTP): http://ftp.gnu.org/gnu/parted/parted-3.1.tar.xz
Download MD5 sum: 5d89d64d94bcfefa9ce8f59f4b81bdcb
Download size: 1.5 MB
Estimated disk space required: 38 MB
Estimated build time: 0.5 SBU
LVM2-2.02.105 (device-mapper, required if building udisks)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/parted
Install Parted by running the following commands:
./configure --prefix=/usr --disable-static && make && make -C doc html && makeinfo --html -o doc/html doc/parted.texi && makeinfo --plaintext -o doc/parted.txt doc/parted.texi
If you have texlive-20130530 installed and wish to create PDF and Postcript documentation issue the following commands:
texi2pdf -o doc/parted.pdf doc/parted.texi && texi2dvi -o doc/parted.dvi doc/parted.texi && dvips -o doc/parted.ps doc/parted.dvi
To test the results, issue: make
check. Note that many tests are skipped if not run
as the root
user.
Now, as the root
user:
make install && install -v -m755 -d /usr/share/doc/parted-3.1/html && install -v -m644 doc/html/* \ /usr/share/doc/parted-3.1/html && install -v -m644 doc/{FAT,API,parted.{txt,html}} \ /usr/share/doc/parted-3.1
Install the optional PDF and Postscript documentation by issuing
the following command as the root
user:
install -v -m644 doc/FAT doc/API doc/parted.{pdf,ps,dvi} \ /usr/share/doc/parted-3.1
--disable-static
: This
switch prevents installation of static versions of the libraries.
--disable-device-mapper
: This option
disables device mapper support. Add this parameter if you have not
installed LVM2.
Last updated on 2014-02-22 18:30:29 -0800