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

Last updated: December 23,2024

1. Install "libhttp-ocaml-dev" package

This guide covers the steps necessary to install libhttp-ocaml-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libhttp-ocaml-dev

2. Uninstall "libhttp-ocaml-dev" package

This tutorial shows how to uninstall libhttp-ocaml-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libhttp-ocaml-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: libhttp-ocaml-dev
Architecture: amd64
Version: 0.1.6-1build1
Priority: optional
Section: universe/devel
Source: ocaml-http
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OCaml Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 921
Depends: libocamlnet-ocaml-dev-2d6s9, libpcre-ocaml-dev-l5rk6, ocaml-nox-4.11.1
Suggests: ocaml-findlib
Filename: pool/universe/o/ocaml-http/libhttp-ocaml-dev_0.1.6-1build1_amd64.deb
Size: 94356
MD5sum: fdbb0b5255875bc65ca088744cfecb1f
SHA1: 12ad2da3ae550599a0ee363153d4bd41be179ab1
SHA256: 0f27e5bd06231d63e819a3d4eda1941fcb8086a88d5e5df245dc5ff43e4cb8d8
SHA512: af85e83108d4e6eda7f24a0b488416a9912e726b288ae161e964744e0b708743ef36ef899560a6cdf91b1e819a7e7ccea2d6f639ae99137a2b43d58c5bf25c6a
Homepage: https://github.com/sacerdot/ocaml-http
Description-en: OCaml library for writing HTTP servers
OCaml HTTP is a library for the Objective Caml programming language,
used to build simple HTTP servers, largely inspired to Perl's
HTTP::Daemon module.
.
In order to implement an HTTP servers the programmer has to provide a
daemon specification which contains, among other parameters, a callback
function invoked by OCaml HTTP on well formed HTTP requests received.
HTTP responses could be sent over an out_channel connected with client
socket, accessible from the callback.
.
The library contains also facility functions that helps in creating
well formed HTTP responses and a tiny HTTP client.
Description-md5: 335d43f7d6f38b27406d80f1523eed6f