Under a Linux RedHat, you need to install
rpm -Uvh ncurses-*.rpm ncurses-devel-*.rpm e2fsprogs-*.rpm e2fsprogs-devel-*.rpm
To use all TestDisk functionnalities, you have to compile Reiserfs and NTFS libraries.
To install TestDisk rpm, run
rpm -Uvh testdisk-*.i386.rpm
If it doesn't work, you may have to rebuild the RPM for your distribution using
rpmbuild --recompile testdisk-5.2-1.src.rpm
Under Debian, install
They can be installed via apt-get.
Back to TestDisk compilation