Compile Linux - CGSecurity
Keywords: Compile Linux,Compilar Linux,Compilation sous Linux,Linux kompilieren,TestDisk Compilation

# Compile Linux

### From CGSecurity

english version deutsche Version versión español version française

## Fedora, RedHat Enterprise, CentOS

- RedHat 9: `rpm -Uvh ncurses-devel*.rpm ncurses-devel*.rpm e2fsprogs-devel libjpeg-devel*.rpm openssl-devel-*.rpm zlib-devel-*.rpm`
- Fedora Core 3: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel`
- Fedora Core 4: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel`
- Fedora Core 5: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-devel`
- Fedora Core 6: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-devel`
- Fedora 7: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-devel libewf-devel`
- Fedora 8: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-devel libewf-devel`
- Fedora 9: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-devel libewf-devel`
- RHEL 4: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel`
- RHEL 5: `yum install ncurses-devel e2fsprogs-devel libjpeg-devel openssl-devel zlib-devel ntfsprogs-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`

## 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

Category: Data Recovery

##### Data Recovery

- TestDisk
- PhotoRec
- download