A library for reading RPM packages (supports version 3.0 and partially 4.0) powered by Angstrom.
Installation by OPAM package manager
$ opam install rpmfileor pin the latest development version from GitHub.
$ opam pin https://github.com/dx3mod/rpmfile.git# #require "rpmfile";;let pkg =
In_channel.with_open_bin Sys.argv.(1) Rpmfile.Reader.of_channel
|> Result.get_ok# Rpmfile.View.name pkg;;
- : string = "hello"For more details see source code and examples.