How To Install texlive-carbohydrates on Fedora 36

In this tutorial we learn how to install texlive-carbohydrates in Fedora 36. texlive-carbohydrates is Carbohydrate molecules with chemfig

Introduction

In this tutorial we learn how to install texlive-carbohydrates on Fedora 36.

What is texlive-carbohydrates

This package offers macros that make the preparation of exercise sheets for teaching carbohydrate chemistry a lot less tedious. It uses chemfig for drawing the formulas. Different representation models (Fischer, Haworth, chair…) are supported as well as alpha, beta, and chain isomers.

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

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

sudo dnf -y install texlive-carbohydrates

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

sudo yum -y install texlive-carbohydrates

How To Uninstall texlive-carbohydrates on Fedora 36

To uninstall only the texlive-carbohydrates package we can use the following command:

sudo dnf remove texlive-carbohydrates

texlive-carbohydrates Package Contents on Fedora 36

/usr/share/licenses/texlive-carbohydrates
/usr/share/licenses/texlive-carbohydrates/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/carbohydrates
/usr/share/texlive/texmf-dist/tex/latex/carbohydrates/carbohydrates.sty

References

Summary

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