Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (29 sloc) 2.41 KB
Recommended Compilation Directions
Basically, you'll need a working toolchain, nettle, and libarchive >= 3.0.3 (with gzip support).
If you don't want to bother, static binaries are available:
here for the latest releases:
and here for the latest development snapshots, which are most likely the builds you'll be interested in:
To compile for Linux:
1) Install the required (development) dependencies in the appropriate manner for your distro (i.e., use your PMS).
1.5) For Debian/Ubuntu people: You'll need zlib1g-dev, libarchive-dev and nettle-dev
1.5) For Fedora people: You'll need zlib-devel, libarchive-devel and nettle-devel
1.5) For OpenSuse people: You'll need zlib-devel, libarchive-devel and libnettle-devel
2) Compile using "make" in the tool's directory
3) If you want to install it in /usr/local, run "make install". (I'd recommend using this through the checkinstall tool on Debian/Ubuntu).
2.5) If GCC throws a fit about libarchive, or if it fails to link with a bunch of undefined references to archive_* symbols, your libarchive version is too old.
You'll have to build it manually (get the latest 3.x release from
See for more details. Or try using the script in the tools folder.
Fellow Gentoo users, there's a portage overlay over on, enjoy ;).
To compile for OSX:
1) If you're using Homebrew, see
To compile for Windows:
1) Get Cygwin
2) Install the required packages for a proper toolchain (gcc4, binutils, autoconf, automake, libtool, make, ...)
3) Install the packages: zlib / zlib-devel, libarchive13 / libarchive-devel, libnettle4 / libnettle-devel, git, cmake, patch, pkg-config, libxml2-devel
5) Compile using "make" in the tool's directory
6) Install it by running "make install"
BIS) Alternatively, you can also build a native version with a MinGW or MinGW-w64 toolchain.
On a native MinGW+MSYS toolchain, you'll probably have to tweak the Makefile, but it should handle a Linux cross toolchain properly with the mingw target ;).
Check the tools/mingw directory for more details.
If you need more complex examples, the various scripts found in the tools directory are what I personally use.
Something went wrong with that request. Please try again.