How To Install php-sebastian-lines-of-code on Fedora 36

In this tutorial we learn how to install php-sebastian-lines-of-code in Fedora 36. php-sebastian-lines-of-code is Counting the lines of code in PHP source code

Introduction

In this tutorial we learn how to install php-sebastian-lines-of-code on Fedora 36.

What is php-sebastian-lines-of-code

Library for counting the lines of code in PHP source code.

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

Install php-sebastian-lines-of-code 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-sebastian-lines-of-code using dnf by running the following command:

sudo dnf -y install php-sebastian-lines-of-code

Install php-sebastian-lines-of-code 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-sebastian-lines-of-code using yum by running the following command:

sudo yum -y install php-sebastian-lines-of-code

How To Uninstall php-sebastian-lines-of-code on Fedora 36

To uninstall only the php-sebastian-lines-of-code package we can use the following command:

sudo dnf remove php-sebastian-lines-of-code

php-sebastian-lines-of-code Package Contents on Fedora 36

/usr/share/doc/php-sebastian-lines-of-code
/usr/share/doc/php-sebastian-lines-of-code/ChangeLog.md
/usr/share/doc/php-sebastian-lines-of-code/README.md
/usr/share/doc/php-sebastian-lines-of-code/composer.json
/usr/share/licenses/php-sebastian-lines-of-code
/usr/share/licenses/php-sebastian-lines-of-code/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/LinesOfCode
/usr/share/php/SebastianBergmann/LinesOfCode/Counter.php
/usr/share/php/SebastianBergmann/LinesOfCode/Exception
/usr/share/php/SebastianBergmann/LinesOfCode/Exception/Exception.php
/usr/share/php/SebastianBergmann/LinesOfCode/Exception/IllogicalValuesException.php
/usr/share/php/SebastianBergmann/LinesOfCode/Exception/NegativeValueException.php
/usr/share/php/SebastianBergmann/LinesOfCode/Exception/RuntimeException.php
/usr/share/php/SebastianBergmann/LinesOfCode/LineCountingVisitor.php
/usr/share/php/SebastianBergmann/LinesOfCode/LinesOfCode.php
/usr/share/php/SebastianBergmann/LinesOfCode/autoload.php

References

Summary

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