Ubuntu Build: Libnettle 2.1 vs Libnettle 3

Simon Josefsson simon at josefsson.org
Wed Nov 17 15:25:43 CET 2010

Brad Hards <bradh at frogmouth.net> writes:

> On Wednesday, November 17, 2010 08:59:06 pm Jeffrey Walton wrote:
>> $ apt-cache pkgnames | grep nettle
>> libnettle1
>> libnettle3
>> nettle-bin
>> nettle-dbg
>> nettle-dev
>> libnettle-dev
>> $ sudo apt-get install libnettle3
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> libnettle3 is already the newest version.
> This is nothing to do with gnutls. Debian (and derivatives, such as Ubuntu) 
> name packages according to convention. You can find this convention if you 
> search for it, but the important part here is that if you want to compile 
> something, you want the -dev variant.
> That is, install libnettle-dev.

Note that libnettle3 is version 2.0 on at least debian squeeze:

jas at latte:~$ apt-cache show libnettle3|grep Version
Version: 2.0-2
jas at latte:~$ 

The 3 in libnettle3 is the ABI version, not the release version.


More information about the Gnutls-devel mailing list