How To Install R-sysfonts on Fedora 36

In this tutorial we learn how to install R-sysfonts in Fedora 36. R-sysfonts is Loading Fonts into R

Introduction

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

What is R-sysfonts

Loading system fonts and Google Fonts <https in order to support other packages such as ‘R2SWF’ and ‘showtext’.

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

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

sudo dnf -y install R-sysfonts

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

sudo yum -y install R-sysfonts

How To Uninstall R-sysfonts on Fedora 36

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

sudo dnf remove R-sysfonts

R-sysfonts Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/291444afd4238cbefb08764bb614faa1429c79
/usr/lib64/R/library/sysfonts
/usr/lib64/R/library/sysfonts/AUTHORS
/usr/lib64/R/library/sysfonts/COPYRIGHTS
/usr/lib64/R/library/sysfonts/DESCRIPTION
/usr/lib64/R/library/sysfonts/INDEX
/usr/lib64/R/library/sysfonts/Meta
/usr/lib64/R/library/sysfonts/Meta/Rd.rds
/usr/lib64/R/library/sysfonts/Meta/features.rds
/usr/lib64/R/library/sysfonts/Meta/hsearch.rds
/usr/lib64/R/library/sysfonts/Meta/links.rds
/usr/lib64/R/library/sysfonts/Meta/nsInfo.rds
/usr/lib64/R/library/sysfonts/Meta/package.rds
/usr/lib64/R/library/sysfonts/NAMESPACE
/usr/lib64/R/library/sysfonts/NEWS.Rd
/usr/lib64/R/library/sysfonts/R
/usr/lib64/R/library/sysfonts/R/sysfonts
/usr/lib64/R/library/sysfonts/R/sysfonts.rdb
/usr/lib64/R/library/sysfonts/R/sysfonts.rdx
/usr/lib64/R/library/sysfonts/fonts
/usr/lib64/R/library/sysfonts/fonts/LiberationMono-Bold.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationMono-BoldItalic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationMono-Italic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationMono-Regular.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSans-Bold.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSans-BoldItalic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSans-Italic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSans-Regular.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSerif-Bold.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSerif-BoldItalic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSerif-Italic.ttf
/usr/lib64/R/library/sysfonts/fonts/LiberationSerif-Regular.ttf
/usr/lib64/R/library/sysfonts/fonts/webfonts.bz2
/usr/lib64/R/library/sysfonts/help
/usr/lib64/R/library/sysfonts/help/AnIndex
/usr/lib64/R/library/sysfonts/help/aliases.rds
/usr/lib64/R/library/sysfonts/help/font.add.google.html
/usr/lib64/R/library/sysfonts/help/font.add.html
/usr/lib64/R/library/sysfonts/help/font.families.google.html
/usr/lib64/R/library/sysfonts/help/font.families.html
/usr/lib64/R/library/sysfonts/help/font.files.html
/usr/lib64/R/library/sysfonts/help/font.paths.html
/usr/lib64/R/library/sysfonts/help/font_add.html
/usr/lib64/R/library/sysfonts/help/font_add_google.html
/usr/lib64/R/library/sysfonts/help/font_families.html
/usr/lib64/R/library/sysfonts/help/font_families_google.html
/usr/lib64/R/library/sysfonts/help/font_files.html
/usr/lib64/R/library/sysfonts/help/font_info_google.html
/usr/lib64/R/library/sysfonts/help/font_paths.html
/usr/lib64/R/library/sysfonts/help/paths.rds
/usr/lib64/R/library/sysfonts/help/sysfonts.rdb
/usr/lib64/R/library/sysfonts/help/sysfonts.rdx
/usr/lib64/R/library/sysfonts/html
/usr/lib64/R/library/sysfonts/html/00Index.html
/usr/lib64/R/library/sysfonts/html/R.css
/usr/lib64/R/library/sysfonts/html/font_add.html
/usr/lib64/R/library/sysfonts/html/font_add_google.html
/usr/lib64/R/library/sysfonts/html/font_families.html
/usr/lib64/R/library/sysfonts/html/font_families_google.html
/usr/lib64/R/library/sysfonts/html/font_files.html
/usr/lib64/R/library/sysfonts/html/font_info_google.html
/usr/lib64/R/library/sysfonts/html/font_paths.html
/usr/lib64/R/library/sysfonts/libs
/usr/lib64/R/library/sysfonts/libs/sysfonts.so

References

Summary

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