How to Install and Uninstall libcoap2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 08,2024

1. Install "libcoap2" package

Please follow the instructions below to install libcoap2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libcoap2

2. Uninstall "libcoap2" package

Please follow the steps below to uninstall libcoap2 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libcoap2 package on Ubuntu 21.10 (Impish Indri)

Package: libcoap2
Architecture: amd64
Version: 4.2.1-1
Multi-Arch: same
Priority: optional
Section: universe/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian IoT Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 623
Depends: libc6 (>= 2.17), libgnutls30 (>= 3.6.6), libssl1.1 (>= 1.1.1)
Filename: pool/universe/libc/libcoap2/libcoap2_4.2.1-1_amd64.deb
Size: 146576
MD5sum: 33b2e80f28599ed303a6ae7a78b08eba
SHA1: 272650fa349b99e1852a453b789c0c7ca004677c
SHA256: fdd5c2e4f19025fb204fe1b348a9ccb9639392725efab609ba767173a73552a2
SHA512: e8fa47d1a986b39cb183ea90619a317d49c9e18694da5eb90220e34a591d288d223d48ab5a25c82e04eaa47ee397b871567fff57041d80e61829d88acdeeb10f
Homepage: https://libcoap.net/
Description-en: C-Implementation of CoAP - libraries API version 2
Lightweight application-protocol for devices that are constrained their
resources such as computing power, RF range, memory, bandwidth, or network
packet sizes. This protocol, CoAP, is developed in the IETF working group
"CoRE", and was standardized in RFC 7252.
.
The libcoap library v2 has DTLS functionality included based on TLS
functions provided by OpenSSL in addition to the previous API version.
.
This package contains the various libcoap libraries based on API v2 with
and without DTLS functionality.
Description-md5: e64261d9df58c64aa5e089e22d5a1d4e