How To Install c-ares-devel on Rocky Linux 8

In this tutorial we learn how to install c-ares-devel on Rocky Linux 8. c-ares-devel is Development files for c-ares

Introduction

In this tutorial we learn how to install c-ares-devel on Rocky Linux 8.

What is c-ares-devel

This package contains the header files and libraries needed to compile applications or shared objects that use c-ares.

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

Install c-ares-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install c-ares-devel

Install c-ares-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install c-ares-devel

How To Uninstall c-ares-devel on Rocky Linux 8

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

sudo dnf remove c-ares-devel

c-ares-devel Package Contents on Rocky Linux 8

/usr/include/ares.h
/usr/include/ares_build.h
/usr/include/ares_dns.h
/usr/include/ares_rules.h
/usr/include/ares_version.h
/usr/lib/libcares.so
/usr/lib/pkgconfig/libcares.pc
/usr/share/man/man3/ares_cancel.3.gz
/usr/share/man/man3/ares_create_query.3.gz
/usr/share/man/man3/ares_destroy.3.gz
/usr/share/man/man3/ares_destroy_options.3.gz
/usr/share/man/man3/ares_dup.3.gz
/usr/share/man/man3/ares_expand_name.3.gz
/usr/share/man/man3/ares_expand_string.3.gz
/usr/share/man/man3/ares_fds.3.gz
/usr/share/man/man3/ares_free_data.3.gz
/usr/share/man/man3/ares_free_hostent.3.gz
/usr/share/man/man3/ares_free_string.3.gz
/usr/share/man/man3/ares_get_servers.3.gz
/usr/share/man/man3/ares_get_servers_ports.3.gz
/usr/share/man/man3/ares_gethostbyaddr.3.gz
/usr/share/man/man3/ares_gethostbyname.3.gz
/usr/share/man/man3/ares_gethostbyname_file.3.gz
/usr/share/man/man3/ares_getnameinfo.3.gz
/usr/share/man/man3/ares_getsock.3.gz
/usr/share/man/man3/ares_inet_ntop.3.gz
/usr/share/man/man3/ares_inet_pton.3.gz
/usr/share/man/man3/ares_init.3.gz
/usr/share/man/man3/ares_init_options.3.gz
/usr/share/man/man3/ares_library_cleanup.3.gz
/usr/share/man/man3/ares_library_init.3.gz
/usr/share/man/man3/ares_library_initialized.3.gz
/usr/share/man/man3/ares_mkquery.3.gz
/usr/share/man/man3/ares_parse_a_reply.3.gz
/usr/share/man/man3/ares_parse_aaaa_reply.3.gz
/usr/share/man/man3/ares_parse_mx_reply.3.gz
/usr/share/man/man3/ares_parse_naptr_reply.3.gz
/usr/share/man/man3/ares_parse_ns_reply.3.gz
/usr/share/man/man3/ares_parse_ptr_reply.3.gz
/usr/share/man/man3/ares_parse_soa_reply.3.gz
/usr/share/man/man3/ares_parse_srv_reply.3.gz
/usr/share/man/man3/ares_parse_txt_reply.3.gz
/usr/share/man/man3/ares_process.3.gz
/usr/share/man/man3/ares_query.3.gz
/usr/share/man/man3/ares_save_options.3.gz
/usr/share/man/man3/ares_search.3.gz
/usr/share/man/man3/ares_send.3.gz
/usr/share/man/man3/ares_set_local_dev.3.gz
/usr/share/man/man3/ares_set_local_ip4.3.gz
/usr/share/man/man3/ares_set_local_ip6.3.gz
/usr/share/man/man3/ares_set_servers.3.gz
/usr/share/man/man3/ares_set_servers_csv.3.gz
/usr/share/man/man3/ares_set_servers_ports.3.gz
/usr/share/man/man3/ares_set_servers_ports_csv.3.gz
/usr/share/man/man3/ares_set_socket_callback.3.gz
/usr/share/man/man3/ares_set_socket_configure_callback.3.gz
/usr/share/man/man3/ares_set_sortlist.3.gz
/usr/share/man/man3/ares_strerror.3.gz
/usr/share/man/man3/ares_timeout.3.gz
/usr/share/man/man3/ares_version.3.gz
/usr/include/ares.h
/usr/include/ares_build.h
/usr/include/ares_dns.h
/usr/include/ares_rules.h
/usr/include/ares_version.h
/usr/lib64/libcares.so
/usr/lib64/pkgconfig/libcares.pc
/usr/share/man/man3/ares_cancel.3.gz
/usr/share/man/man3/ares_create_query.3.gz
/usr/share/man/man3/ares_destroy.3.gz
/usr/share/man/man3/ares_destroy_options.3.gz
/usr/share/man/man3/ares_dup.3.gz
/usr/share/man/man3/ares_expand_name.3.gz
/usr/share/man/man3/ares_expand_string.3.gz
/usr/share/man/man3/ares_fds.3.gz
/usr/share/man/man3/ares_free_data.3.gz
/usr/share/man/man3/ares_free_hostent.3.gz
/usr/share/man/man3/ares_free_string.3.gz
/usr/share/man/man3/ares_get_servers.3.gz
/usr/share/man/man3/ares_get_servers_ports.3.gz
/usr/share/man/man3/ares_gethostbyaddr.3.gz
/usr/share/man/man3/ares_gethostbyname.3.gz
/usr/share/man/man3/ares_gethostbyname_file.3.gz
/usr/share/man/man3/ares_getnameinfo.3.gz
/usr/share/man/man3/ares_getsock.3.gz
/usr/share/man/man3/ares_inet_ntop.3.gz
/usr/share/man/man3/ares_inet_pton.3.gz
/usr/share/man/man3/ares_init.3.gz
/usr/share/man/man3/ares_init_options.3.gz
/usr/share/man/man3/ares_library_cleanup.3.gz
/usr/share/man/man3/ares_library_init.3.gz
/usr/share/man/man3/ares_library_initialized.3.gz
/usr/share/man/man3/ares_mkquery.3.gz
/usr/share/man/man3/ares_parse_a_reply.3.gz
/usr/share/man/man3/ares_parse_aaaa_reply.3.gz
/usr/share/man/man3/ares_parse_mx_reply.3.gz
/usr/share/man/man3/ares_parse_naptr_reply.3.gz
/usr/share/man/man3/ares_parse_ns_reply.3.gz
/usr/share/man/man3/ares_parse_ptr_reply.3.gz
/usr/share/man/man3/ares_parse_soa_reply.3.gz
/usr/share/man/man3/ares_parse_srv_reply.3.gz
/usr/share/man/man3/ares_parse_txt_reply.3.gz
/usr/share/man/man3/ares_process.3.gz
/usr/share/man/man3/ares_query.3.gz
/usr/share/man/man3/ares_save_options.3.gz
/usr/share/man/man3/ares_search.3.gz
/usr/share/man/man3/ares_send.3.gz
/usr/share/man/man3/ares_set_local_dev.3.gz
/usr/share/man/man3/ares_set_local_ip4.3.gz
/usr/share/man/man3/ares_set_local_ip6.3.gz
/usr/share/man/man3/ares_set_servers.3.gz
/usr/share/man/man3/ares_set_servers_csv.3.gz
/usr/share/man/man3/ares_set_servers_ports.3.gz
/usr/share/man/man3/ares_set_servers_ports_csv.3.gz
/usr/share/man/man3/ares_set_socket_callback.3.gz
/usr/share/man/man3/ares_set_socket_configure_callback.3.gz
/usr/share/man/man3/ares_set_sortlist.3.gz
/usr/share/man/man3/ares_strerror.3.gz
/usr/share/man/man3/ares_timeout.3.gz
/usr/share/man/man3/ares_version.3.gz

References

Summary

In this tutorial we learn how to install c-ares-devel on Rocky Linux 8 using yum and dnf.