How To Install txt2tags on CentOS 7

In this tutorial we learn how to install txt2tags on CentOS 7. txt2tags is Summary: Converts text files to HTML, XHTML, LaTeX, and other

Introduction

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

What is txt2tags

Txt2tags is a document generator. It reads a text file with minimal markup as bold and //italic// and converts it to the following formats * HTML * XHTML * SGML * LaTeX * Lout * Man page * Wikipedia (NEW) * Google Code Wiki (NEW) * DokuWiki (NEW) * MoinMoin * MagicPoint * PageMaker * Plain text

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

Install txt2tags on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install txt2tags

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

sudo dnf -y install txt2tags

How To Uninstall txt2tags on CentOS 7

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

sudo dnf remove txt2tags

References

Summary

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