How To Install pcre2-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pcre2-devel.x86_64 in Amazon Linux 2. pcre2-devel.x86_64 is Development files for pcre2

Introduction

In this tutorial we learn how to install pcre2-devel.x86_64 on Amazon Linux 2.

What is pcre2-devel.x86_64

Development files (headers, libraries for dynamic linking, documentation) for pcre2. The header file for the POSIX-style functions is called pcre2posix.h.

We can use yum to install pcre2-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pcre2-devel.x86_64.

Install pcre2-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install pcre2-devel.x86_64

How To Uninstall pcre2-devel.x86_64 on Amazon Linux 2

To uninstall only the pcre2-devel.x86_64 package we can use the following command:

sudo yum remove pcre2-devel.x86_64

pcre2-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/pcre2-config
/usr/include/pcre2.h
/usr/include/pcre2posix.h
/usr/lib64/libpcre2-16.so
/usr/lib64/libpcre2-32.so
/usr/lib64/libpcre2-8.so
/usr/lib64/libpcre2-posix.so
/usr/lib64/pkgconfig/libpcre2-16.pc
/usr/lib64/pkgconfig/libpcre2-32.pc
/usr/lib64/pkgconfig/libpcre2-8.pc
/usr/lib64/pkgconfig/libpcre2-posix.pc
/usr/share/doc/pcre2-devel-10.23
/usr/share/doc/pcre2-devel-10.23/HACKING
/usr/share/doc/pcre2-devel-10.23/README
/usr/share/doc/pcre2-devel-10.23/html
/usr/share/doc/pcre2-devel-10.23/html/NON-AUTOTOOLS-BUILD.txt
/usr/share/doc/pcre2-devel-10.23/html/README.txt
/usr/share/doc/pcre2-devel-10.23/html/index.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2-config.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_callout_enumerate.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_code_copy.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_code_copy_with_tables.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_code_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_compile.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_compile_context_copy.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_compile_context_create.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_compile_context_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_config.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_dfa_match.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_general_context_copy.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_general_context_create.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_general_context_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_get_error_message.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_get_mark.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_get_ovector_count.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_get_ovector_pointer.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_get_startchar.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_compile.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_free_unused_memory.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_match.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_stack_assign.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_stack_create.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_jit_stack_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_maketables.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_context_copy.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_context_create.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_context_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_data_create.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_data_create_from_pattern.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_match_data_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_pattern_info.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_serialize_decode.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_serialize_encode.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_serialize_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_serialize_get_number_of_codes.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_bsr.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_callout.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_character_tables.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_compile_recursion_guard.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_match_limit.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_max_pattern_length.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_newline.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_offset_limit.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_parens_nest_limit.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_recursion_limit.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_set_recursion_memory_management.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substitute.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_copy_byname.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_copy_bynumber.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_get_byname.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_get_bynumber.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_length_byname.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_length_bynumber.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_list_free.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_list_get.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_nametable_scan.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2_substring_number_from_name.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2api.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2build.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2callout.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2compat.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2demo.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2grep.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2jit.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2limits.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2matching.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2partial.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2pattern.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2perform.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2posix.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2sample.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2serialize.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2stack.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2syntax.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2test.html
/usr/share/doc/pcre2-devel-10.23/html/pcre2unicode.html
/usr/share/doc/pcre2-devel-10.23/pcre2-config.txt
/usr/share/doc/pcre2-devel-10.23/pcre2.txt
/usr/share/doc/pcre2-devel-10.23/pcre2demo.c
/usr/share/doc/pcre2-devel-10.23/pcre2grep.txt
/usr/share/doc/pcre2-devel-10.23/pcre2test.txt
/usr/share/man/man1/pcre2-config.1.gz
/usr/share/man/man3/pcre2.3.gz
/usr/share/man/man3/pcre2_callout_enumerate.3.gz
/usr/share/man/man3/pcre2_code_copy.3.gz
/usr/share/man/man3/pcre2_code_copy_with_tables.3.gz
/usr/share/man/man3/pcre2_code_free.3.gz
/usr/share/man/man3/pcre2_compile.3.gz
/usr/share/man/man3/pcre2_compile_context_copy.3.gz
/usr/share/man/man3/pcre2_compile_context_create.3.gz
/usr/share/man/man3/pcre2_compile_context_free.3.gz
/usr/share/man/man3/pcre2_config.3.gz
/usr/share/man/man3/pcre2_dfa_match.3.gz
/usr/share/man/man3/pcre2_general_context_copy.3.gz
/usr/share/man/man3/pcre2_general_context_create.3.gz
/usr/share/man/man3/pcre2_general_context_free.3.gz
/usr/share/man/man3/pcre2_get_error_message.3.gz
/usr/share/man/man3/pcre2_get_mark.3.gz
/usr/share/man/man3/pcre2_get_ovector_count.3.gz
/usr/share/man/man3/pcre2_get_ovector_pointer.3.gz
/usr/share/man/man3/pcre2_get_startchar.3.gz
/usr/share/man/man3/pcre2_jit_compile.3.gz
/usr/share/man/man3/pcre2_jit_free_unused_memory.3.gz
/usr/share/man/man3/pcre2_jit_match.3.gz
/usr/share/man/man3/pcre2_jit_stack_assign.3.gz
/usr/share/man/man3/pcre2_jit_stack_create.3.gz
/usr/share/man/man3/pcre2_jit_stack_free.3.gz
/usr/share/man/man3/pcre2_maketables.3.gz
/usr/share/man/man3/pcre2_match.3.gz
/usr/share/man/man3/pcre2_match_context_copy.3.gz
/usr/share/man/man3/pcre2_match_context_create.3.gz
/usr/share/man/man3/pcre2_match_context_free.3.gz
/usr/share/man/man3/pcre2_match_data_create.3.gz
/usr/share/man/man3/pcre2_match_data_create_from_pattern.3.gz
/usr/share/man/man3/pcre2_match_data_free.3.gz
/usr/share/man/man3/pcre2_pattern_info.3.gz
/usr/share/man/man3/pcre2_serialize_decode.3.gz
/usr/share/man/man3/pcre2_serialize_encode.3.gz
/usr/share/man/man3/pcre2_serialize_free.3.gz
/usr/share/man/man3/pcre2_serialize_get_number_of_codes.3.gz
/usr/share/man/man3/pcre2_set_bsr.3.gz
/usr/share/man/man3/pcre2_set_callout.3.gz
/usr/share/man/man3/pcre2_set_character_tables.3.gz
/usr/share/man/man3/pcre2_set_compile_recursion_guard.3.gz
/usr/share/man/man3/pcre2_set_match_limit.3.gz
/usr/share/man/man3/pcre2_set_max_pattern_length.3.gz
/usr/share/man/man3/pcre2_set_newline.3.gz
/usr/share/man/man3/pcre2_set_offset_limit.3.gz
/usr/share/man/man3/pcre2_set_parens_nest_limit.3.gz
/usr/share/man/man3/pcre2_set_recursion_limit.3.gz
/usr/share/man/man3/pcre2_set_recursion_memory_management.3.gz
/usr/share/man/man3/pcre2_substitute.3.gz
/usr/share/man/man3/pcre2_substring_copy_byname.3.gz
/usr/share/man/man3/pcre2_substring_copy_bynumber.3.gz
/usr/share/man/man3/pcre2_substring_free.3.gz
/usr/share/man/man3/pcre2_substring_get_byname.3.gz
/usr/share/man/man3/pcre2_substring_get_bynumber.3.gz
/usr/share/man/man3/pcre2_substring_length_byname.3.gz
/usr/share/man/man3/pcre2_substring_length_bynumber.3.gz
/usr/share/man/man3/pcre2_substring_list_free.3.gz
/usr/share/man/man3/pcre2_substring_list_get.3.gz
/usr/share/man/man3/pcre2_substring_nametable_scan.3.gz
/usr/share/man/man3/pcre2_substring_number_from_name.3.gz
/usr/share/man/man3/pcre2api.3.gz
/usr/share/man/man3/pcre2build.3.gz
/usr/share/man/man3/pcre2callout.3.gz
/usr/share/man/man3/pcre2compat.3.gz
/usr/share/man/man3/pcre2demo.3.gz
/usr/share/man/man3/pcre2jit.3.gz
/usr/share/man/man3/pcre2limits.3.gz
/usr/share/man/man3/pcre2matching.3.gz
/usr/share/man/man3/pcre2partial.3.gz
/usr/share/man/man3/pcre2pattern.3.gz
/usr/share/man/man3/pcre2perform.3.gz
/usr/share/man/man3/pcre2posix.3.gz
/usr/share/man/man3/pcre2sample.3.gz
/usr/share/man/man3/pcre2serialize.3.gz
/usr/share/man/man3/pcre2stack.3.gz
/usr/share/man/man3/pcre2syntax.3.gz
/usr/share/man/man3/pcre2unicode.3.gz

References

Summary

In this tutorial we learn how to install pcre2-devel.x86_64 on Amazon Linux 2 using yum.