How To Install R-rsvg on Fedora 36

In this tutorial we learn how to install R-rsvg in Fedora 36. R-rsvg is Render SVG Images into PDF, PNG, PostScript, or Bitmap Arrays

Introduction

In this tutorial we learn how to install R-rsvg on Fedora 36.

What is R-rsvg

Renders vector-based svg images into high-quality custom-size bitmap arrays using ’librsvg2’. The resulting bitmap can be written to e.g. png, jpeg or webp format. In addition, the package can convert images directly to various formats such as pdf or postscript.

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

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

sudo dnf -y install R-rsvg

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

sudo yum -y install R-rsvg

How To Uninstall R-rsvg on Fedora 36

To uninstall only the R-rsvg package we can use the following command:

sudo dnf remove R-rsvg

R-rsvg Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/8ff9300f6b8ab747b8b16233b9874dcd5b5564
/usr/lib64/R/library/rsvg
/usr/lib64/R/library/rsvg/DESCRIPTION
/usr/lib64/R/library/rsvg/INDEX
/usr/lib64/R/library/rsvg/LICENSE
/usr/lib64/R/library/rsvg/Meta
/usr/lib64/R/library/rsvg/Meta/Rd.rds
/usr/lib64/R/library/rsvg/Meta/features.rds
/usr/lib64/R/library/rsvg/Meta/hsearch.rds
/usr/lib64/R/library/rsvg/Meta/links.rds
/usr/lib64/R/library/rsvg/Meta/nsInfo.rds
/usr/lib64/R/library/rsvg/Meta/package.rds
/usr/lib64/R/library/rsvg/Meta/vignette.rds
/usr/lib64/R/library/rsvg/NAMESPACE
/usr/lib64/R/library/rsvg/NEWS
/usr/lib64/R/library/rsvg/R
/usr/lib64/R/library/rsvg/R/rsvg
/usr/lib64/R/library/rsvg/R/rsvg.rdb
/usr/lib64/R/library/rsvg/R/rsvg.rdx
/usr/lib64/R/library/rsvg/WORDLIST
/usr/lib64/R/library/rsvg/doc
/usr/lib64/R/library/rsvg/doc/index.html
/usr/lib64/R/library/rsvg/doc/svg-css.R
/usr/lib64/R/library/rsvg/doc/svg-css.Rmd
/usr/lib64/R/library/rsvg/doc/svg-css.html
/usr/lib64/R/library/rsvg/help
/usr/lib64/R/library/rsvg/help/AnIndex
/usr/lib64/R/library/rsvg/help/aliases.rds
/usr/lib64/R/library/rsvg/help/librsvg_version.html
/usr/lib64/R/library/rsvg/help/paths.rds
/usr/lib64/R/library/rsvg/help/rsvg.html
/usr/lib64/R/library/rsvg/help/rsvg.rdb
/usr/lib64/R/library/rsvg/help/rsvg.rdx
/usr/lib64/R/library/rsvg/help/rsvg_pdf.html
/usr/lib64/R/library/rsvg/help/rsvg_png.html
/usr/lib64/R/library/rsvg/help/rsvg_ps.html
/usr/lib64/R/library/rsvg/help/rsvg_raw.html
/usr/lib64/R/library/rsvg/help/rsvg_svg.html
/usr/lib64/R/library/rsvg/help/rsvg_webp.html
/usr/lib64/R/library/rsvg/html
/usr/lib64/R/library/rsvg/html/00Index.html
/usr/lib64/R/library/rsvg/html/R.css
/usr/lib64/R/library/rsvg/html/librsvg_version.html
/usr/lib64/R/library/rsvg/html/rsvg.html
/usr/lib64/R/library/rsvg/libs
/usr/lib64/R/library/rsvg/libs/rsvg.so

References

Summary

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