How To Install leptonica on Fedora 36

In this tutorial we learn how to install leptonica in Fedora 36. leptonica is C library for efficient image processing and image analysis operations

Introduction

In this tutorial we learn how to install leptonica on Fedora 36.

What is leptonica

The library supports many operations that are useful on * Document images * Natural images Fundamental image processing and image analysis operations * Rasterop (aka bitblt) * Affine transforms (scaling, translation, rotation, shear) on images of arbitrary pixel depth * Projective and bi-linear transforms * Binary and gray scale morphology, rank order filters, and convolution * Seed-fill and connected components * Image transformations with changes in pixel depth, both at the same scale and with scale change * Pixelwise masking, blending, enhancement, arithmetic ops, etc.

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

Install leptonica 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 leptonica using dnf by running the following command:

sudo dnf -y install leptonica

Install leptonica 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 leptonica using yum by running the following command:

sudo yum -y install leptonica

How To Uninstall leptonica on Fedora 36

To uninstall only the leptonica package we can use the following command:

sudo dnf remove leptonica

leptonica Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/63089ba7c00d71c5471f157adbf34bb5d7130e
/usr/lib64/libleptonica.so.5
/usr/lib64/libleptonica.so.5.4.0
/usr/share/doc/leptonica
/usr/share/doc/leptonica/README.html
/usr/share/doc/leptonica/version-notes.html
/usr/share/licenses/leptonica
/usr/share/licenses/leptonica/leptonica-license.txt

References

Summary

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


title: “How To Install leptonica on Fedora 36” linkTitle: “leptonica” type: “docs” description: “In this tutorial we learn how to install leptonica in Fedora 36. leptonica is C library for efficient image processing and image analysis operations” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/leptonica-featured.png

Introduction

In this tutorial we learn how to install leptonica on Fedora 36.

What is leptonica

The library supports many operations that are useful on * Document images * Natural images Fundamental image processing and image analysis operations * Rasterop (aka bitblt) * Affine transforms (scaling, translation, rotation, shear) on images of arbitrary pixel depth * Projective and bi-linear transforms * Binary and gray scale morphology, rank order filters, and convolution * Seed-fill and connected components * Image transformations with changes in pixel depth, both at the same scale and with scale change * Pixelwise masking, blending, enhancement, arithmetic ops, etc.

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

Install leptonica 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 leptonica using dnf by running the following command:

sudo dnf -y install leptonica

Install leptonica 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 leptonica using yum by running the following command:

sudo yum -y install leptonica

How To Uninstall leptonica on Fedora 36

To uninstall only the leptonica package we can use the following command:

sudo dnf remove leptonica

leptonica Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/e0b98cd2652186ea54b9c5eafb32ccca9e572c
/usr/lib/libleptonica.so.5
/usr/lib/libleptonica.so.5.4.0
/usr/share/doc/leptonica
/usr/share/doc/leptonica/README.html
/usr/share/doc/leptonica/version-notes.html
/usr/share/licenses/leptonica
/usr/share/licenses/leptonica/leptonica-license.txt

References

Summary

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