How to Install and Uninstall libcoap2 Package on Debian 11 (Bullseye)

Last updated: May 08,2024

1. Install "libcoap2" package

This guide covers the steps necessary to install libcoap2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libcoap2

2. Uninstall "libcoap2" package

Please follow the guidance below to uninstall libcoap2 on Debian 11 (Bullseye):

$ sudo apt remove libcoap2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcoap2 package on Debian 11 (Bullseye)

Package: libcoap2
Version: 4.2.1-1
Installed-Size: 634
Maintainer: Debian IoT Maintainers
Architecture: amd64
Depends: libc6 (>= 2.17), libgnutls30 (>= 3.6.6), libssl1.1 (>= 1.1.1)
Description: C-Implementation of CoAP - libraries API version 2
Description-md5: e64261d9df58c64aa5e089e22d5a1d4e
Multi-Arch: same
Homepage: https://libcoap.net/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libc/libcoap2/libcoap2_4.2.1-1_amd64.deb
Size: 154616
MD5sum: 7546494badd886eb9990d6fa66aa821d
SHA256: d8d51cbca1ca6cdd900142a573b5bb1ce3e618065ae51fbe21e8ebb04674e8e2