How to Install and Uninstall libcoap2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 08,2024

1. Install "libcoap2" package

Learn how to install libcoap2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libcoap2

2. Uninstall "libcoap2" package

Please follow the instructions below to uninstall libcoap2 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libcoap2 package on Ubuntu 20.04 LTS (Focal Fossa)

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
Homepage: https://libcoap.net/
Description: C-Implementation of CoAP - libraries API version 2
Description-md5: e64261d9df58c64aa5e089e22d5a1d4e