How To Install R-jsonlite on Fedora 36

In this tutorial we learn how to install R-jsonlite in Fedora 36. R-jsonlite is A Simple and Robust JSON Parser and Generator for R

Introduction

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

What is R-jsonlite

A reasonably fast JSON parser and generator, optimized for statistical data and the web. Offers simple, flexible tools for working with JSON in R, and is particularly powerful for building pipelines and interacting with a web API. The implementation is based on the mapping described in the vignette (Ooms, 2014). In addition to converting JSON data from/to R objects, ‘jsonlite’ contains functions to stream, validate, and prettify JSON data. The unit tests included with the package verify that all edge cases are encoded and decoded consistently for use with dynamic data in systems and applications.

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

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

sudo dnf -y install R-jsonlite

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

sudo yum -y install R-jsonlite

How To Uninstall R-jsonlite on Fedora 36

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

sudo dnf remove R-jsonlite

R-jsonlite Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/e658392608d49111467fb858244f5a2f3f63a1
/usr/lib64/R/library/jsonlite
/usr/lib64/R/library/jsonlite/CITATION
/usr/lib64/R/library/jsonlite/DESCRIPTION
/usr/lib64/R/library/jsonlite/INDEX
/usr/lib64/R/library/jsonlite/LICENSE
/usr/lib64/R/library/jsonlite/Meta
/usr/lib64/R/library/jsonlite/Meta/Rd.rds
/usr/lib64/R/library/jsonlite/Meta/features.rds
/usr/lib64/R/library/jsonlite/Meta/hsearch.rds
/usr/lib64/R/library/jsonlite/Meta/links.rds
/usr/lib64/R/library/jsonlite/Meta/nsInfo.rds
/usr/lib64/R/library/jsonlite/Meta/package.rds
/usr/lib64/R/library/jsonlite/Meta/vignette.rds
/usr/lib64/R/library/jsonlite/NAMESPACE
/usr/lib64/R/library/jsonlite/NEWS
/usr/lib64/R/library/jsonlite/R
/usr/lib64/R/library/jsonlite/R/jsonlite
/usr/lib64/R/library/jsonlite/R/jsonlite.rdb
/usr/lib64/R/library/jsonlite/R/jsonlite.rdx
/usr/lib64/R/library/jsonlite/doc
/usr/lib64/R/library/jsonlite/doc/index.html
/usr/lib64/R/library/jsonlite/doc/json-aaquickstart.R
/usr/lib64/R/library/jsonlite/doc/json-aaquickstart.Rmd
/usr/lib64/R/library/jsonlite/doc/json-aaquickstart.html
/usr/lib64/R/library/jsonlite/doc/json-apis.Rmd
/usr/lib64/R/library/jsonlite/doc/json-apis.html
/usr/lib64/R/library/jsonlite/doc/json-mapping.pdf
/usr/lib64/R/library/jsonlite/doc/json-mapping.pdf.asis
/usr/lib64/R/library/jsonlite/doc/json-opencpu.pdf
/usr/lib64/R/library/jsonlite/doc/json-opencpu.pdf.asis
/usr/lib64/R/library/jsonlite/doc/json-paging.Rmd
/usr/lib64/R/library/jsonlite/doc/json-paging.html
/usr/lib64/R/library/jsonlite/help
/usr/lib64/R/library/jsonlite/help/AnIndex
/usr/lib64/R/library/jsonlite/help/aliases.rds
/usr/lib64/R/library/jsonlite/help/base64.html
/usr/lib64/R/library/jsonlite/help/base64_dec.html
/usr/lib64/R/library/jsonlite/help/base64_enc.html
/usr/lib64/R/library/jsonlite/help/flatten.html
/usr/lib64/R/library/jsonlite/help/fromJSON.html
/usr/lib64/R/library/jsonlite/help/jsonlite.html
/usr/lib64/R/library/jsonlite/help/jsonlite.rdb
/usr/lib64/R/library/jsonlite/help/jsonlite.rdx
/usr/lib64/R/library/jsonlite/help/minify.html
/usr/lib64/R/library/jsonlite/help/parse_json.html
/usr/lib64/R/library/jsonlite/help/paths.rds
/usr/lib64/R/library/jsonlite/help/prettify+2C+20minify.html
/usr/lib64/R/library/jsonlite/help/prettify.html
/usr/lib64/R/library/jsonlite/help/rbind_pages.html
/usr/lib64/R/library/jsonlite/help/read_json.html
/usr/lib64/R/library/jsonlite/help/serializeJSON.html
/usr/lib64/R/library/jsonlite/help/stream_in+2C+20stream_out.html
/usr/lib64/R/library/jsonlite/help/stream_in.html
/usr/lib64/R/library/jsonlite/help/stream_out.html
/usr/lib64/R/library/jsonlite/help/toJSON+2C+20fromJSON.html
/usr/lib64/R/library/jsonlite/help/toJSON.html
/usr/lib64/R/library/jsonlite/help/unbox.html
/usr/lib64/R/library/jsonlite/help/unserializeJSON.html
/usr/lib64/R/library/jsonlite/help/validate.html
/usr/lib64/R/library/jsonlite/help/write_json.html
/usr/lib64/R/library/jsonlite/html
/usr/lib64/R/library/jsonlite/html/00Index.html
/usr/lib64/R/library/jsonlite/html/R.css
/usr/lib64/R/library/jsonlite/html/base64.html
/usr/lib64/R/library/jsonlite/html/flatten.html
/usr/lib64/R/library/jsonlite/html/fromJSON.html
/usr/lib64/R/library/jsonlite/html/prettify.html
/usr/lib64/R/library/jsonlite/html/rbind_pages.html
/usr/lib64/R/library/jsonlite/html/read_json.html
/usr/lib64/R/library/jsonlite/html/serializeJSON.html
/usr/lib64/R/library/jsonlite/html/stream_in.html
/usr/lib64/R/library/jsonlite/html/unbox.html
/usr/lib64/R/library/jsonlite/html/validate.html
/usr/lib64/R/library/jsonlite/libs
/usr/lib64/R/library/jsonlite/libs/jsonlite.so

References

Summary

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