How To Install potrace on Fedora 34
Introduction
In this tutorial we learn how to install potrace
on Fedora 34.
What is potrace
Potrace is a utility for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP format), and the default output is an encapsulated PostScript file (EPS). A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc. The resulting image is not “jaggy” like a bitmap, but smooth. It can then be rendered at any resolution. Potrace can currently produce the following output formats PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy antialiasing). Additional backends might be added in the future. Mkbitmap is a program distributed with Potrace which can be used to pre-process the input for better tracing behavior on greyscale and color images. potrace 1.16 5.fc34 x86_64 121 k potrace-1.16-5.fc34.src.rpm fedora Transform bitmaps into vector graphics http GPLv2+ Potrace is a utility for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP format), and the default output is an encapsulated PostScript file (EPS). A typical use is to create EPS files from scanned data, such as company or university logos, handwritten notes, etc. The resulting image is not “jaggy” like a bitmap, but smooth. It can then be rendered at any resolution. Potrace can currently produce the following output formats PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM (for easy antialiasing). Additional backends might be added in the future. Mkbitmap is a program distributed with Potrace which can be used to pre-process the input for better tracing behavior on greyscale and color images.
We can use yum
or dnf
to install potrace
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install potrace.
Install potrace 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 potrace
using dnf
by running the following command:
sudo dnf -y install potrace
Install potrace 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 potrace
using yum
by running the following command:
sudo yum -y install potrace
How To Uninstall potrace on Fedora 34
To uninstall only the potrace
package we can use the following command:
sudo dnf remove potrace
potrace Package Contents on Fedora 34
/usr/bin/mkbitmap
/usr/bin/potrace
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/30334260cf1baf0a927d0ccd05a546b9ec1e2f
/usr/lib/.build-id/92
/usr/lib/.build-id/92/25f13ec7e178ce028bab3348982607c74c900b
/usr/lib/.build-id/db
/usr/lib/.build-id/db/b5c91deb54a66616a80509f87c7979b535fc6f
/usr/lib/libpotrace.so.0
/usr/lib/libpotrace.so.0.0.6
/usr/share/doc/potrace
/usr/share/doc/potrace/AUTHORS
/usr/share/doc/potrace/COPYING
/usr/share/doc/potrace/ChangeLog
/usr/share/doc/potrace/NEWS
/usr/share/doc/potrace/README
/usr/share/doc/potrace/placement.pdf
/usr/share/man/man1/mkbitmap.1.gz
/usr/share/man/man1/potrace.1.gz
/usr/bin/mkbitmap
/usr/bin/potrace
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/613b3d894240847031def2dc7d3b90b516d20d
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/974ade034a0a653bfcb0b36223544650f1f5b8
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/2573597e830d2c17bb2b7c73cdf77dcb69c2d5
/usr/lib64/libpotrace.so.0
/usr/lib64/libpotrace.so.0.0.6
/usr/share/doc/potrace
/usr/share/doc/potrace/AUTHORS
/usr/share/doc/potrace/COPYING
/usr/share/doc/potrace/ChangeLog
/usr/share/doc/potrace/NEWS
/usr/share/doc/potrace/README
/usr/share/doc/potrace/placement.pdf
/usr/share/man/man1/mkbitmap.1.gz
/usr/share/man/man1/potrace.1.gz
References
- [potrace website](http://potrace.sourceforge.net http://potrace.sourceforge.net)
Summary
In this tutorial we learn how to install potrace
on Fedora 34 using yum and dnf.