How To Install php-PHP-CSS-Parser on Fedora 36

In this tutorial we learn how to install php-PHP-CSS-Parser in Fedora 36. php-PHP-CSS-Parser is A Parser for CSS Files

Introduction

In this tutorial we learn how to install php-PHP-CSS-Parser on Fedora 36.

What is php-PHP-CSS-Parser

PHP CSS Parser Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS. Autoloader

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

Install php-PHP-CSS-Parser 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-PHP-CSS-Parser using dnf by running the following command:

sudo dnf -y install php-PHP-CSS-Parser

Install php-PHP-CSS-Parser 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-PHP-CSS-Parser using yum by running the following command:

sudo yum -y install php-PHP-CSS-Parser

How To Uninstall php-PHP-CSS-Parser on Fedora 36

To uninstall only the php-PHP-CSS-Parser package we can use the following command:

sudo dnf remove php-PHP-CSS-Parser

php-PHP-CSS-Parser Package Contents on Fedora 36

/usr/share/doc/php-PHP-CSS-Parser
/usr/share/doc/php-PHP-CSS-Parser/CHANGELOG.md
/usr/share/doc/php-PHP-CSS-Parser/README.md
/usr/share/php/Sabberworm
/usr/share/php/Sabberworm/CSS
/usr/share/php/Sabberworm/CSS/CSSList
/usr/share/php/Sabberworm/CSS/CSSList/AtRuleBlockList.php
/usr/share/php/Sabberworm/CSS/CSSList/CSSBlockList.php
/usr/share/php/Sabberworm/CSS/CSSList/CSSList.php
/usr/share/php/Sabberworm/CSS/CSSList/Document.php
/usr/share/php/Sabberworm/CSS/CSSList/KeyFrame.php
/usr/share/php/Sabberworm/CSS/OutputFormat.php
/usr/share/php/Sabberworm/CSS/Parser.php
/usr/share/php/Sabberworm/CSS/Parsing
/usr/share/php/Sabberworm/CSS/Parsing/OutputException.php
/usr/share/php/Sabberworm/CSS/Parsing/UnexpectedTokenException.php
/usr/share/php/Sabberworm/CSS/Property
/usr/share/php/Sabberworm/CSS/Property/AtRule.php
/usr/share/php/Sabberworm/CSS/Property/CSSNamespace.php
/usr/share/php/Sabberworm/CSS/Property/Charset.php
/usr/share/php/Sabberworm/CSS/Property/Import.php
/usr/share/php/Sabberworm/CSS/Property/Selector.php
/usr/share/php/Sabberworm/CSS/Renderable.php
/usr/share/php/Sabberworm/CSS/Rule
/usr/share/php/Sabberworm/CSS/Rule/Rule.php
/usr/share/php/Sabberworm/CSS/RuleSet
/usr/share/php/Sabberworm/CSS/RuleSet/AtRuleSet.php
/usr/share/php/Sabberworm/CSS/RuleSet/DeclarationBlock.php
/usr/share/php/Sabberworm/CSS/RuleSet/RuleSet.php
/usr/share/php/Sabberworm/CSS/Settings.php
/usr/share/php/Sabberworm/CSS/Value
/usr/share/php/Sabberworm/CSS/Value/CSSFunction.php
/usr/share/php/Sabberworm/CSS/Value/CSSString.php
/usr/share/php/Sabberworm/CSS/Value/Color.php
/usr/share/php/Sabberworm/CSS/Value/PrimitiveValue.php
/usr/share/php/Sabberworm/CSS/Value/RuleValueList.php
/usr/share/php/Sabberworm/CSS/Value/Size.php
/usr/share/php/Sabberworm/CSS/Value/URL.php
/usr/share/php/Sabberworm/CSS/Value/Value.php
/usr/share/php/Sabberworm/CSS/Value/ValueList.php
/usr/share/php/Sabberworm/CSS/autoload.php

References

Summary

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