How To Install txt2tags on CentOS 8

txt2tags is Summary

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install txt2tags.

Install txt2tags on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install txt2tags

Install txt2tags on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install txt2tags

How To Uninstall txt2tags on CentOS 8

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

sudo dnf remove txt2tags

txt2tags Package Contents on CentOS 8

/usr/bin/txt2tags
/usr/share/doc/txt2tags
/usr/share/doc/txt2tags/COPYING
/usr/share/doc/txt2tags/ChangeLog
/usr/share/doc/txt2tags/README
/usr/share/doc/txt2tags/TODO
/usr/share/doc/txt2tags/extras
/usr/share/doc/txt2tags/extras/._README
/usr/share/doc/txt2tags/extras/._css-reference.txt
/usr/share/doc/txt2tags/extras/._ctags
/usr/share/doc/txt2tags/extras/._gensite
/usr/share/doc/txt2tags/extras/._gvim-menu.vim
/usr/share/doc/txt2tags/extras/._nanorc
/usr/share/doc/txt2tags/extras/._txt2tags.php
/usr/share/doc/txt2tags/extras/._txt2tags.vim
/usr/share/doc/txt2tags/extras/._txt2tagsrc
/usr/share/doc/txt2tags/extras/README
/usr/share/doc/txt2tags/extras/css-reference.txt
/usr/share/doc/txt2tags/extras/ctags
/usr/share/doc/txt2tags/extras/gensite
/usr/share/doc/txt2tags/extras/gvim-menu.vim
/usr/share/doc/txt2tags/extras/html-update.sh
/usr/share/doc/txt2tags/extras/nanorc
/usr/share/doc/txt2tags/extras/pagemaker.vim
/usr/share/doc/txt2tags/extras/t2tmake.rb
/usr/share/doc/txt2tags/extras/txt2tags-compiler.vim
/usr/share/doc/txt2tags/extras/txt2tags-gedit.lang
/usr/share/doc/txt2tags/extras/txt2tags-kate.xml
/usr/share/doc/txt2tags/extras/txt2tags-mode.el
/usr/share/doc/txt2tags/extras/txt2tags-textmate.zip
/usr/share/doc/txt2tags/extras/txt2tags.php
/usr/share/doc/txt2tags/extras/txt2tags.vim
/usr/share/doc/txt2tags/extras/txt2tagsrc
/usr/share/doc/txt2tags/extras/unhtml.vim
/usr/share/doc/txt2tags/samples
/usr/share/doc/txt2tags/samples/._sample.t2t
/usr/share/doc/txt2tags/samples/css
/usr/share/doc/txt2tags/samples/css/color.css
/usr/share/doc/txt2tags/samples/css/color.html
/usr/share/doc/txt2tags/samples/css/modern.css
/usr/share/doc/txt2tags/samples/css/modern.html
/usr/share/doc/txt2tags/samples/css/tech.css
/usr/share/doc/txt2tags/samples/css/tech.html
/usr/share/doc/txt2tags/samples/img
/usr/share/doc/txt2tags/samples/img/._t2tpowered-black.png
/usr/share/doc/txt2tags/samples/img/madeinbr.png
/usr/share/doc/txt2tags/samples/img/old-poweredby-1.png
/usr/share/doc/txt2tags/samples/img/old-poweredby-2.png
/usr/share/doc/txt2tags/samples/img/photo.jpg
/usr/share/doc/txt2tags/samples/img/t2tbutton.png
/usr/share/doc/txt2tags/samples/img/t2tpowered-black.png
/usr/share/doc/txt2tags/samples/img/t2tpowered-white.png
/usr/share/doc/txt2tags/samples/img/t2tpowered.png
/usr/share/doc/txt2tags/samples/img/valid-css.png
/usr/share/doc/txt2tags/samples/img/valid-html.png
/usr/share/doc/txt2tags/samples/img/valid-xhtml.png
/usr/share/doc/txt2tags/samples/module
/usr/share/doc/txt2tags/samples/module/README
/usr/share/doc/txt2tags/samples/module/module-body.py
/usr/share/doc/txt2tags/samples/module/module-full.py
/usr/share/doc/txt2tags/samples/sample.doku
/usr/share/doc/txt2tags/samples/sample.gwiki
/usr/share/doc/txt2tags/samples/sample.html
/usr/share/doc/txt2tags/samples/sample.lout
/usr/share/doc/txt2tags/samples/sample.man
/usr/share/doc/txt2tags/samples/sample.moin
/usr/share/doc/txt2tags/samples/sample.pm6
/usr/share/doc/txt2tags/samples/sample.sgml
/usr/share/doc/txt2tags/samples/sample.t2t
/usr/share/doc/txt2tags/samples/sample.tex
/usr/share/doc/txt2tags/samples/sample.txt
/usr/share/doc/txt2tags/samples/sample.wiki
/usr/share/doc/txt2tags/samples/sample.xhtml
/usr/share/doc/txt2tags/txt2tags-quickref.pdf
/usr/share/doc/txt2tags/userguide.pdf
/usr/share/locale/de/LC_MESSAGES/txt2tags.mo
/usr/share/locale/es/LC_MESSAGES/txt2tags.mo
/usr/share/locale/fi/LC_MESSAGES/txt2tags.mo
/usr/share/locale/fr/LC_MESSAGES/txt2tags.mo
/usr/share/locale/hu/LC_MESSAGES/txt2tags.mo
/usr/share/locale/it/LC_MESSAGES/txt2tags.mo
/usr/share/locale/pt_BR/LC_MESSAGES/txt2tags.mo
/usr/share/locale/zh_CN/LC_MESSAGES/txt2tags.mo
/usr/share/man/ca/man1/txt2tags.1.gz
/usr/share/man/es/man1/txt2tags.1.gz
/usr/share/man/fr/man1/txt2tags.1.gz
/usr/share/man/it/man1/txt2tags.1.gz
/usr/share/man/man1/txt2tags.1.gz
/usr/share/man/pt/man1/txt2tags.1.gz
/usr/share/man/zh/man1/txt2tags.1.gz

References

Summary

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