How To Install gl2ps on Fedora 36

In this tutorial we learn how to install gl2ps in Fedora 36. gl2ps is An OpenGL to PostScript printing library

Introduction

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

What is gl2ps

GL2PS is a C library providing high quality vector output for any OpenGL application. The main difference between GL2PS and other similar libraries is the use of sorting algorithms capable of handling intersecting and stretched polygons, as well as non manifold objects. GL2PS provides advanced smooth shading and text rendering, culling of invisible primitives, mixed vector/bitmap output, and much more… GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS) and Portable Document Format (PDF) files, as well as LaTeX files for the text fragments. Adding new vector output formats should be relatively easy (and amongst the formats we would be interested in adding, SVG is first in line). Meanwhile, you can use the excellent pstoedit program to transform the PostScript files generated by GL2PS into many other vector formats such as xfig, cgm, wmf, etc.

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

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

sudo dnf -y install gl2ps

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

sudo yum -y install gl2ps

How To Uninstall gl2ps on Fedora 36

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

sudo dnf remove gl2ps

gl2ps Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/3fb4fbc8d0d4704ccd1b2de0d5ce75b956fa94
/usr/lib/libgl2ps.so.1
/usr/lib/libgl2ps.so.1.4.2
/usr/share/doc/gl2ps
/usr/share/doc/gl2ps/README.txt
/usr/share/licenses/gl2ps
/usr/share/licenses/gl2ps/COPYING.GL2PS
/usr/share/licenses/gl2ps/COPYING.LGPL

References

Summary

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


title: “How To Install gl2ps on Fedora 36” linkTitle: “gl2ps” type: “docs” description: “In this tutorial we learn how to install gl2ps in Fedora 36. gl2ps is An OpenGL to PostScript printing library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/gl2ps-featured.png

Introduction

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

What is gl2ps

GL2PS is a C library providing high quality vector output for any OpenGL application. The main difference between GL2PS and other similar libraries is the use of sorting algorithms capable of handling intersecting and stretched polygons, as well as non manifold objects. GL2PS provides advanced smooth shading and text rendering, culling of invisible primitives, mixed vector/bitmap output, and much more… GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS) and Portable Document Format (PDF) files, as well as LaTeX files for the text fragments. Adding new vector output formats should be relatively easy (and amongst the formats we would be interested in adding, SVG is first in line). Meanwhile, you can use the excellent pstoedit program to transform the PostScript files generated by GL2PS into many other vector formats such as xfig, cgm, wmf, etc.

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

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

sudo dnf -y install gl2ps

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

sudo yum -y install gl2ps

How To Uninstall gl2ps on Fedora 36

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

sudo dnf remove gl2ps

gl2ps Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/6642bbd41b3fd6e461ab22b6676281961ddb90
/usr/lib64/libgl2ps.so.1
/usr/lib64/libgl2ps.so.1.4.2
/usr/share/doc/gl2ps
/usr/share/doc/gl2ps/README.txt
/usr/share/licenses/gl2ps
/usr/share/licenses/gl2ps/COPYING.GL2PS
/usr/share/licenses/gl2ps/COPYING.LGPL

References

Summary

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