How To Install php-theseer-tokenizer on Fedora 36

In this tutorial we learn how to install php-theseer-tokenizer in Fedora 36. php-theseer-tokenizer is Library for converting tokenized PHP source code into XML

Introduction

In this tutorial we learn how to install php-theseer-tokenizer on Fedora 36.

What is php-theseer-tokenizer

A small library for converting tokenized PHP source code into XML and potentially other formats. Autoloader

We can use yum or dnf to install php-theseer-tokenizer on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-theseer-tokenizer.

Install php-theseer-tokenizer on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-theseer-tokenizer using dnf by running the following command:

sudo dnf -y install php-theseer-tokenizer

Install php-theseer-tokenizer on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-theseer-tokenizer using yum by running the following command:

sudo yum -y install php-theseer-tokenizer

How To Uninstall php-theseer-tokenizer on Fedora 36

To uninstall only the php-theseer-tokenizer package we can use the following command:

sudo dnf remove php-theseer-tokenizer

php-theseer-tokenizer Package Contents on Fedora 36

/usr/share/doc/php-theseer-tokenizer
/usr/share/doc/php-theseer-tokenizer/README.md
/usr/share/doc/php-theseer-tokenizer/composer.json
/usr/share/licenses/php-theseer-tokenizer
/usr/share/licenses/php-theseer-tokenizer/LICENSE
/usr/share/php/TheSeer
/usr/share/php/TheSeer/Tokenizer
/usr/share/php/TheSeer/Tokenizer/Exception.php
/usr/share/php/TheSeer/Tokenizer/NamespaceUri.php
/usr/share/php/TheSeer/Tokenizer/NamespaceUriException.php
/usr/share/php/TheSeer/Tokenizer/Token.php
/usr/share/php/TheSeer/Tokenizer/TokenCollection.php
/usr/share/php/TheSeer/Tokenizer/TokenCollectionException.php
/usr/share/php/TheSeer/Tokenizer/Tokenizer.php
/usr/share/php/TheSeer/Tokenizer/XMLSerializer.php
/usr/share/php/TheSeer/Tokenizer/autoload.php

References

Summary

In this tutorial we learn how to install php-theseer-tokenizer on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).