How To Install ocaml-parsexp on Fedora 36

In this tutorial we learn how to install ocaml-parsexp in Fedora 36. ocaml-parsexp is S-expression parsing library

Introduction

In this tutorial we learn how to install ocaml-parsexp on Fedora 36.

What is ocaml-parsexp

This library provides generic parsers for parsing S-expressions from strings or other media. The library is focused on performance but still provides full generic parsers that can be used effortlessly with strings, bigstrings, lexing buffers, character streams or any other source. It provides three different classes of parsers - the normal parsers, producing [Sexp.t] or [Sexp.t list] values; - the parsers with positions, building compact position sequences so that one can recover original positions in order to properly report error locations at little cost; and - the Concrete Syntax Tree parsers, producing values of type [Parsexp.Cst.t] which record the concrete layout of the s-expression syntax, including comments. This library is portable and doesn’t provide I/O functions. To read s-expressions from files or other external sources, you should use parsexp_io.

We can use yum or dnf to install ocaml-parsexp on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-parsexp.

Install ocaml-parsexp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocaml-parsexp using dnf by running the following command:

sudo dnf -y install ocaml-parsexp

Install ocaml-parsexp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-parsexp using yum by running the following command:

sudo yum -y install ocaml-parsexp

How To Uninstall ocaml-parsexp on Fedora 36

To uninstall only the ocaml-parsexp package we can use the following command:

sudo dnf remove ocaml-parsexp

ocaml-parsexp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/686b8c4a1f3cabc0226bffb5aa88ed8ada6736
/usr/lib/ocaml/parsexp
/usr/lib/ocaml/parsexp/META
/usr/lib/ocaml/parsexp/parsexp.cma
/usr/lib/ocaml/parsexp/parsexp.cmi
/usr/lib/ocaml/parsexp/parsexp.cmxs
/usr/lib/ocaml/parsexp/parsexp__.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_action.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_stack.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_stack_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_state.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_state_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Automaton_tables.cmi
/usr/lib/ocaml/parsexp/parsexp__Conv.cmi
/usr/lib/ocaml/parsexp/parsexp__Conv_error.cmi
/usr/lib/ocaml/parsexp/parsexp__Conv_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Cst.cmi
/usr/lib/ocaml/parsexp/parsexp__Import.cmi
/usr/lib/ocaml/parsexp/parsexp__Of_sexp_error.cmi
/usr/lib/ocaml/parsexp/parsexp__Old_parser_cont_state.cmi
/usr/lib/ocaml/parsexp/parsexp__Parse_error.cmi
/usr/lib/ocaml/parsexp/parsexp__Parse_error_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Parser.cmi
/usr/lib/ocaml/parsexp/parsexp__Parser_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Parsexp_intf.cmi
/usr/lib/ocaml/parsexp/parsexp__Positions.cmi
/usr/share/doc/ocaml-parsexp
/usr/share/doc/ocaml-parsexp/CHANGES.md
/usr/share/doc/ocaml-parsexp/README.org
/usr/share/licenses/ocaml-parsexp
/usr/share/licenses/ocaml-parsexp/LICENSE.md

References

Summary

In this tutorial we learn how to install ocaml-parsexp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install ocaml-parsexp on Fedora 36” linkTitle: “ocaml-parsexp” type: “docs” description: “In this tutorial we learn how to install ocaml-parsexp in Fedora 36. ocaml-parsexp is S-expression parsing library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-parsexp-featured.png

Introduction

In this tutorial we learn how to install ocaml-parsexp on Fedora 36.

What is ocaml-parsexp

This library provides generic parsers for parsing S-expressions from strings or other media. The library is focused on performance but still provides full generic parsers that can be used effortlessly with strings, bigstrings, lexing buffers, character streams or any other source. It provides three different classes of parsers - the normal parsers, producing [Sexp.t] or [Sexp.t list] values; - the parsers with positions, building compact position sequences so that one can recover original positions in order to properly report error locations at little cost; and - the Concrete Syntax Tree parsers, producing values of type [Parsexp.Cst.t] which record the concrete layout of the s-expression syntax, including comments. This library is portable and doesn’t provide I/O functions. To read s-expressions from files or other external sources, you should use parsexp_io.

We can use yum or dnf to install ocaml-parsexp on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-parsexp.

Install ocaml-parsexp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocaml-parsexp using dnf by running the following command:

sudo dnf -y install ocaml-parsexp

Install ocaml-parsexp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocaml-parsexp using yum by running the following command:

sudo yum -y install ocaml-parsexp

How To Uninstall ocaml-parsexp on Fedora 36

To uninstall only the ocaml-parsexp package we can use the following command:

sudo dnf remove ocaml-parsexp

ocaml-parsexp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/48afb9169c2b0666d07ee8d44f81920c69edb7
/usr/lib64/ocaml/parsexp
/usr/lib64/ocaml/parsexp/META
/usr/lib64/ocaml/parsexp/parsexp.cma
/usr/lib64/ocaml/parsexp/parsexp.cmi
/usr/lib64/ocaml/parsexp/parsexp.cmxs
/usr/lib64/ocaml/parsexp/parsexp__.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_action.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_stack.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_stack_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_state.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_state_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Automaton_tables.cmi
/usr/lib64/ocaml/parsexp/parsexp__Conv.cmi
/usr/lib64/ocaml/parsexp/parsexp__Conv_error.cmi
/usr/lib64/ocaml/parsexp/parsexp__Conv_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Cst.cmi
/usr/lib64/ocaml/parsexp/parsexp__Import.cmi
/usr/lib64/ocaml/parsexp/parsexp__Of_sexp_error.cmi
/usr/lib64/ocaml/parsexp/parsexp__Old_parser_cont_state.cmi
/usr/lib64/ocaml/parsexp/parsexp__Parse_error.cmi
/usr/lib64/ocaml/parsexp/parsexp__Parse_error_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Parser.cmi
/usr/lib64/ocaml/parsexp/parsexp__Parser_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Parsexp_intf.cmi
/usr/lib64/ocaml/parsexp/parsexp__Positions.cmi
/usr/share/doc/ocaml-parsexp
/usr/share/doc/ocaml-parsexp/CHANGES.md
/usr/share/doc/ocaml-parsexp/README.org
/usr/share/licenses/ocaml-parsexp
/usr/share/licenses/ocaml-parsexp/LICENSE.md

References

Summary

In this tutorial we learn how to install ocaml-parsexp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).