To get the standard command-line tools (like ncdump and ncgen ) and the C library, run: sudo apt install netcdf-bin libnetcdf-dev Use code with caution.
Ensure you have prerequisites like zlib and HDF5 installed first. ./configure --prefix=/usr/local make sudo make install Use code with caution. Essential Post-Installation Tools netcdf download ubuntu
Once NetCDF is installed, many researchers also download these common utilities for data processing and visualization: How to install netcdf-fortran on Ubuntu - Stack Overflow To get the standard command-line tools (like ncdump
If you are developing in Fortran, C++, or R, you will need these additional packages: Fortran: sudo apt install libnetcdff-dev C++: sudo apt install libnetcdf-c++4-dev R: sudo apt install r-cran-ncdf4 Advanced Install: Parallel NetCDF (MPI) netcdf download ubuntu