How To Install oprofile-jit.x86_64 on Amazon Linux 2
In this tutorial we learn how to install oprofile-jit.x86_64 in Amazon Linux 2. oprofile-jit.x86_64 is Libraries required for profiling Java and other JITed code
Introduction
In this tutorial we learn how to install oprofile-jit.x86_64
on Amazon Linux 2.
What is oprofile-jit.x86_64
This package includes a base JIT support library, as well as a Java agent library.
We can use yum
to install oprofile-jit.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install oprofile-jit.x86_64.
Install oprofile-jit.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 oprofile-jit.x86_64
using yum
by running the following command:
sudo yum -y install oprofile-jit.x86_64
How To Uninstall oprofile-jit.x86_64 on Amazon Linux 2
To uninstall only the oprofile-jit.x86_64
package we can use the following command:
sudo yum remove oprofile-jit.x86_64
oprofile-jit.x86_64 Package Contents on Amazon Linux 2
/etc/ld.so.conf.d/oprofile-x86_64.conf
/usr/lib64/oprofile
/usr/lib64/oprofile/libjvmti_oprofile.a
/usr/lib64/oprofile/libjvmti_oprofile.la
/usr/lib64/oprofile/libjvmti_oprofile.so
/usr/lib64/oprofile/libjvmti_oprofile.so.0
/usr/lib64/oprofile/libjvmti_oprofile.so.0.0.0
/usr/lib64/oprofile/libopagent.a
/usr/lib64/oprofile/libopagent.la
/usr/lib64/oprofile/libopagent.so
/usr/lib64/oprofile/libopagent.so.1
/usr/lib64/oprofile/libopagent.so.1.0.1
References
Summary
In this tutorial we learn how to install oprofile-jit.x86_64
on Amazon Linux 2 using yum.