How To Install linuxdoc-tools on CentOS 7

In this tutorial we learn how to install linuxdoc-tools on CentOS 7. linuxdoc-tools is A text formatting package based on SGML

Introduction

In this tutorial we learn how to install linuxdoc-tools on CentOS 7.

What is linuxdoc-tools

Linuxdoc-tools is a text formatting suite based on SGML (Standard Generalized Markup Language), using the LinuxDoc document type. Linuxdoc-tools allows you to produce LaTeX, HTML, GNU info, LyX, RTF, plain text (via groff), and other format outputs from a single SGML source. Linuxdoc-tools is intended for writing technical software documentation.

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

Install linuxdoc-tools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install linuxdoc-tools using yum by running the following command:

sudo yum -y install linuxdoc-tools

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

sudo dnf -y install linuxdoc-tools

How To Uninstall linuxdoc-tools on CentOS 7

To uninstall only the linuxdoc-tools package we can use the following command:

sudo dnf remove linuxdoc-tools

References

Summary

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