How To Install libyaml.i686 on Amazon Linux 2

In this tutorial we learn how to install libyaml.i686 in Amazon Linux 2. libyaml.i686 is YAML 1.1 parser and emitter written in C

Introduction

In this tutorial we learn how to install libyaml.i686 on Amazon Linux 2.

What is libyaml.i686

YAML is a data serialization format designed for human readability and interaction with scripting languages. LibYAML is a YAML parser and emitter written in C.

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

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

sudo yum -y install libyaml.i686

How To Uninstall libyaml.i686 on Amazon Linux 2

To uninstall only the libyaml.i686 package we can use the following command:

sudo yum remove libyaml.i686

libyaml.i686 Package Contents on Amazon Linux 2

/usr/lib/libyaml-0.so.2
/usr/lib/libyaml-0.so.2.0.4
/usr/share/doc/libyaml-0.1.4
/usr/share/doc/libyaml-0.1.4/LICENSE
/usr/share/doc/libyaml-0.1.4/README

References

Summary

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