nettle: Installation
1
1 8 Installation
1 **************
1
1 Nettle uses ‘autoconf’. To build it, unpack the source and run
1
1 ./configure
1 make
1 make check
1 make install
1
1 to install it under the default prefix, ‘/usr/local’. Using GNU make is
1 strongly recommended. By default, both static and shared libraries are
1 built and installed.
1
1 To get a list of configure options, use ‘./configure --help’. Some
1 of the more interesting are:
1
1 ‘--enable-fat’
1 Include multiple versions of certain functions in the library, and
1 select the ones to use at run-time, depending on available
1 processor features. Supported for ARM and x86_64.
1
1 ‘--enable-mini-gmp’
1 Use the smaller and slower “mini-gmp” implementation of the bignum
1 functions needed for public-key cryptography, instead of the real
1 GNU GMP library. This option is intended primarily for smaller
1 embedded systems. Note that builds using mini-gmp are *not* binary
1 compatible with regular builds of Nettle, and more likely to leak
1 side-channel information.
1
1 ‘--disable-shared’
1 Omit building the shared libraries.
1
1 ‘--disable-dependency-tracking’
1 Disable the automatic dependency tracking. You will likely need
1 this option to be able to build with BSD make.
1