How To Install texlive-runcode on Fedora 36
Introduction
In this tutorial we learn how to install texlive-runcode
on Fedora 36.
What is texlive-runcode
This LaTeX package executes programming source codes (including all command line tools) from within LaTeX and embeds the output in the resulting .pdf file. Many programming languages can be easily used and any command-line executable can be invoked when preparing the .pdf file from a .tex file. It is however recommended to use this package in server-mode together with the Python talk2stat package. Currently, this server-mode supports Julia, MatLab, Python, and R. More languages will be added. For more details and usage examples, refer to the package’s github repository.
We can use yum
or dnf
to install texlive-runcode
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-runcode.
Install texlive-runcode 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-runcode
using dnf
by running the following command:
sudo dnf -y install texlive-runcode
Install texlive-runcode 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-runcode
using yum
by running the following command:
sudo yum -y install texlive-runcode
How To Uninstall texlive-runcode on Fedora 36
To uninstall only the texlive-runcode
package we can use the following command:
sudo dnf remove texlive-runcode
texlive-runcode Package Contents on Fedora 36
/usr/share/licenses/texlive-runcode
/usr/share/licenses/texlive-runcode/lppl1.3c.txt
/usr/share/texlive/texmf-dist/doc/latex/runcode
/usr/share/texlive/texmf-dist/doc/latex/runcode/README
/usr/share/texlive/texmf-dist/doc/latex/runcode/runcode.pdf
/usr/share/texlive/texmf-dist/doc/latex/runcode/runcode.tex
/usr/share/texlive/texmf-dist/tex/latex/runcode
/usr/share/texlive/texmf-dist/tex/latex/runcode/runcode.sty
References
Summary
In this tutorial we learn how to install texlive-runcode
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).