How To Install php-pear-text-wiki on CentOS 7
Introduction
In this tutorial we learn how to install php-pear-text-wiki
on CentOS 7.
What is php-pear-text-wiki
Transforms Wiki and BBCode markup into XHTML, LaTeX or plain text markup. This is the base engine for all of the Text_Wiki sub-classes The text transformation is done in 2 steps. The chosen parser uses markup rules to tokenize the tags and content. Renderers output the tokens and text into the requested format. The tokenized form replaces the tags by a protected byte value associated to an index in an options table. This form shares up to 50 rules by all parsers and renderers. The package is intented for versatile transformers as well as converters. Text_Wiki is delivered with its own parser, which is used by Yawiki or Horde’s Wicked and three basic renderers , LaTeX and plain text. Strong sanitizing of XHTML is default. Parsers and Renderers exist for BBCode, Cowiki, Dokuwiki, Mediawiki and Tikiwiki. It is highly configurable and can be easily extended.
We can use yum
or dnf
to install php-pear-text-wiki
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-text-wiki.
Install php-pear-text-wiki on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install php-pear-text-wiki
using yum
by running the following command:
Install php-pear-text-wiki 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.
After updating yum database, We can install php-pear-text-wiki
using dnf
by running the following command:
How To Uninstall php-pear-text-wiki on CentOS 7
To uninstall only the php-pear-text-wiki
package we can use the following command:
References
Summary
In this tutorial we learn how to install php-pear-text-wiki
on CentOS 7 using yum
and dnf
.