How To Install unbound-devel on CentOS 8

unbound-devel is Development package that includes the unbound header files Development package that includes the unbound header files

Introduction

In this tutorial we learn how to install unbound-devel on CentOS 8.

What is unbound-devel

The devel package contains the unbound library and the include files unbound-devel 1.7.3 15.el8 x86_64 59 k unbound-1.7.3-15.el8.src.rpm appstream Development package that includes the unbound header files https BSD The devel package contains the unbound library and the include files

We can use yum or dnf to install unbound-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install unbound-devel.

Install unbound-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install unbound-devel

Install unbound-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install unbound-devel

How To Uninstall unbound-devel on CentOS 8

To uninstall only the unbound-devel package we can use the following command:

sudo dnf remove unbound-devel

unbound-devel Package Contents on CentOS 8

/usr/include/unbound-event.h
/usr/include/unbound.h
/usr/lib/libunbound.so
/usr/lib/pkgconfig/libunbound.pc
/usr/share/man/man3/libunbound.3.gz
/usr/share/man/man3/ub_cancel.3.gz
/usr/share/man/man3/ub_cancel.gz
/usr/share/man/man3/ub_ctx.3.gz
/usr/share/man/man3/ub_ctx.gz
/usr/share/man/man3/ub_ctx_add_ta.3.gz
/usr/share/man/man3/ub_ctx_add_ta.gz
/usr/share/man/man3/ub_ctx_add_ta_file.3.gz
/usr/share/man/man3/ub_ctx_add_ta_file.gz
/usr/share/man/man3/ub_ctx_async.3.gz
/usr/share/man/man3/ub_ctx_async.gz
/usr/share/man/man3/ub_ctx_config.3.gz
/usr/share/man/man3/ub_ctx_config.gz
/usr/share/man/man3/ub_ctx_create.3.gz
/usr/share/man/man3/ub_ctx_create.gz
/usr/share/man/man3/ub_ctx_data_add.3.gz
/usr/share/man/man3/ub_ctx_data_add.gz
/usr/share/man/man3/ub_ctx_data_remove.3.gz
/usr/share/man/man3/ub_ctx_data_remove.gz
/usr/share/man/man3/ub_ctx_debuglevel.3.gz
/usr/share/man/man3/ub_ctx_debuglevel.gz
/usr/share/man/man3/ub_ctx_debugout.3.gz
/usr/share/man/man3/ub_ctx_debugout.gz
/usr/share/man/man3/ub_ctx_delete.3.gz
/usr/share/man/man3/ub_ctx_delete.gz
/usr/share/man/man3/ub_ctx_get_option.3.gz
/usr/share/man/man3/ub_ctx_get_option.gz
/usr/share/man/man3/ub_ctx_hosts.3.gz
/usr/share/man/man3/ub_ctx_hosts.gz
/usr/share/man/man3/ub_ctx_print_local_zones.3.gz
/usr/share/man/man3/ub_ctx_print_local_zones.gz
/usr/share/man/man3/ub_ctx_resolvconf.3.gz
/usr/share/man/man3/ub_ctx_resolvconf.gz
/usr/share/man/man3/ub_ctx_set_fwd.3.gz
/usr/share/man/man3/ub_ctx_set_fwd.gz
/usr/share/man/man3/ub_ctx_set_option.3.gz
/usr/share/man/man3/ub_ctx_set_option.gz
/usr/share/man/man3/ub_ctx_trustedkeys.3.gz
/usr/share/man/man3/ub_ctx_trustedkeys.gz
/usr/share/man/man3/ub_ctx_zone_add.3.gz
/usr/share/man/man3/ub_ctx_zone_add.gz
/usr/share/man/man3/ub_ctx_zone_remove.3.gz
/usr/share/man/man3/ub_ctx_zone_remove.gz
/usr/share/man/man3/ub_fd.3.gz
/usr/share/man/man3/ub_fd.gz
/usr/share/man/man3/ub_poll.3.gz
/usr/share/man/man3/ub_poll.gz
/usr/share/man/man3/ub_process.3.gz
/usr/share/man/man3/ub_process.gz
/usr/share/man/man3/ub_resolve.3.gz
/usr/share/man/man3/ub_resolve.gz
/usr/share/man/man3/ub_resolve_async.3.gz
/usr/share/man/man3/ub_resolve_async.gz
/usr/share/man/man3/ub_resolve_free.3.gz
/usr/share/man/man3/ub_resolve_free.gz
/usr/share/man/man3/ub_result.3.gz
/usr/share/man/man3/ub_result.gz
/usr/share/man/man3/ub_strerror.3.gz
/usr/share/man/man3/ub_strerror.gz
/usr/share/man/man3/ub_wait.3.gz
/usr/share/man/man3/ub_wait.gz
/usr/include/unbound-event.h
/usr/include/unbound.h
/usr/lib64/libunbound.so
/usr/lib64/pkgconfig/libunbound.pc
/usr/share/man/man3/libunbound.3.gz
/usr/share/man/man3/ub_cancel.3.gz
/usr/share/man/man3/ub_cancel.gz
/usr/share/man/man3/ub_ctx.3.gz
/usr/share/man/man3/ub_ctx.gz
/usr/share/man/man3/ub_ctx_add_ta.3.gz
/usr/share/man/man3/ub_ctx_add_ta.gz
/usr/share/man/man3/ub_ctx_add_ta_file.3.gz
/usr/share/man/man3/ub_ctx_add_ta_file.gz
/usr/share/man/man3/ub_ctx_async.3.gz
/usr/share/man/man3/ub_ctx_async.gz
/usr/share/man/man3/ub_ctx_config.3.gz
/usr/share/man/man3/ub_ctx_config.gz
/usr/share/man/man3/ub_ctx_create.3.gz
/usr/share/man/man3/ub_ctx_create.gz
/usr/share/man/man3/ub_ctx_data_add.3.gz
/usr/share/man/man3/ub_ctx_data_add.gz
/usr/share/man/man3/ub_ctx_data_remove.3.gz
/usr/share/man/man3/ub_ctx_data_remove.gz
/usr/share/man/man3/ub_ctx_debuglevel.3.gz
/usr/share/man/man3/ub_ctx_debuglevel.gz
/usr/share/man/man3/ub_ctx_debugout.3.gz
/usr/share/man/man3/ub_ctx_debugout.gz
/usr/share/man/man3/ub_ctx_delete.3.gz
/usr/share/man/man3/ub_ctx_delete.gz
/usr/share/man/man3/ub_ctx_get_option.3.gz
/usr/share/man/man3/ub_ctx_get_option.gz
/usr/share/man/man3/ub_ctx_hosts.3.gz
/usr/share/man/man3/ub_ctx_hosts.gz
/usr/share/man/man3/ub_ctx_print_local_zones.3.gz
/usr/share/man/man3/ub_ctx_print_local_zones.gz
/usr/share/man/man3/ub_ctx_resolvconf.3.gz
/usr/share/man/man3/ub_ctx_resolvconf.gz
/usr/share/man/man3/ub_ctx_set_fwd.3.gz
/usr/share/man/man3/ub_ctx_set_fwd.gz
/usr/share/man/man3/ub_ctx_set_option.3.gz
/usr/share/man/man3/ub_ctx_set_option.gz
/usr/share/man/man3/ub_ctx_trustedkeys.3.gz
/usr/share/man/man3/ub_ctx_trustedkeys.gz
/usr/share/man/man3/ub_ctx_zone_add.3.gz
/usr/share/man/man3/ub_ctx_zone_add.gz
/usr/share/man/man3/ub_ctx_zone_remove.3.gz
/usr/share/man/man3/ub_ctx_zone_remove.gz
/usr/share/man/man3/ub_fd.3.gz
/usr/share/man/man3/ub_fd.gz
/usr/share/man/man3/ub_poll.3.gz
/usr/share/man/man3/ub_poll.gz
/usr/share/man/man3/ub_process.3.gz
/usr/share/man/man3/ub_process.gz
/usr/share/man/man3/ub_resolve.3.gz
/usr/share/man/man3/ub_resolve.gz
/usr/share/man/man3/ub_resolve_async.3.gz
/usr/share/man/man3/ub_resolve_async.gz
/usr/share/man/man3/ub_resolve_free.3.gz
/usr/share/man/man3/ub_resolve_free.gz
/usr/share/man/man3/ub_result.3.gz
/usr/share/man/man3/ub_result.gz
/usr/share/man/man3/ub_strerror.3.gz
/usr/share/man/man3/ub_strerror.gz
/usr/share/man/man3/ub_wait.3.gz
/usr/share/man/man3/ub_wait.gz

References

Summary

In this tutorial we learn how to install unbound-devel on CentOS 8 using yum and dnf.