How To Install oci-add-hooks.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install oci-add-hooks.x86_64
on Amazon Linux 2.
What is oci-add-hooks.x86_64
oci-add-hooks is an OCI runtime with the sole purpose of injecting OCI prestart, poststart, and poststop hooks into a container config.json before passing along to an OCI compatible runtime.
We can use yum
to install oci-add-hooks.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install oci-add-hooks.x86_64.
Install oci-add-hooks.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 oci-add-hooks.x86_64
using yum
by running the following command:
sudo yum -y install oci-add-hooks.x86_64
How To Uninstall oci-add-hooks.x86_64 on Amazon Linux 2
To uninstall only the oci-add-hooks.x86_64
package we can use the following command:
sudo yum remove oci-add-hooks.x86_64
oci-add-hooks.x86_64 Package Contents on Amazon Linux 2
/usr/bin/oci-add-hooks
/usr/share/doc/oci-add-hooks-0
/usr/share/doc/oci-add-hooks-0/README.md
/usr/share/licenses/oci-add-hooks-0
/usr/share/licenses/oci-add-hooks-0/LICENSE
/usr/share/licenses/oci-add-hooks-0/LICENSE.go-simplejson
/usr/share/licenses/oci-add-hooks-0/LICENSE.json-lossless
/usr/share/licenses/oci-add-hooks-0/NOTICE
References
Summary
In this tutorial we learn how to install oci-add-hooks.x86_64
on Amazon Linux 2 using yum.