How To Install ocaml-cairo-pango on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-cairo-pango
on Fedora 36.
What is ocaml-cairo-pango
Cairo is a multi-platform library providing anti-aliased vector-based rendering for multiple target backends. Paths consist of line segments and cubic splines and can be rendered at any width with various join and cap styles. All colors may be specified with optional translucence (opacity/alpha) and combined using the extended Porter/Duff compositing algebra as found in the X Render Extension. Cairo exports a stateful rendering API similar in spirit to the path construction, text, and painting operators of PostScript, (with the significant addition of translucence in the imaging model). When complete, the API is intended to support the complete imaging model of PDF 1.4. This package contains OCaml bindings to use pango with cairo.
We can use yum
or dnf
to install ocaml-cairo-pango
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-cairo-pango.
Install ocaml-cairo-pango 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-cairo-pango
using dnf
by running the following command:
sudo dnf -y install ocaml-cairo-pango
Install ocaml-cairo-pango 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-cairo-pango
using yum
by running the following command:
sudo yum -y install ocaml-cairo-pango
How To Uninstall ocaml-cairo-pango on Fedora 36
To uninstall only the ocaml-cairo-pango
package we can use the following command:
sudo dnf remove ocaml-cairo-pango
ocaml-cairo-pango Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/761f961a4702448f0c95532186692959e68cce
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/5df6aef8a9705de443a86e80c5314bc1317e14
/usr/lib/ocaml/cairo2-pango
/usr/lib/ocaml/cairo2-pango/META
/usr/lib/ocaml/cairo2-pango/cairo_pango.cma
/usr/lib/ocaml/cairo2-pango/cairo_pango.cmi
/usr/lib/ocaml/cairo2-pango/cairo_pango.cmxs
/usr/lib/ocaml/stublibs/dllcairo_pango_stubs.so
References
Summary
In this tutorial we learn how to install ocaml-cairo-pango
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ocaml-cairo-pango on Fedora 36” linkTitle: “ocaml-cairo-pango” type: “docs” description: “In this tutorial we learn how to install ocaml-cairo-pango in Fedora 36. ocaml-cairo-pango is OCaml library to use pango with cairo” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-cairo-pango-featured.png
Introduction
In this tutorial we learn how to install ocaml-cairo-pango
on Fedora 36.
What is ocaml-cairo-pango
Cairo is a multi-platform library providing anti-aliased vector-based rendering for multiple target backends. Paths consist of line segments and cubic splines and can be rendered at any width with various join and cap styles. All colors may be specified with optional translucence (opacity/alpha) and combined using the extended Porter/Duff compositing algebra as found in the X Render Extension. Cairo exports a stateful rendering API similar in spirit to the path construction, text, and painting operators of PostScript, (with the significant addition of translucence in the imaging model). When complete, the API is intended to support the complete imaging model of PDF 1.4. This package contains OCaml bindings to use pango with cairo.
We can use yum
or dnf
to install ocaml-cairo-pango
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-cairo-pango.
Install ocaml-cairo-pango 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-cairo-pango
using dnf
by running the following command:
sudo dnf -y install ocaml-cairo-pango
Install ocaml-cairo-pango 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-cairo-pango
using yum
by running the following command:
sudo yum -y install ocaml-cairo-pango
How To Uninstall ocaml-cairo-pango on Fedora 36
To uninstall only the ocaml-cairo-pango
package we can use the following command:
sudo dnf remove ocaml-cairo-pango
ocaml-cairo-pango Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/e26f1edf7c4dabe195adb6d6bb3913ed53fcf7
/usr/lib/.build-id/df
/usr/lib/.build-id/df/1a7b3617d4a6103144f3d0281e55d895c90e30
/usr/lib64/ocaml/cairo2-pango
/usr/lib64/ocaml/cairo2-pango/META
/usr/lib64/ocaml/cairo2-pango/cairo_pango.cma
/usr/lib64/ocaml/cairo2-pango/cairo_pango.cmi
/usr/lib64/ocaml/cairo2-pango/cairo_pango.cmxs
/usr/lib64/ocaml/stublibs/dllcairo_pango_stubs.so
References
Summary
In this tutorial we learn how to install ocaml-cairo-pango
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).