How to Install and Uninstall libg2c-dev Package on Debian 12 (Bookworm)

Last updated: January 10,2025

1. Install "libg2c-dev" package

This tutorial shows how to install libg2c-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libg2c-dev

2. Uninstall "libg2c-dev" package

Please follow the instructions below to uninstall libg2c-dev on Debian 12 (Bookworm):

$ sudo apt remove libg2c-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libg2c-dev package on Debian 12 (Bookworm)

Package: libg2c-dev
Source: g2clib
Version: 1.7.0-3
Installed-Size: 334
Maintainer: Alastair McKinstry
Architecture: amd64
Replaces: libgrib2c-dev
Depends: libg2c0d (= 1.7.0-3)
Recommends: pkg-config
Breaks: libgrib2c-dev
Description: NCEP GRIB2 library - development files
Description-md5: fcaacce425f1dfb95bd7c312d93f7654
Multi-Arch: same
Homepage: https://github.com/NOAA-EMC/NCEPLIBS-g2c
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/g/g2clib/libg2c-dev_1.7.0-3_amd64.deb
Size: 46964
MD5sum: 6c0597ccc9f47384287a6f8c200fb1d9
SHA256: 348c84d8f4e5b029475d2f593fdea4588ba986e1104292fcbaca6691d3b637d7