How To Install php-text-wiki on Kali Linux
Introduction
In this tutorial we learn how to install php-text-wiki on Kali Linux.
What is php-text-wiki
php-text-wiki is:
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: XHTML , 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.
There are three methods to install php-text-wiki on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install php-text-wiki Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install php-text-wiki using apt-get by running the following command:
sudo apt-get -y install php-text-wikiInstall php-text-wiki Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install php-text-wiki using apt by running the following command:
sudo apt -y install php-text-wikiInstall php-text-wiki Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install php-text-wiki using aptitude by running the following command:
sudo aptitude -y install php-text-wikiHow To Uninstall php-text-wiki on Kali Linux
To uninstall only the php-text-wiki package we can use the following command:
sudo apt-get remove php-text-wikiUninstall php-text-wiki And Its Dependencies
To uninstall php-text-wiki and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove php-text-wikiRemove php-text-wiki Configurations and Data
To remove php-text-wiki configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge php-text-wikiRemove php-text-wiki configuration, data, and all of its dependencies
We can use the following command to remove php-text-wiki configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-text-wikiDependencies
php-text-wiki have the following dependencies:
References
Summary
In this tutorial we learn how to install php-text-wiki package on Kali Linux using different package management tools: apt, apt-get and aptitude.