How To Install texworks on CentOS 7

In this tutorial we learn how to install texworks on CentOS 7. texworks is A simple IDE for authoring TeX documents

Introduction

In this tutorial we learn how to install texworks on CentOS 7.

What is texworks

TeXworks is an environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean, simple interface accessible to casual and non-technical users. You may install the texlive-* packages to make this program useful.

We can use yum or dnf to install texworks on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texworks.

Install texworks on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install texworks using yum by running the following command:

sudo yum -y install texworks

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

sudo dnf -y install texworks

How To Uninstall texworks on CentOS 7

To uninstall only the texworks package we can use the following command:

sudo dnf remove texworks

References

Summary

In this tutorial we learn how to install texworks on CentOS 7 using yum and dnf.