How To Install php-jakub-onderka-php-console-highlighter on Fedora 36

In this tutorial we learn how to install php-jakub-onderka-php-console-highlighter in Fedora 36. php-jakub-onderka-php-console-highlighter is Highlight PHP code in console (terminal)

Introduction

In this tutorial we learn how to install php-jakub-onderka-php-console-highlighter on Fedora 36.

What is php-jakub-onderka-php-console-highlighter

Highlight PHP code in console (terminal). Autoloader

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

Install php-jakub-onderka-php-console-highlighter 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-jakub-onderka-php-console-highlighter using dnf by running the following command:

sudo dnf -y install php-jakub-onderka-php-console-highlighter

Install php-jakub-onderka-php-console-highlighter 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-jakub-onderka-php-console-highlighter using yum by running the following command:

sudo yum -y install php-jakub-onderka-php-console-highlighter

How To Uninstall php-jakub-onderka-php-console-highlighter on Fedora 36

To uninstall only the php-jakub-onderka-php-console-highlighter package we can use the following command:

sudo dnf remove php-jakub-onderka-php-console-highlighter

php-jakub-onderka-php-console-highlighter Package Contents on Fedora 36

/usr/share/doc/php-jakub-onderka-php-console-highlighter
/usr/share/doc/php-jakub-onderka-php-console-highlighter/README.md
/usr/share/doc/php-jakub-onderka-php-console-highlighter/composer.json
/usr/share/licenses/php-jakub-onderka-php-console-highlighter
/usr/share/licenses/php-jakub-onderka-php-console-highlighter/LICENSE
/usr/share/php/JakubOnderka/PhpConsoleHighlighter
/usr/share/php/JakubOnderka/PhpConsoleHighlighter/Highlighter.php
/usr/share/php/JakubOnderka/PhpConsoleHighlighter/autoload.php

References

Summary

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