How To Install rubygem-prawn-svg on Fedora 36

In this tutorial we learn how to install rubygem-prawn-svg in Fedora 36. rubygem-prawn-svg is SVG renderer for Prawn PDF library

Introduction

In this tutorial we learn how to install rubygem-prawn-svg on Fedora 36.

What is rubygem-prawn-svg

This gem allows you to render SVG directly into a PDF using the ‘prawn’ gem. Since PDF is vector-based, you’ll get nice scaled graphics if you use SVG instead of an image.

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

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

sudo dnf -y install rubygem-prawn-svg

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

sudo yum -y install rubygem-prawn-svg

How To Uninstall rubygem-prawn-svg on Fedora 36

To uninstall only the rubygem-prawn-svg package we can use the following command:

sudo dnf remove rubygem-prawn-svg

rubygem-prawn-svg Package Contents on Fedora 36

/usr/share/gems/gems/prawn-svg-0.32.0
/usr/share/gems/gems/prawn-svg-0.32.0/LICENSE
/usr/share/gems/gems/prawn-svg-0.32.0/README.md
/usr/share/gems/gems/prawn-svg-0.32.0/lib
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn-svg.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes/clip_path.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes/opacity.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes/space.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes/stroke.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/attributes/transform.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/calculators
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/calculators/arc_to_bezier_curve.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/calculators/aspect_ratio.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/calculators/document_sizing.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/calculators/pixels.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/color.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/css
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/css/font_family_parser.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/css/selector_parser.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/css/stylesheets.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/document.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/base.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/call_duplicator.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/circle.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/clip_path.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/container.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/depth_first_base.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/ellipse.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/gradient.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/ignored.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/image.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/line.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/marker.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/path.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/polygon.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/polyline.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/rect.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/root.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/text.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/text_component.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/use.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/elements/viewport.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/extension.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/extensions
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/extensions/additional_gradient_transforms.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/font.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/font_registry.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/interface.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/loaders
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/loaders/data.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/loaders/file.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/loaders/web.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/pathable.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/properties.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/state.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/transform_parser.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/ttf.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/url_loader.rb
/usr/share/gems/gems/prawn-svg-0.32.0/lib/prawn/svg/version.rb
/usr/share/gems/specifications/prawn-svg-0.32.0.gemspec

References

Summary

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