How To Install potrace on Fedora 36
Introduction
In this tutorial we learn how to install potrace
on Fedora 36.
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.
We can use yum
or dnf
to install potrace
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install potrace.
title: “How To Install potrace on Fedora 36”
linkTitle: “potrace” type: “docs”
Install potrace on Fedora 36 Using dnf
description: “In this tutorial we learn how to install potrace in Fedora 36. potrace is Transform bitmaps into vector graphics”
date: “2022-08-17”
Update yum database with dnf
using the following command.
lastmod: “2022-08-17”
#image: /images/fedora/36/potrace-featured.png
sudo dnf makecache --refresh
---
Introduction
In this tutorial we learn how to install potrace
on Fedora 36.
After updating yum database, We can install potrace
using dnf
by running the following command:
What is potrace
sudo dnf -y install 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.
We can use yum
or dnf
to install potrace
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install potrace.
Install potrace on Fedora 36 Using yum
Install potrace on Fedora 36 Using dnf
Update yum database with yum
using the following command.
Update yum database with dnf
using the following command.
```bash
sudo dnf makecache --refresh
sudo yum makecache --refresh
After updating yum database, We can install `potrace` using `dnf` by running the following command:
After updating yum database, We can install `potrace` using `yum` by running the following command:
```bash
sudo dnf -y install potrace
Install potrace on Fedora 36 Using yum
Update yum database with yum
using the following command.
```bash
sudo yum makecache --refresh
sudo yum -y install potrace
## How To Uninstall potrace on Fedora 36
After updating yum database, We can install `potrace` using `yum` by running the following command:
```bash
To uninstall only the `potrace` package we can use the following command:
sudo yum -y install potrace
## How To Uninstall potrace on Fedora 36
sudo dnf remove potrace
To uninstall only the potrace
package we can use the following command:
potrace Package Contents on Fedora 36
sudo dnf remove potrace
```bash
potrace Package Contents on Fedora 36
/usr/bin/mkbitmap
/usr/bin/potrace
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/2bf2bd23fa85b06d8df496a231e3a08f821d8b
/usr/lib/.build-id/67
/usr/lib/.build-id/67/32bddd9a76af623378ea38584483b1193429f3
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/6bf8092db329ec6a66848781ed26ead4d67b92
/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
References
Summary
In this tutorial we learn how to install potrace
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/mkbitmap /usr/bin/potrace /usr/lib/.build-id /usr/lib/.build-id/99 /usr/lib/.build-id/99/6e7f4c5596f995857cdc991da4fe42e9416846 /usr/lib/.build-id/d6 /usr/lib/.build-id/d6/37c2f87dd43313c4ea6f9ad529681bba0c8911 /usr/lib/.build-id/ee /usr/lib/.build-id/ee/ae8429f870180a0e1c1f7648557966d34aee10 /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)
## Summary
In this tutorial we learn how to install `potrace` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).