This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Good day, could you help me how to install two different versions of netcdf > in the same computer on linux plataform? > > Version 3.6.3 and 4.1.1 you would have to install the different versions in different root directories, using different --prefix=... options when configuring the software as the first step in building it. For example, you might use ./configure --prefix=/usr/netcdf3 other-options ... for the 3.6.3 version and ./configure --prefix=/usr/netcdf4 other-options ... for the 4.1.1 version. But netCDF-4 is compatible with netCDF-3. It supports the netCDF-3 formats for both reading and writing, and includes all the netCDF-3 function calls in a backward-compatible way. So nay program that works with netCDF-3 should work in exactly the same way (except for some fixed bugs) using netCDF-4. So you should not have to install two different versions of the library. Is there a reason you need both the old version and the new version that compatibly extends the old version? --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: YBC-350032 Department: Support netCDF Priority: Normal Status: Closed