How To Install R-mime on Fedora 36

In this tutorial we learn how to install R-mime in Fedora 36. R-mime is Map Filenames to MIME Types

Introduction

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

What is R-mime

Guesses the MIME type from a filename extension using the data derived from /etc/mime.types in UNIX-type systems.

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

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

sudo dnf -y install R-mime

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

sudo yum -y install R-mime

How To Uninstall R-mime on Fedora 36

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

sudo dnf remove R-mime

R-mime Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/23eb23406484668316b7332778716e90b1d9c0
/usr/lib64/R/library/mime
/usr/lib64/R/library/mime/DESCRIPTION
/usr/lib64/R/library/mime/INDEX
/usr/lib64/R/library/mime/Meta
/usr/lib64/R/library/mime/Meta/Rd.rds
/usr/lib64/R/library/mime/Meta/features.rds
/usr/lib64/R/library/mime/Meta/hsearch.rds
/usr/lib64/R/library/mime/Meta/links.rds
/usr/lib64/R/library/mime/Meta/nsInfo.rds
/usr/lib64/R/library/mime/Meta/package.rds
/usr/lib64/R/library/mime/NAMESPACE
/usr/lib64/R/library/mime/NEWS
/usr/lib64/R/library/mime/R
/usr/lib64/R/library/mime/R/mime
/usr/lib64/R/library/mime/R/mime.rdb
/usr/lib64/R/library/mime/R/mime.rdx
/usr/lib64/R/library/mime/help
/usr/lib64/R/library/mime/help/AnIndex
/usr/lib64/R/library/mime/help/aliases.rds
/usr/lib64/R/library/mime/help/guess_type.html
/usr/lib64/R/library/mime/help/mime.rdb
/usr/lib64/R/library/mime/help/mime.rdx
/usr/lib64/R/library/mime/help/mimeextra.html
/usr/lib64/R/library/mime/help/mimemap.html
/usr/lib64/R/library/mime/help/parse_multipart.html
/usr/lib64/R/library/mime/help/paths.rds
/usr/lib64/R/library/mime/html
/usr/lib64/R/library/mime/html/00Index.html
/usr/lib64/R/library/mime/html/R.css
/usr/lib64/R/library/mime/html/guess_type.html
/usr/lib64/R/library/mime/html/mimemap.html
/usr/lib64/R/library/mime/html/parse_multipart.html
/usr/lib64/R/library/mime/libs
/usr/lib64/R/library/mime/libs/mime.so

References

Summary

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