Re: [R] installing ncdf on Ubuntu 10.04

From: Thomas Lumley <>
Date: Mon, 04 Apr 2011 09:02:02 +1200

On Mon, Apr 4, 2011 at 6:35 AM, Steve Friedman <> wrote:
> Hello
> I'm trying to install the "ncdf" package on a Ubuntu 10.04 laptop.
> Can you offer suggestions to install this package?


> checking for netcdf.h... no
> configure: error: netcdf header netcdf.h not found
> ERROR: configuration failed for package ‘ncdf’
> * removing ‘/home/steve/R/i486-pc-linux-gnu-library/2.12/ncdf’

Looks like you need the netCDF libraries. suggests that you need both the binary and a -dev package with headers.

The ncdf binaries on Windows and Mac have been specially built to include the netCDF libraries, but the source package doesn't include them.


Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 03 Apr 2011 - 21:05:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 03 Apr 2011 - 21:10:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive