How To Install libsanitizer.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libsanitizer.i686
on Amazon Linux 2.
What is libsanitizer.i686
This package contains sanitizer libraries which are automatically used when the appropriate -fsanitize option is used for instrumented programs -fsanitize=address will use the Address Sanitizer (libasan) -fsanitize=thread will use the Thread Sanitizer (libtsan) -fsanitize=undefined will use the Undefined Behaviour Sanitizer (libubsan) -fsanitize=leak will use the Leak Sanitizer library (liblsan)
We can use yum
to install libsanitizer.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libsanitizer.i686.
Install libsanitizer.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 libsanitizer.i686
using yum
by running the following command:
sudo yum -y install libsanitizer.i686
How To Uninstall libsanitizer.i686 on Amazon Linux 2
To uninstall only the libsanitizer.i686
package we can use the following command:
sudo yum remove libsanitizer.i686
libsanitizer.i686 Package Contents on Amazon Linux 2
/usr/lib/libasan.so.4
/usr/lib/libasan.so.4.0.0
/usr/lib/libubsan.so.0
/usr/lib/libubsan.so.0.0.0
/usr/share/doc/libsanitizer-7.3.1
/usr/share/doc/libsanitizer-7.3.1/ChangeLog.bz2
/usr/share/licenses/libsanitizer-7.3.1
/usr/share/licenses/libsanitizer-7.3.1/LICENSE.TXT
References
Summary
In this tutorial we learn how to install libsanitizer.i686
on Amazon Linux 2 using yum.