How to Install and Uninstall libnetcdf-c++4 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "libnetcdf-c++4" package

This guide covers the steps necessary to install libnetcdf-c++4 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libnetcdf-c++4

2. Uninstall "libnetcdf-c++4" package

Please follow the guidelines below to uninstall libnetcdf-c++4 on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove libnetcdf-c++4 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libnetcdf-c++4 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libnetcdf-c++4
Architecture: amd64
Version: 4.2-8
Priority: optional
Section: universe/libs
Source: netcdf-cxx-legacy
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 158
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libnetcdf13 (>= 3.6.1), libstdc++6 (>= 5.2)
Breaks: libnetcdfc++4 (<< 4.2-1~)
Replaces: libnetcdfc++4 (<< 4.2-1~)
Filename: pool/universe/n/netcdf-cxx-legacy/libnetcdf-c++4_4.2-8_amd64.deb
Size: 33312
MD5sum: 64daaf9612ea092e340616704b86e24a
SHA1: b3f9d452dc230cdf83b6ada478ba24f6912b8152
SHA256: 9114d0f93cb51c6df69b815b986e99ba06cf69706a65ac4a4269990b531815c5
Homepage: http://www.unidata.ucar.edu/software/netcdf/
Description: legacy NetCDF C++ interface
Description-md5: 4fd40bef958d42e2c8ba58b9b2299df1
Supported: 3y