How To Install texlive-newtx on CentOS 7
Introduction
In this tutorial we learn how to install texlive-newtx on CentOS 7.
What is texlive-newtx
The bundle splits txfonts.sty (from the TX fonts distribution) into two independent packages, ntxtext.sty and ntxmath.sty, each with fixes and enhancements. Ntxmath’s metrics have been re-evaluated to provide a less tight appearance, and to provide a libertine option that substitutes Libertine italic and Greek letter for the existing math italic and Greek glyphs, making a mathematics package that matches Libertine text quite well. Ntxmath can also use the maths italic font provided with the garamondx package, thus offering a garamond-alike text-with- maths combination.
We can use yum or dnf to install texlive-newtx on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-newtx.
Install texlive-newtx on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install texlive-newtx using yum by running the following command:
sudo yum -y install texlive-newtx
Install texlive-newtx on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install texlive-newtx using dnf by running the following command:
sudo dnf -y install texlive-newtx
How To Uninstall texlive-newtx on CentOS 7
To uninstall only the texlive-newtx package we can use the following command:
sudo dnf remove texlive-newtx
References
Summary
In this tutorial we learn how to install texlive-newtx on CentOS 7 using yum and dnf.