How To Install ocaml-gettext.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ocaml-gettext.x86_64 on Amazon Linux 2.
What is ocaml-gettext.x86_64
Ocaml-gettext provides support for internationalization of Ocaml programs. Constraints * provides a pure Ocaml implementation, * the API should be as close as possible to GNU gettext, * provides a way to automatically extract translatable strings from Ocaml source code.
We can use yum to install ocaml-gettext.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-gettext.x86_64.
Install ocaml-gettext.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 ocaml-gettext.x86_64 using yum by running the following command:
sudo yum -y install ocaml-gettext.x86_64
How To Uninstall ocaml-gettext.x86_64 on Amazon Linux 2
To uninstall only the ocaml-gettext.x86_64 package we can use the following command:
sudo yum remove ocaml-gettext.x86_64
ocaml-gettext.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/ocaml/gettext
/usr/lib64/ocaml/gettext-stub
/usr/lib64/ocaml/gettext-stub/META
/usr/lib64/ocaml/gettext-stub/gettextStub.cma
/usr/lib64/ocaml/gettext-stub/gettextStub.cmi
/usr/lib64/ocaml/gettext-stub/gettextStubCompat.cmi
/usr/lib64/ocaml/gettext/META
/usr/lib64/ocaml/gettext/gettext.cmi
/usr/lib64/ocaml/gettext/gettextBase.cma
/usr/lib64/ocaml/gettext/gettextCategory.cmi
/usr/lib64/ocaml/gettext/gettextCharset.cmi
/usr/lib64/ocaml/gettext/gettextCompat.cmi
/usr/lib64/ocaml/gettext/gettextCompile.cmi
/usr/lib64/ocaml/gettext/gettextConfig.cmi
/usr/lib64/ocaml/gettext/gettextDomain.cmi
/usr/lib64/ocaml/gettext/gettextDummy.cmi
/usr/lib64/ocaml/gettext/gettextExtension.cma
/usr/lib64/ocaml/gettext/gettextFormat.cmi
/usr/lib64/ocaml/gettext/gettextLocale.cmi
/usr/lib64/ocaml/gettext/gettextMo.cmi
/usr/lib64/ocaml/gettext/gettextModules.cmi
/usr/lib64/ocaml/gettext/gettextPo.cmi
/usr/lib64/ocaml/gettext/gettextRealize.cmi
/usr/lib64/ocaml/gettext/gettextTranslate.cmi
/usr/lib64/ocaml/gettext/gettextTypes.cmi
/usr/lib64/ocaml/gettext/gettextUtils.cmi
/usr/lib64/ocaml/gettext/pr_gettext.cmo
/usr/lib64/ocaml/stublibs/dllgettextStub.so
/usr/lib64/ocaml/stublibs/dllgettextStub.so.owner
/usr/share/doc/ocaml-gettext-0.3.7
/usr/share/doc/ocaml-gettext-0.3.7/COPYING
References
Summary
In this tutorial we learn how to install ocaml-gettext.x86_64 on Amazon Linux 2 using yum.