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

Last updated: November 07,2024

1. Install "libcoap2-bin" package

This guide covers the steps necessary to install libcoap2-bin on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libcoap2-bin

2. Uninstall "libcoap2-bin" package

This guide let you learn how to uninstall libcoap2-bin on Ubuntu 21.10 (Impish Indri):

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

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

Package: libcoap2-bin
Architecture: amd64
Version: 4.2.1-1
Priority: optional
Section: universe/libs
Source: libcoap2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian IoT Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 333
Depends: libcoap2 (= 4.2.1-1), libc6 (>= 2.15)
Conflicts: libcoap-1-0-bin
Filename: pool/universe/libc/libcoap2/libcoap2-bin_4.2.1-1_amd64.deb
Size: 40032
MD5sum: abf14d40294094c3c07d7f3692a9bc8d
SHA1: 39fd383419606a1cb7cc751e4b8edc393ff35080
SHA256: 91e56f45eb4dc6c8c4f21d1fa81e84c24c0f19a745e1ab454b6a119d6f1c2d8b
SHA512: 0f9c97ff76bd118a87af02fbc12a86cdb786dd5e8ed5d006e88130c8fd8bab5efed1299d26d76ab610014acce3573bead939759c72de740f676820ca8eb23ae1
Homepage: https://libcoap.net/
Description-en: C-Implementation of CoAP - example binaries API version 2
The libcoap provides some example binary files to show the usage of a CoAP
Server, CoAP Client and a Resource Directory implementation. These examples
heavily rely on the libcoap as the core functionality is based there.
.
This package provides the following example binaries without DTLS functions:
* coap-client
A command-line client that allows you to interact with CoAP reasources.
.
* coap-server
Simple server that can provide CoAP resources for simple testing cases.
.
* coap-rd
This binary let you simulate various CoAP resources mostly for testing
purpose.
.
This package providesthe following example binaries with DTLS functions:
* coap-client-openssl
A command-line client that allows you to interact with CoAP reasources
based on TLS functions by OpenSSL.
.
* coap-server-openssl
Simple server that can provide CoAP resources for simple testing cases
based on TLS functions by OpenSSL.
.
* coap-rd-openssl
This binary let you simulate various CoAP resources mostly for testing
purpose based on TLS functions by OpenSSL.
.
You can use these files without any exception no matter as they named
examples. Please see the respectives man pages for usage instructions.
Description-md5: 5b69d33f2699307c0c66bab4a3ae1e7a