If you want to compile it from sources, you will need to have the following libraries installed on your system, including their header files. On RPM based distributions, you often have to install packages such as libXXX-devel.rpm to have the header files, since the base package (libXXX.rpm) does not provide these files. Here are the required libraries:
- zlib (and zlib-devel)
- liblzo (and lzo-devel)
- lz4 (and lz4-devel)
- bzip2-libs (and bzip2-devel)
- libgcrypt (and libgcrypt-devel)
- libblkid (and libblkid-devel)
- e2fsprogs-libs (e2fsprogs-devel)
- xz-utils (and xz-devel)
If libraries or header files are missing: If you do not have the xz/liblzma or liblzo installed, you have the ability to compile fsarchiver with no support for lzma or lzo:
./configure --prefix=/usr --disable-lzma --disable-lzo && make && make install
You can also use the static that provides support for all the compression levels and which does not require the libraries to be installed on your system.
To compile the sources, you have to run follow these instructions:
download the latest sources
First, you have to download fsarchiver-0.8.3.tar.gz. Just save it to a temporary directory.
extract the sources in a temporary directory
mkdir -p /var/tmp/fsarchiver
tar xfz /path/to/fsarchiver-x.y.z.tar.gz
compile and install from sources
cd /var/tmp/fsarchiver/fsarchiver-x.y.z
./configure --prefix=/usr
make && make install