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

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

Introduction

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

What is libyaml-devel.x86_64

The libyaml-devel package contains libraries and header files for developing applications that use LibYAML.

We can use yum to install libyaml-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 libyaml-devel.x86_64.

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

sudo yum -y install libyaml-devel.x86_64

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

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

sudo yum remove libyaml-devel.x86_64

libyaml-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/yaml.h
/usr/lib64/libyaml.so
/usr/lib64/pkgconfig/yaml-0.1.pc
/usr/share/doc/libyaml-devel-0.1.4
/usr/share/doc/libyaml-devel-0.1.4/html
/usr/share/doc/libyaml-devel-0.1.4/html/annotated.html
/usr/share/doc/libyaml-devel-0.1.4/html/bc_s.png
/usr/share/doc/libyaml-devel-0.1.4/html/classes.html
/usr/share/doc/libyaml-devel-0.1.4/html/closed.png
/usr/share/doc/libyaml-devel-0.1.4/html/doxygen.css
/usr/share/doc/libyaml-devel-0.1.4/html/doxygen.png
/usr/share/doc/libyaml-devel-0.1.4/html/files.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x62.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x63.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x64.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x65.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x66.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x68.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x69.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x6b.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x6c.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x6d.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x6e.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x6f.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x70.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x71.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x72.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x73.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x74.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x75.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x76.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_0x77.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x62.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x63.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x64.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x65.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x66.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x68.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x69.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x6b.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x6c.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x6d.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x6e.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x6f.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x70.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x71.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x72.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x73.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x74.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x75.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x76.html
/usr/share/doc/libyaml-devel-0.1.4/html/functions_vars_0x77.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals_defs.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals_enum.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals_eval.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals_func.html
/usr/share/doc/libyaml-devel-0.1.4/html/globals_type.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__basic.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__emitter.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__events.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__export.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__nodes.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__parser.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__styles.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__tokens.html
/usr/share/doc/libyaml-devel-0.1.4/html/group__version.html
/usr/share/doc/libyaml-devel-0.1.4/html/index.html
/usr/share/doc/libyaml-devel-0.1.4/html/modules.html
/usr/share/doc/libyaml-devel-0.1.4/html/nav_f.png
/usr/share/doc/libyaml-devel-0.1.4/html/nav_h.png
/usr/share/doc/libyaml-devel-0.1.4/html/open.png
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__alias__data__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__document__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__emitter__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__event__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__mark__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__node__pair__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__node__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__parser__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__simple__key__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__tag__directive__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__token__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/structyaml__version__directive__s.html
/usr/share/doc/libyaml-devel-0.1.4/html/tab_a.png
/usr/share/doc/libyaml-devel-0.1.4/html/tab_b.png
/usr/share/doc/libyaml-devel-0.1.4/html/tab_h.png
/usr/share/doc/libyaml-devel-0.1.4/html/tab_s.png
/usr/share/doc/libyaml-devel-0.1.4/html/tabs.css
/usr/share/doc/libyaml-devel-0.1.4/html/yaml_8h.html

References

Summary

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