Compile Linux

From CGSecurity
Jump to navigation Jump to search

En.png English De.png Deutsch Es.png Español Fr.png Français It.png Italiano


Fedora, RedHat Enterprise, CentOS

  • RHEL/CentOS 5: yum install buildsys-build e2fsprogs-devel libjpeg-devel ncurses-devel ntfs-3g-devel zlib-devel
  • RHEL/CentOS 6 or later: yum install @buildsys-build desktop-file-utils e2fsprogs-devel libewf-devel libjpeg-devel libuuid-devel ncurses-devel ntfs-3g-devel qt-devel zlib-devel
  • Fedora: dnf install @buildsys-build desktop-file-utils e2fsprogs-devel libewf-devel libjpeg-devel libuuid-devel ncurses-devel ntfs-3g-devel qt-devel zlib-devel

Packages not available need to be compiled for a full feature version.

Mandriva

urpmi ncurses-devel e2fsprogs-devel jpeg-devel libntfs-devel openssl-devel zlib-devel libewf-devel

Mageia (The fork of Mandriva)

urpmi libncurses-devel e2fsprogs-devel libjpeg-devel ntfs-3g-devel openssl-devel libzlib-devel libuuid-devel libewf-devel

OpenSuse

  • OpenSuse 9.x: ncurses-devel e2fsprogs-devel libjpeg-devel ntfsprogs-devel zlib-devel openssl-devel libreiserfs libuuid-devel
  • OpenSuse 10.x: ncurses-devel e2fsprogs-devel libjpeg-devel ntfsprogs-devel zlib-devel openssl-devel libreiserfs-devel libuuid-devel

Linux distribution using RPM

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

Debian, Ubuntu

apt-get install build-essential e2fslibs-dev libncurses5-dev libncursesw5-dev libntfs-dev libjpeg62-dev libreiserfs0.3-dev uuid-dev zlib1g-dev

Back to TestDisk compilation