How To Install php-masterminds-html5 on Fedora 36
Introduction
In this tutorial we learn how to install php-masterminds-html5
on Fedora 36.
What is php-masterminds-html5
The need for an HTML5 parser in PHP is clear. This project initially began with the seemingly abandoned html5lib project original source. But after some initial refactoring work, we began a new parser. * An HTML5 serializer * Support for PHP namespaces * Composer support * Event-based (SAX-like) parser * DOM tree builder * Interoperability with QueryPath
We can use yum
or dnf
to install php-masterminds-html5
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-masterminds-html5.
Install php-masterminds-html5 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-masterminds-html5
using dnf
by running the following command:
sudo dnf -y install php-masterminds-html5
Install php-masterminds-html5 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-masterminds-html5
using yum
by running the following command:
sudo yum -y install php-masterminds-html5
How To Uninstall php-masterminds-html5 on Fedora 36
To uninstall only the php-masterminds-html5
package we can use the following command:
sudo dnf remove php-masterminds-html5
php-masterminds-html5 Package Contents on Fedora 36
/usr/share/doc/php-masterminds-html5
/usr/share/doc/php-masterminds-html5/Parser
/usr/share/doc/php-masterminds-html5/Parser/README.md
/usr/share/doc/php-masterminds-html5/README.md
/usr/share/doc/php-masterminds-html5/RELEASE.md
/usr/share/doc/php-masterminds-html5/Serializer
/usr/share/doc/php-masterminds-html5/Serializer/README.md
/usr/share/doc/php-masterminds-html5/UPGRADING.md
/usr/share/doc/php-masterminds-html5/composer.json
/usr/share/licenses/php-masterminds-html5
/usr/share/licenses/php-masterminds-html5/LICENSE.txt
/usr/share/php/Masterminds
/usr/share/php/Masterminds/HTML5
/usr/share/php/Masterminds/HTML5.php
/usr/share/php/Masterminds/HTML5/Elements.php
/usr/share/php/Masterminds/HTML5/Entities.php
/usr/share/php/Masterminds/HTML5/Exception.php
/usr/share/php/Masterminds/HTML5/InstructionProcessor.php
/usr/share/php/Masterminds/HTML5/Parser
/usr/share/php/Masterminds/HTML5/Parser/CharacterReference.php
/usr/share/php/Masterminds/HTML5/Parser/DOMTreeBuilder.php
/usr/share/php/Masterminds/HTML5/Parser/EventHandler.php
/usr/share/php/Masterminds/HTML5/Parser/FileInputStream.php
/usr/share/php/Masterminds/HTML5/Parser/InputStream.php
/usr/share/php/Masterminds/HTML5/Parser/ParseError.php
/usr/share/php/Masterminds/HTML5/Parser/Scanner.php
/usr/share/php/Masterminds/HTML5/Parser/StringInputStream.php
/usr/share/php/Masterminds/HTML5/Parser/Tokenizer.php
/usr/share/php/Masterminds/HTML5/Parser/TreeBuildingRules.php
/usr/share/php/Masterminds/HTML5/Parser/UTF8Utils.php
/usr/share/php/Masterminds/HTML5/Serializer
/usr/share/php/Masterminds/HTML5/Serializer/HTML5Entities.php
/usr/share/php/Masterminds/HTML5/Serializer/OutputRules.php
/usr/share/php/Masterminds/HTML5/Serializer/RulesInterface.php
/usr/share/php/Masterminds/HTML5/Serializer/Traverser.php
/usr/share/php/Masterminds/HTML5/autoload.php
/usr/share/php/Masterminds/autoload-html5.php
References
Summary
In this tutorial we learn how to install php-masterminds-html5
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).