How To Install getdns-devel on CentOS 8
Introduction
In this tutorial we learn how to install getdns-devel
on CentOS 8.
What is getdns-devel
The devel package contains the getdns library and the include files and some example C code.
We can use yum
or dnf
to install getdns-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install getdns-devel.
Install getdns-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 getdns-devel
using dnf
by running the following command:
sudo dnf -y install getdns-devel
Install getdns-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 getdns-devel
using yum
by running the following command:
sudo yum -y install getdns-devel
How To Uninstall getdns-devel on CentOS 8
To uninstall only the getdns-devel
package we can use the following command:
sudo dnf remove getdns-devel
getdns-devel Package Contents on CentOS 8
/usr/include/getdns
/usr/include/getdns/getdns.h
/usr/include/getdns/getdns_ext_libev.h
/usr/include/getdns/getdns_ext_libevent.h
/usr/include/getdns/getdns_extra.h
/usr/lib64/libgetdns.so
/usr/lib64/libgetdns_ex_ev.so
/usr/lib64/libgetdns_ex_event.so
/usr/lib64/pkgconfig/getdns.pc
/usr/share/doc/getdns-devel
/usr/share/doc/getdns-devel/spec
/usr/share/doc/getdns-devel/spec/example
/usr/share/doc/getdns-devel/spec/example/example-all-functions.c
/usr/share/doc/getdns-devel/spec/example/example-reverse.c
/usr/share/doc/getdns-devel/spec/example/example-simple-answers.c
/usr/share/doc/getdns-devel/spec/example/example-synchronous.c
/usr/share/doc/getdns-devel/spec/example/example-tree.c
/usr/share/doc/getdns-devel/spec/example/getdns_core_only.h
/usr/share/doc/getdns-devel/spec/example/getdns_libevent.h
/usr/share/doc/getdns-devel/spec/index.html
/usr/share/man/man3/getdns_address.3.gz
/usr/share/man/man3/getdns_address_sync.3.gz
/usr/share/man/man3/getdns_cancel_callback.3.gz
/usr/share/man/man3/getdns_context.3.gz
/usr/share/man/man3/getdns_context_create.3.gz
/usr/share/man/man3/getdns_context_create_with_extended_memory_functions.3.gz
/usr/share/man/man3/getdns_context_create_with_memory_functions.3.gz
/usr/share/man/man3/getdns_context_destroy.3.gz
/usr/share/man/man3/getdns_context_get_api_information.3.gz
/usr/share/man/man3/getdns_context_set.3.gz
/usr/share/man/man3/getdns_context_set_append_name.3.gz
/usr/share/man/man3/getdns_context_set_context_update_callback.3.gz
/usr/share/man/man3/getdns_context_set_dns_root_servers.3.gz
/usr/share/man/man3/getdns_context_set_dns_transport.3.gz
/usr/share/man/man3/getdns_context_set_dnssec_allowed_skew.3.gz
/usr/share/man/man3/getdns_context_set_dnssec_trust_anchors.3.gz
/usr/share/man/man3/getdns_context_set_follow_redirects.3.gz
/usr/share/man/man3/getdns_context_set_limit_outstanding_queries.3.gz
/usr/share/man/man3/getdns_context_set_namespaces.3.gz
/usr/share/man/man3/getdns_context_set_resolution_type.3.gz
/usr/share/man/man3/getdns_context_set_suffix.3.gz
/usr/share/man/man3/getdns_context_set_timeout.3.gz
/usr/share/man/man3/getdns_convert.3.gz
/usr/share/man/man3/getdns_convert_dns_name_to_fqdn.3.gz
/usr/share/man/man3/getdns_convert_fqdn_to_dns_name.3.gz
/usr/share/man/man3/getdns_dict.3.gz
/usr/share/man/man3/getdns_dict_create.3.gz
/usr/share/man/man3/getdns_dict_create_with_extended_memory_functions.3.gz
/usr/share/man/man3/getdns_dict_create_with_memory_functions.3.gz
/usr/share/man/man3/getdns_dict_destroy.3.gz
/usr/share/man/man3/getdns_dict_get.3.gz
/usr/share/man/man3/getdns_dict_get_bindata.3.gz
/usr/share/man/man3/getdns_dict_get_data_type.3.gz
/usr/share/man/man3/getdns_dict_get_dict.3.gz
/usr/share/man/man3/getdns_dict_get_int.3.gz
/usr/share/man/man3/getdns_dict_get_list.3.gz
/usr/share/man/man3/getdns_dict_get_names.3.gz
/usr/share/man/man3/getdns_dict_set.3.gz
/usr/share/man/man3/getdns_dict_set_bindata.3.gz
/usr/share/man/man3/getdns_dict_set_dict.3.gz
/usr/share/man/man3/getdns_dict_set_int.3.gz
/usr/share/man/man3/getdns_dict_set_list.3.gz
/usr/share/man/man3/getdns_display_ip_address.3.gz
/usr/share/man/man3/getdns_general.3.gz
/usr/share/man/man3/getdns_general_sync.3.gz
/usr/share/man/man3/getdns_hostname.3.gz
/usr/share/man/man3/getdns_hostname_sync.3.gz
/usr/share/man/man3/getdns_list.3.gz
/usr/share/man/man3/getdns_list_create.3.gz
/usr/share/man/man3/getdns_list_create_with_extended_memory_functions.3.gz
/usr/share/man/man3/getdns_list_create_with_memory_functions.3.gz
/usr/share/man/man3/getdns_list_destroy.3.gz
/usr/share/man/man3/getdns_list_get.3.gz
/usr/share/man/man3/getdns_list_get_bindata.3.gz
/usr/share/man/man3/getdns_list_get_data_type.3.gz
/usr/share/man/man3/getdns_list_get_dict.3.gz
/usr/share/man/man3/getdns_list_get_int.3.gz
/usr/share/man/man3/getdns_list_get_length.3.gz
/usr/share/man/man3/getdns_list_get_list.3.gz
/usr/share/man/man3/getdns_list_set.3.gz
/usr/share/man/man3/getdns_list_set_bindata.3.gz
/usr/share/man/man3/getdns_list_set_dict.3.gz
/usr/share/man/man3/getdns_list_set_int.3.gz
/usr/share/man/man3/getdns_list_set_list.3.gz
/usr/share/man/man3/getdns_pretty_print_dict.3.gz
/usr/share/man/man3/getdns_root_trust_anchor.3.gz
/usr/share/man/man3/getdns_service.3.gz
/usr/share/man/man3/getdns_service_sync.3.gz
/usr/share/man/man3/getdns_validate_dnssec.3.gz
/usr/share/man/man3/libgetdns.3.gz
References
Summary
In this tutorial we learn how to install getdns-devel
on CentOS 8 using yum and dnf.