How To Install unpaper on Fedora 34

unpaper is Post-processing of scanned and photocopied book pages

Introduction

In this tutorial we learn how to install unpaper on Fedora 34.

What is unpaper

unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies. The main purpose is to make scanned book pages better readable on screen after conversion to PDF. Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR). unpaper tries to clean scanned images by removing dark edges that appeared through scanning or copying on areas outside the actual page content (e.g. dark areas between the left-hand-side and the right-hand-side of a double- sided book-page scan). The program also tries to detect misaligned centering and rotation of pages and will automatically straighten each page by rotating it to the correct angle. This process is called “deskewing”.

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

Install unpaper on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install unpaper using dnf by running the following command:

sudo dnf -y install unpaper

Install unpaper on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install unpaper using yum by running the following command:

sudo yum -y install unpaper

How To Uninstall unpaper on Fedora 34

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

sudo dnf remove unpaper

unpaper Package Contents on Fedora 34

/usr/bin/unpaper
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/53eef76118e2d1e146f7014b6e26952a6c6bef
/usr/share/doc/unpaper
/usr/share/doc/unpaper/CHANGELOG
/usr/share/doc/unpaper/README
/usr/share/doc/unpaper/doc
/usr/share/doc/unpaper/doc/img
/usr/share/doc/unpaper/doc/img/_after.png
/usr/share/doc/unpaper/doc/img/_arrow.png
/usr/share/doc/unpaper/doc/img/_before.png
/usr/share/doc/unpaper/doc/img/blackfilter-detail.png
/usr/share/doc/unpaper/doc/img/blackfilter.png
/usr/share/doc/unpaper/doc/img/blurfilter-detail.png
/usr/share/doc/unpaper/doc/img/blurfilter.png
/usr/share/doc/unpaper/doc/img/border-align.png
/usr/share/doc/unpaper/doc/img/border-scan.png
/usr/share/doc/unpaper/doc/img/deskew-detail1.png
/usr/share/doc/unpaper/doc/img/deskew-detail2.png
/usr/share/doc/unpaper/doc/img/deskew.png
/usr/share/doc/unpaper/doc/img/documentation.odg
/usr/share/doc/unpaper/doc/img/input-pages.png
/usr/share/doc/unpaper/doc/img/layout-templates.png
/usr/share/doc/unpaper/doc/img/mask-center.png
/usr/share/doc/unpaper/doc/img/mask-scan-detail1.png
/usr/share/doc/unpaper/doc/img/mask-scan-detail2.png
/usr/share/doc/unpaper/doc/img/mask-scan.png
/usr/share/doc/unpaper/doc/img/multiple-input-files.png
/usr/share/doc/unpaper/doc/img/multiple-output-files.png
/usr/share/doc/unpaper/doc/img/noisefilter.png
/usr/share/doc/unpaper/doc/img/nospam.js
/usr/share/doc/unpaper/doc/img/output-pages.png
/usr/share/doc/unpaper/doc/img/processing-order.png
/usr/share/doc/unpaper/doc/img/sheetspages.png
/usr/share/doc/unpaper/doc/img/standard-deviation.png
/usr/share/doc/unpaper/doc/img/style.css
/usr/share/doc/unpaper/doc/img/x-click-but04.gif
/usr/share/doc/unpaper/doc/index.html
/usr/share/doc/unpaper/doc/unpaper.html
/usr/share/licenses/unpaper
/usr/share/licenses/unpaper/LICENSE

References

Summary

In this tutorial we learn how to install unpaper on Fedora 34 using yum and dnf.