How To Install prelink.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install prelink.x86_64 on Amazon Linux 2.
What is prelink.x86_64
The prelink package contains a utility which modifies ELF shared libraries and executables, so that far fewer relocations need to be resolved at runtime and thus programs come up faster.
We can use yum to install prelink.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install prelink.x86_64.
Install prelink.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 prelink.x86_64 using yum by running the following command:
sudo yum -y install prelink.x86_64
How To Uninstall prelink.x86_64 on Amazon Linux 2
To uninstall only the prelink.x86_64 package we can use the following command:
sudo yum remove prelink.x86_64
prelink.x86_64 Package Contents on Amazon Linux 2
/etc/cron.daily/prelink
/etc/prelink.conf
/etc/prelink.conf.d
/etc/rpm/macros.prelink
/etc/sysconfig/prelink
/usr/bin/execstack
/usr/sbin/prelink
/usr/share/doc/prelink-0.5.0
/usr/share/doc/prelink-0.5.0/prelink.pdf
/usr/share/man/man5/prelink.conf.5.gz
/usr/share/man/man8/execstack.8.gz
/usr/share/man/man8/prelink.8.gz
/var/lib/prelink
/var/lib/prelink/force
/var/lib/prelink/full
/var/lib/prelink/quick
/var/log/prelink
/var/log/prelink/prelink.log
References
Summary
In this tutorial we learn how to install prelink.x86_64 on Amazon Linux 2 using yum.