How to Install and Uninstall libagrep-ocaml Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "libagrep-ocaml" package

In this section, we are going to explain the necessary steps to install libagrep-ocaml on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libagrep-ocaml

2. Uninstall "libagrep-ocaml" package

Please follow the steps below to uninstall libagrep-ocaml on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libagrep-ocaml $ sudo apt autoclean && sudo apt autoremove

3. Information about the libagrep-ocaml package on Ubuntu 21.04 (Hirsute Hippo)

Package: libagrep-ocaml
Architecture: amd64
Version: 1.0-13build2
Priority: optional
Section: universe/libs
Source: ocamlagrep
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Provides: libagrep-ocaml-p2nb3
Depends: ocaml-base-nox-4.11.1, libc6 (>= 2.2.5)
Filename: pool/universe/o/ocamlagrep/libagrep-ocaml_1.0-13build2_amd64.deb
Size: 7716
MD5sum: 1fa289e310d52d0f3f3b5232e331d32a
SHA1: 026c9cea90099f83da6eb285bce0ac7dbfed245e
SHA256: 31a94d23a330bdf56812aa7772810fb7fb1f09b238b0949454a02414f52af084
SHA512: 77f62ff70c5f1a7b71be30d1862e101ca7c66d329cacc7926e498df25a67b58396571ec194104dbee67bbd9576b394fd699a36f2e4c5405f40ebc193b88fd859
Homepage: http://forge.ocamlcore.org/projects/ocamlagrep/
Description-en: Wu-Manber algorithm for string searching with errors
This OCaml library implements the Wu-Manber algorithm for string searching
with errors, popularized by the "agrep" Unix command and the "glimpse" file
indexing tool. It was developed as part of a search engine for a largish MP3
collection; the "with error" searching comes handy for those who can't spell
Liszt or Shostakovitch.
.
Given a search pattern and a string, this algorithm determines whether the
string contains a substring that matches the pattern up to a parameterizable
number N of "errors". An "error" is either a substitution (replace a
character of the string with another character), a deletion (remove a
character) or an insertion (add a character to the string). In more
scientific terms, the number of errors is the Levenshtein edit distance
between the pattern and the matched substring.
.
The search patterns are roughly those of the Unix shell, including
one-character wildcard (?), character classes ([0-9]) and multi-character
wildcard (*). In addition, conjunction (&) and alternative (|) are supported.
General regular expressions are not supported, however.
.
This package contains only the shared runtime stub libraries.
Description-md5: f7d07cceddd21f8631f0bd6d97f2cc29