Introduction
In this tutorial we learn how to install apr-devel
on CentOS 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. apr-devel 1.6.3 11.el8 x86_64 246 k apr-1.6.3-11.el8.src.rpm appstream APR library development kit http ASL 2.0 and BSD with advertising and ISC and BSD 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 CentOS 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 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 apr-devel
using dnf
by running the following command:
sudo dnf -y install apr-devel
Install apr-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 apr-devel
using yum
by running the following command:
sudo yum -y install apr-devel
How To Uninstall apr-devel on CentOS 8
To uninstall only the apr-devel
package we can use the following command:
sudo dnf remove apr-devel
apr-devel Package Contents on CentOS 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
- [apr-devel website](http://apr.apache.org/
http://apr.apache.org/)
Summary
In this tutorial we learn how to install apr-devel
on CentOS 8 using yum and dnf.