How To Install libcoap-utils on Fedora 36

In this tutorial we learn how to install libcoap-utils in Fedora 36. libcoap-utils is Client and server CoAP utilities

Introduction

In this tutorial we learn how to install libcoap-utils on Fedora 36.

What is libcoap-utils

Utilities for working with libcoap.

We can use yum or dnf to install libcoap-utils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libcoap-utils.

Install libcoap-utils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libcoap-utils using dnf by running the following command:

sudo dnf -y install libcoap-utils

Install libcoap-utils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libcoap-utils using yum by running the following command:

sudo yum -y install libcoap-utils

How To Uninstall libcoap-utils on Fedora 36

To uninstall only the libcoap-utils package we can use the following command:

sudo dnf remove libcoap-utils

libcoap-utils Package Contents on Fedora 36

/usr/bin/coap-client
/usr/bin/coap-client-openssl
/usr/bin/coap-rd
/usr/bin/coap-rd-openssl
/usr/bin/coap-server
/usr/bin/coap-server-openssl
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/d9391d24d244fe38635439a502a8ae2da4cf91
/usr/lib/.build-id/58/a008d6c2f2b53f84395b4573f348eba43250c6
/usr/lib/.build-id/94
/usr/lib/.build-id/94/03140f2ecc0c8b807450540a7081a8ede16a25
/usr/share/man/man5/coap-client-gnutls.5.gz
/usr/share/man/man5/coap-client-mbedtls.5.gz
/usr/share/man/man5/coap-client-notls.5.gz
/usr/share/man/man5/coap-client-openssl.5.gz
/usr/share/man/man5/coap-client.5.gz
/usr/share/man/man5/coap-rd-gnutls.5.gz
/usr/share/man/man5/coap-rd-mbedtls.5.gz
/usr/share/man/man5/coap-rd-notls.5.gz
/usr/share/man/man5/coap-rd-openssl.5.gz
/usr/share/man/man5/coap-rd.5.gz
/usr/share/man/man5/coap-server-gnutls.5.gz
/usr/share/man/man5/coap-server-mbedtls.5.gz
/usr/share/man/man5/coap-server-notls.5.gz
/usr/share/man/man5/coap-server-openssl.5.gz
/usr/share/man/man5/coap-server.5.gz

References

Summary

In this tutorial we learn how to install libcoap-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).