How To Install texlive-matlab-prettifier on Fedora 36
Introduction
In this tutorial we learn how to install texlive-matlab-prettifier
on Fedora 36.
What is texlive-matlab-prettifier
The package extends the facilities of the listings package, to pretty-print Matlab and Octave source code. (Note that support of Octave syntax is not complete.)
We can use yum
or dnf
to install texlive-matlab-prettifier
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-matlab-prettifier.
Install texlive-matlab-prettifier 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-matlab-prettifier
using dnf
by running the following command:
sudo dnf -y install texlive-matlab-prettifier
Install texlive-matlab-prettifier 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-matlab-prettifier
using yum
by running the following command:
sudo yum -y install texlive-matlab-prettifier
How To Uninstall texlive-matlab-prettifier on Fedora 36
To uninstall only the texlive-matlab-prettifier
package we can use the following command:
sudo dnf remove texlive-matlab-prettifier
texlive-matlab-prettifier Package Contents on Fedora 36
/usr/share/licenses/texlive-matlab-prettifier
/usr/share/licenses/texlive-matlab-prettifier/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/matlab-prettifier
/usr/share/texlive/texmf-dist/tex/latex/matlab-prettifier/matlab-prettifier.sty
References
Summary
In this tutorial we learn how to install texlive-matlab-prettifier
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).