How To Install R-png on Fedora 36

In this tutorial we learn how to install R-png in Fedora 36. R-png is Read and write PNG images

Introduction

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

What is R-png

This package provides an easy and simple way to read, write and display bitmap images stored in the PNG format. It can read and write both files and in-memory raw vectors.

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

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

sudo dnf -y install R-png

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

sudo yum -y install R-png

How To Uninstall R-png on Fedora 36

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

sudo dnf remove R-png

R-png Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/7e5281303c5c47fa085c23ce52c1947569c37e
/usr/lib64/R/library/png
/usr/lib64/R/library/png/DESCRIPTION
/usr/lib64/R/library/png/INDEX
/usr/lib64/R/library/png/Meta
/usr/lib64/R/library/png/Meta/Rd.rds
/usr/lib64/R/library/png/Meta/features.rds
/usr/lib64/R/library/png/Meta/hsearch.rds
/usr/lib64/R/library/png/Meta/links.rds
/usr/lib64/R/library/png/Meta/nsInfo.rds
/usr/lib64/R/library/png/Meta/package.rds
/usr/lib64/R/library/png/NAMESPACE
/usr/lib64/R/library/png/NEWS
/usr/lib64/R/library/png/R
/usr/lib64/R/library/png/R/png
/usr/lib64/R/library/png/R/png.rdb
/usr/lib64/R/library/png/R/png.rdx
/usr/lib64/R/library/png/help
/usr/lib64/R/library/png/help/AnIndex
/usr/lib64/R/library/png/help/aliases.rds
/usr/lib64/R/library/png/help/paths.rds
/usr/lib64/R/library/png/help/png.rdb
/usr/lib64/R/library/png/help/png.rdx
/usr/lib64/R/library/png/help/readPNG.html
/usr/lib64/R/library/png/help/writePNG.html
/usr/lib64/R/library/png/html
/usr/lib64/R/library/png/html/00Index.html
/usr/lib64/R/library/png/html/R.css
/usr/lib64/R/library/png/html/readPNG.html
/usr/lib64/R/library/png/html/writePNG.html
/usr/lib64/R/library/png/img
/usr/lib64/R/library/png/img/Rlogo.png
/usr/lib64/R/library/png/libs
/usr/lib64/R/library/png/libs/png.so

References

Summary

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