How To Install ocaml-sedlex on Rocky Linux 8
Introduction
In this tutorial we learn how to install ocaml-sedlex
on Rocky Linux 8.
What is ocaml-sedlex
A lexer generator for OCaml, similar to ocamllex, but supporting Unicode. Contrary to ocamllex, lexer specifications for sedlex are embedded in regular OCaml source files.
We can use yum
or dnf
to install ocaml-sedlex
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-sedlex.
Install ocaml-sedlex on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ocaml-sedlex
using dnf
by running the following command:
sudo dnf -y install ocaml-sedlex
Install ocaml-sedlex on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ocaml-sedlex
using yum
by running the following command:
sudo yum -y install ocaml-sedlex
How To Uninstall ocaml-sedlex on Rocky Linux 8
To uninstall only the ocaml-sedlex
package we can use the following command:
sudo dnf remove ocaml-sedlex
ocaml-sedlex Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/82eb8f48c778e5c737f37be2affb88b1b18646
/usr/lib64/ocaml/sedlex
/usr/lib64/ocaml/sedlex/META
/usr/lib64/ocaml/sedlex/dune-package
/usr/lib64/ocaml/sedlex/opam
/usr/lib64/ocaml/sedlex/ppx
/usr/lib64/ocaml/sedlex/ppx/ppx.exe
/usr/lib64/ocaml/sedlex/ppx/ppx_sedlex.ml
/usr/lib64/ocaml/sedlex/ppx/sedlex.ml
/usr/lib64/ocaml/sedlex/ppx/sedlex.mli
/usr/lib64/ocaml/sedlex/ppx/sedlex_cset.ml
/usr/lib64/ocaml/sedlex/ppx/sedlex_cset.mli
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.a
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cma
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cmi
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cmt
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cmx
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cmxa
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.cmxs
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx.ml
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Ppx_sedlex.cmi
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Ppx_sedlex.cmt
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Ppx_sedlex.cmx
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex.cmi
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex.cmt
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex.cmti
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex.cmx
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex_cset.cmi
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex_cset.cmt
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex_cset.cmti
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Sedlex_cset.cmx
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Unicode.cmi
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Unicode.cmt
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Unicode.cmti
/usr/lib64/ocaml/sedlex/ppx/sedlex_ppx__Unicode.cmx
/usr/lib64/ocaml/sedlex/ppx/unicode.ml
/usr/lib64/ocaml/sedlex/ppx/unicode.mli
/usr/lib64/ocaml/sedlex/sedlex.cma
/usr/lib64/ocaml/sedlex/sedlex.cmxs
/usr/lib64/ocaml/sedlex/sedlexing.cmi
/usr/lib64/ocaml/sedlex/sedlexing.cmt
/usr/lib64/ocaml/sedlex/sedlexing.cmti
/usr/lib64/ocaml/sedlex/sedlexing.ml
/usr/lib64/ocaml/sedlex/sedlexing.mli
/usr/share/doc/ocaml-sedlex
/usr/share/doc/ocaml-sedlex/CHANGES
/usr/share/doc/ocaml-sedlex/README.md
/usr/share/licenses/ocaml-sedlex
/usr/share/licenses/ocaml-sedlex/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-sedlex
on Rocky Linux 8 using yum and dnf.