Skip to content
Robert Scheck edited this page Aug 13, 2017 · 1 revision

CentOS 7 with docker

some basic develop package for develop and compile:

yum update
yum install gcc glibc glibc-common 
yum install libuuid-devel
yum grouplist
yum groupinstall "development tools"
yum install rpm-build

for dependence libraries

yum install ncurses-devel ncurses-libs
yum install e2fsprogs-devel
yum install libblkid-devel
yum install fuse

some package need enable EPEL repository

su -c 'rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm'
yum install ntfs-3g-devel

compile

now, we can build partclone with standard way.

./configure --enable-extfs --enable-minix --enable-btrfs --enable-f2fs --enable-exfat --enable-ntfs --enable-ncursesw
make
make install

some features still missing: reiserfs, reiser4, ufs, jfs, vmfs, hfs+, and xfs.

for 2 tests

yum install mlocate e2fsprogs

and run tests

tests/mini_clone_restore_test
tests/ncuresew.test
Clone this wiki locally