How To Install ustr.i686 on Amazon Linux 2

In this tutorial we learn how to install ustr.i686 in Amazon Linux 2. ustr.i686 is String library, very low memory overhead, simple to import

Introduction

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

What is ustr.i686

Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B strings). Very easy to use in existing C code. At it’s simplest you can just include a single header file into your .c and start using it. This package also distributes pre-built shared libraries.

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

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

sudo yum -y install ustr.i686

How To Uninstall ustr.i686 on Amazon Linux 2

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

sudo yum remove ustr.i686

ustr.i686 Package Contents on Amazon Linux 2

/usr/lib/libustr-1.0.so.1
/usr/lib/libustr-1.0.so.1.0.4
/usr/share/doc/ustr-1.0.4
/usr/share/doc/ustr-1.0.4/ChangeLog
/usr/share/doc/ustr-1.0.4/LICENSE
/usr/share/doc/ustr-1.0.4/LICENSE_BSD
/usr/share/doc/ustr-1.0.4/LICENSE_LGPL
/usr/share/doc/ustr-1.0.4/LICENSE_MIT
/usr/share/doc/ustr-1.0.4/NEWS
/usr/share/doc/ustr-1.0.4/README

References

Summary

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