How To Install php-scssphp on Fedora 36

In this tutorial we learn how to install php-scssphp in Fedora 36. php-scssphp is A compiler for SCSS written in PHP

Introduction

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

What is php-scssphp

SCSS (http variables, mixins, imports, color manipulation, functions, and tons of other powerful features. The entire compiler comes in a single class file ready for including in any kind of project in addition to a command line tool for running the compiler from the terminal. scssphp implements SCSS. It does not implement the SASS syntax, only the SCSS syntax. Autoloader

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

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

sudo dnf -y install php-scssphp

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

sudo yum -y install php-scssphp

How To Uninstall php-scssphp on Fedora 36

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

sudo dnf remove php-scssphp

php-scssphp Package Contents on Fedora 36

/usr/bin/pscss
/usr/share/doc/php-scssphp
/usr/share/doc/php-scssphp/README.md
/usr/share/doc/php-scssphp/composer.json
/usr/share/licenses/php-scssphp
/usr/share/licenses/php-scssphp/LICENSE.md
/usr/share/php/Leafo/ScssPhp
/usr/share/php/Leafo/ScssPhp/Base
/usr/share/php/Leafo/ScssPhp/Base/Range.php
/usr/share/php/Leafo/ScssPhp/Block.php
/usr/share/php/Leafo/ScssPhp/Cache.php
/usr/share/php/Leafo/ScssPhp/Colors.php
/usr/share/php/Leafo/ScssPhp/Compiler
/usr/share/php/Leafo/ScssPhp/Compiler.php
/usr/share/php/Leafo/ScssPhp/Compiler/Environment.php
/usr/share/php/Leafo/ScssPhp/Exception
/usr/share/php/Leafo/ScssPhp/Exception/CompilerException.php
/usr/share/php/Leafo/ScssPhp/Exception/ParserException.php
/usr/share/php/Leafo/ScssPhp/Exception/RangeException.php
/usr/share/php/Leafo/ScssPhp/Exception/ServerException.php
/usr/share/php/Leafo/ScssPhp/Formatter
/usr/share/php/Leafo/ScssPhp/Formatter.php
/usr/share/php/Leafo/ScssPhp/Formatter/Compact.php
/usr/share/php/Leafo/ScssPhp/Formatter/Compressed.php
/usr/share/php/Leafo/ScssPhp/Formatter/Crunched.php
/usr/share/php/Leafo/ScssPhp/Formatter/Debug.php
/usr/share/php/Leafo/ScssPhp/Formatter/Expanded.php
/usr/share/php/Leafo/ScssPhp/Formatter/Nested.php
/usr/share/php/Leafo/ScssPhp/Formatter/OutputBlock.php
/usr/share/php/Leafo/ScssPhp/Node
/usr/share/php/Leafo/ScssPhp/Node.php
/usr/share/php/Leafo/ScssPhp/Node/Number.php
/usr/share/php/Leafo/ScssPhp/Parser.php
/usr/share/php/Leafo/ScssPhp/SourceMap
/usr/share/php/Leafo/ScssPhp/SourceMap/Base64.php
/usr/share/php/Leafo/ScssPhp/SourceMap/Base64VLQ.php
/usr/share/php/Leafo/ScssPhp/SourceMap/Base64VLQEncoder.php
/usr/share/php/Leafo/ScssPhp/SourceMap/SourceMapGenerator.php
/usr/share/php/Leafo/ScssPhp/Type.php
/usr/share/php/Leafo/ScssPhp/Util.php
/usr/share/php/Leafo/ScssPhp/Version.php
/usr/share/php/Leafo/ScssPhp/autoload.php

References

Summary

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