How To Install apr-devel on Rocky Linux 8

In this tutorial we learn how to install apr-devel on Rocky Linux 8. apr-devel is APR library development kit

Introduction

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

What is apr-devel

This package provides the support files which can be used to build applications using the APR library. The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines.

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

Install apr-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 apr-devel using dnf by running the following command:

sudo dnf -y install apr-devel

Install apr-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 apr-devel using yum by running the following command:

sudo yum -y install apr-devel

How To Uninstall apr-devel on Rocky Linux 8

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

sudo dnf remove apr-devel

apr-devel Package Contents on Rocky Linux 8

/usr/bin/apr-1-config
/usr/include/apr-1
/usr/include/apr-1/apr-i386.h
/usr/include/apr-1/apr.h
/usr/include/apr-1/apr_allocator.h
/usr/include/apr-1/apr_atomic.h
/usr/include/apr-1/apr_cstr.h
/usr/include/apr-1/apr_dso.h
/usr/include/apr-1/apr_env.h
/usr/include/apr-1/apr_errno.h
/usr/include/apr-1/apr_escape.h
/usr/include/apr-1/apr_file_info.h
/usr/include/apr-1/apr_file_io.h
/usr/include/apr-1/apr_fnmatch.h
/usr/include/apr-1/apr_general.h
/usr/include/apr-1/apr_getopt.h
/usr/include/apr-1/apr_global_mutex.h
/usr/include/apr-1/apr_hash.h
/usr/include/apr-1/apr_inherit.h
/usr/include/apr-1/apr_lib.h
/usr/include/apr-1/apr_mmap.h
/usr/include/apr-1/apr_network_io.h
/usr/include/apr-1/apr_perms_set.h
/usr/include/apr-1/apr_poll.h
/usr/include/apr-1/apr_pools.h
/usr/include/apr-1/apr_portable.h
/usr/include/apr-1/apr_proc_mutex.h
/usr/include/apr-1/apr_random.h
/usr/include/apr-1/apr_ring.h
/usr/include/apr-1/apr_shm.h
/usr/include/apr-1/apr_signal.h
/usr/include/apr-1/apr_skiplist.h
/usr/include/apr-1/apr_strings.h
/usr/include/apr-1/apr_support.h
/usr/include/apr-1/apr_tables.h
/usr/include/apr-1/apr_thread_cond.h
/usr/include/apr-1/apr_thread_mutex.h
/usr/include/apr-1/apr_thread_proc.h
/usr/include/apr-1/apr_thread_rwlock.h
/usr/include/apr-1/apr_time.h
/usr/include/apr-1/apr_user.h
/usr/include/apr-1/apr_version.h
/usr/include/apr-1/apr_want.h
/usr/lib/apr-1
/usr/lib/apr-1/build
/usr/lib/apr-1/build/apr_common.m4
/usr/lib/apr-1/build/apr_rules.mk
/usr/lib/apr-1/build/config.guess
/usr/lib/apr-1/build/config.sub
/usr/lib/apr-1/build/find_apr.m4
/usr/lib/apr-1/build/gen-build.py
/usr/lib/apr-1/build/install.sh
/usr/lib/apr-1/build/libtool
/usr/lib/apr-1/build/make_exports.awk
/usr/lib/apr-1/build/make_var_export.awk
/usr/lib/apr-1/build/mkdir.sh
/usr/lib/libapr-1.la
/usr/lib/libapr-1.so
/usr/lib/pkgconfig/apr-1.pc
/usr/share/aclocal/find_apr.m4
/usr/share/doc/apr-devel
/usr/share/doc/apr-devel/APRDesign.html
/usr/share/doc/apr-devel/canonical_filenames.html
/usr/share/doc/apr-devel/incomplete_types
/usr/share/doc/apr-devel/non_apr_programs
/usr/bin/apr-1-config
/usr/include/apr-1
/usr/include/apr-1/apr-x86_64.h
/usr/include/apr-1/apr.h
/usr/include/apr-1/apr_allocator.h
/usr/include/apr-1/apr_atomic.h
/usr/include/apr-1/apr_cstr.h
/usr/include/apr-1/apr_dso.h
/usr/include/apr-1/apr_env.h
/usr/include/apr-1/apr_errno.h
/usr/include/apr-1/apr_escape.h
/usr/include/apr-1/apr_file_info.h
/usr/include/apr-1/apr_file_io.h
/usr/include/apr-1/apr_fnmatch.h
/usr/include/apr-1/apr_general.h
/usr/include/apr-1/apr_getopt.h
/usr/include/apr-1/apr_global_mutex.h
/usr/include/apr-1/apr_hash.h
/usr/include/apr-1/apr_inherit.h
/usr/include/apr-1/apr_lib.h
/usr/include/apr-1/apr_mmap.h
/usr/include/apr-1/apr_network_io.h
/usr/include/apr-1/apr_perms_set.h
/usr/include/apr-1/apr_poll.h
/usr/include/apr-1/apr_pools.h
/usr/include/apr-1/apr_portable.h
/usr/include/apr-1/apr_proc_mutex.h
/usr/include/apr-1/apr_random.h
/usr/include/apr-1/apr_ring.h
/usr/include/apr-1/apr_shm.h
/usr/include/apr-1/apr_signal.h
/usr/include/apr-1/apr_skiplist.h
/usr/include/apr-1/apr_strings.h
/usr/include/apr-1/apr_support.h
/usr/include/apr-1/apr_tables.h
/usr/include/apr-1/apr_thread_cond.h
/usr/include/apr-1/apr_thread_mutex.h
/usr/include/apr-1/apr_thread_proc.h
/usr/include/apr-1/apr_thread_rwlock.h
/usr/include/apr-1/apr_time.h
/usr/include/apr-1/apr_user.h
/usr/include/apr-1/apr_version.h
/usr/include/apr-1/apr_want.h
/usr/lib64/apr-1
/usr/lib64/apr-1/build
/usr/lib64/apr-1/build/apr_common.m4
/usr/lib64/apr-1/build/apr_rules.mk
/usr/lib64/apr-1/build/config.guess
/usr/lib64/apr-1/build/config.sub
/usr/lib64/apr-1/build/find_apr.m4
/usr/lib64/apr-1/build/gen-build.py
/usr/lib64/apr-1/build/install.sh
/usr/lib64/apr-1/build/libtool
/usr/lib64/apr-1/build/make_exports.awk
/usr/lib64/apr-1/build/make_var_export.awk
/usr/lib64/apr-1/build/mkdir.sh
/usr/lib64/libapr-1.la
/usr/lib64/libapr-1.so
/usr/lib64/pkgconfig/apr-1.pc
/usr/share/aclocal/find_apr.m4
/usr/share/doc/apr-devel
/usr/share/doc/apr-devel/APRDesign.html
/usr/share/doc/apr-devel/canonical_filenames.html
/usr/share/doc/apr-devel/incomplete_types
/usr/share/doc/apr-devel/non_apr_programs

References

Summary

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