How To Install R-Cairo on Fedora 36

In this tutorial we learn how to install R-Cairo in Fedora 36. R-Cairo is Use Cairo for high-quality bitmap, vector, and display output

Introduction

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

What is R-Cairo

R graphics device using cairographics library that can be used to create high-quality vector (PDF, PostScript and SVG) and bitmap output (PNG, JPEG, TIFF), and high-quality rendering in displays (X11 and Win32). Since it uses the same back-end for all output, copying across formats is WYSIWYG. Files are created without the dependence on X11 or other external programs. This device supports alpha channel (semi-transparent drawing) and resulting images can contain transparent and semi-transparent regions. It is ideal for use in server environments (file output) and as a replacement for other devices that don’t have Cairo’s capabilities such as alpha support or anti-aliasing. Backends are modular such that any subset of backends is supported.

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

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

sudo dnf -y install R-Cairo

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

sudo yum -y install R-Cairo

How To Uninstall R-Cairo on Fedora 36

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

sudo dnf remove R-Cairo

R-Cairo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/dcd522ab6fbc381a773fc2facb1884cbd03398
/usr/lib64/R/library/Cairo
/usr/lib64/R/library/Cairo/DESCRIPTION
/usr/lib64/R/library/Cairo/INDEX
/usr/lib64/R/library/Cairo/Meta
/usr/lib64/R/library/Cairo/Meta/Rd.rds
/usr/lib64/R/library/Cairo/Meta/features.rds
/usr/lib64/R/library/Cairo/Meta/hsearch.rds
/usr/lib64/R/library/Cairo/Meta/links.rds
/usr/lib64/R/library/Cairo/Meta/nsInfo.rds
/usr/lib64/R/library/Cairo/Meta/package.rds
/usr/lib64/R/library/Cairo/NAMESPACE
/usr/lib64/R/library/Cairo/NEWS
/usr/lib64/R/library/Cairo/R
/usr/lib64/R/library/Cairo/R/Cairo
/usr/lib64/R/library/Cairo/R/Cairo.rdb
/usr/lib64/R/library/Cairo/R/Cairo.rdx
/usr/lib64/R/library/Cairo/help
/usr/lib64/R/library/Cairo/help/AnIndex
/usr/lib64/R/library/Cairo/help/Cairo.capabilities.html
/usr/lib64/R/library/Cairo/help/Cairo.capture.html
/usr/lib64/R/library/Cairo/help/Cairo.html
/usr/lib64/R/library/Cairo/help/Cairo.onSave.html
/usr/lib64/R/library/Cairo/help/Cairo.rdb
/usr/lib64/R/library/Cairo/help/Cairo.rdx
/usr/lib64/R/library/Cairo/help/Cairo.serial.html
/usr/lib64/R/library/Cairo/help/Cairo.snapshot.html
/usr/lib64/R/library/Cairo/help/CairoFontMatch.html
/usr/lib64/R/library/Cairo/help/CairoFonts.html
/usr/lib64/R/library/Cairo/help/CairoJPEG.html
/usr/lib64/R/library/Cairo/help/CairoPDF.html
/usr/lib64/R/library/Cairo/help/CairoPNG.html
/usr/lib64/R/library/Cairo/help/CairoPS.html
/usr/lib64/R/library/Cairo/help/CairoSVG.html
/usr/lib64/R/library/Cairo/help/CairoTIFF.html
/usr/lib64/R/library/Cairo/help/CairoWin.html
/usr/lib64/R/library/Cairo/help/CairoX11.html
/usr/lib64/R/library/Cairo/help/aliases.rds
/usr/lib64/R/library/Cairo/help/paths.rds
/usr/lib64/R/library/Cairo/html
/usr/lib64/R/library/Cairo/html/00Index.html
/usr/lib64/R/library/Cairo/html/Cairo.capabilities.html
/usr/lib64/R/library/Cairo/html/Cairo.capture.html
/usr/lib64/R/library/Cairo/html/Cairo.html
/usr/lib64/R/library/Cairo/html/Cairo.onSave.html
/usr/lib64/R/library/Cairo/html/Cairo.serial.html
/usr/lib64/R/library/Cairo/html/CairoFontMatch.html
/usr/lib64/R/library/Cairo/html/CairoFonts.html
/usr/lib64/R/library/Cairo/html/R.css
/usr/lib64/R/library/Cairo/libs
/usr/lib64/R/library/Cairo/libs/Cairo.so

References

Summary

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