How To Install php-EasyRdf on Fedora 36

In this tutorial we learn how to install php-EasyRdf in Fedora 36. php-EasyRdf is A PHP library designed to make it easy to consume and produce RDF

Introduction

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

What is php-EasyRdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF (http for use in mixed teams of experienced and inexperienced RDF developers. It is written in Object Oriented PHP and has been tested extensively using PHPUnit. After parsing EasyRdf builds up a graph of PHP objects that can then be walked around to get the data to be placed on the page. Dump methods are available to inspect what data is available during development. Data is typically loaded into a EasyRdf_Graph object from source RDF documents, loaded from the web via HTTP. The EasyRdf_GraphStore class simplifies loading and saving data to a SPARQL 1.1 Graph Store. SPARQL queries can be made over HTTP to a Triplestore using the EasyRdf_Sparql_Client class. SELECT and ASK queries will return an EasyRdf_Sparql_Result object and CONSTRUCT and DESCRIBE queries will return an EasyRdf_Graph object. Autoloader

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

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

sudo dnf -y install php-EasyRdf

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

sudo yum -y install php-EasyRdf

How To Uninstall php-EasyRdf on Fedora 36

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

sudo dnf remove php-EasyRdf

php-EasyRdf Package Contents on Fedora 36

/usr/share/doc/php-EasyRdf
/usr/share/doc/php-EasyRdf/CHANGELOG.md
/usr/share/doc/php-EasyRdf/README.md
/usr/share/doc/php-EasyRdf/composer.json
/usr/share/licenses/php-EasyRdf
/usr/share/licenses/php-EasyRdf/LICENSE.md
/usr/share/php/EasyRdf
/usr/share/php/EasyRdf.php
/usr/share/php/EasyRdf/Collection.php
/usr/share/php/EasyRdf/Container.php
/usr/share/php/EasyRdf/Exception.php
/usr/share/php/EasyRdf/Format.php
/usr/share/php/EasyRdf/Graph.php
/usr/share/php/EasyRdf/GraphStore.php
/usr/share/php/EasyRdf/Http
/usr/share/php/EasyRdf/Http.php
/usr/share/php/EasyRdf/Http/Client.php
/usr/share/php/EasyRdf/Http/Exception.php
/usr/share/php/EasyRdf/Http/Response.php
/usr/share/php/EasyRdf/Isomorphic.php
/usr/share/php/EasyRdf/Literal
/usr/share/php/EasyRdf/Literal.php
/usr/share/php/EasyRdf/Literal/Boolean.php
/usr/share/php/EasyRdf/Literal/Date.php
/usr/share/php/EasyRdf/Literal/DateTime.php
/usr/share/php/EasyRdf/Literal/Decimal.php
/usr/share/php/EasyRdf/Literal/HTML.php
/usr/share/php/EasyRdf/Literal/HexBinary.php
/usr/share/php/EasyRdf/Literal/Integer.php
/usr/share/php/EasyRdf/Literal/XML.php
/usr/share/php/EasyRdf/Namespace.php
/usr/share/php/EasyRdf/ParsedUri.php
/usr/share/php/EasyRdf/Parser
/usr/share/php/EasyRdf/Parser.php
/usr/share/php/EasyRdf/Parser/Arc.php
/usr/share/php/EasyRdf/Parser/Exception.php
/usr/share/php/EasyRdf/Parser/Json.php
/usr/share/php/EasyRdf/Parser/JsonLd.php
/usr/share/php/EasyRdf/Parser/JsonLdImplementation.php
/usr/share/php/EasyRdf/Parser/Ntriples.php
/usr/share/php/EasyRdf/Parser/Rapper.php
/usr/share/php/EasyRdf/Parser/RdfPhp.php
/usr/share/php/EasyRdf/Parser/RdfXml.php
/usr/share/php/EasyRdf/Parser/Rdfa.php
/usr/share/php/EasyRdf/Parser/Redland.php
/usr/share/php/EasyRdf/Parser/Turtle.php
/usr/share/php/EasyRdf/Resource.php
/usr/share/php/EasyRdf/Serialiser
/usr/share/php/EasyRdf/Serialiser.php
/usr/share/php/EasyRdf/Serialiser/Arc.php
/usr/share/php/EasyRdf/Serialiser/GraphViz.php
/usr/share/php/EasyRdf/Serialiser/Json.php
/usr/share/php/EasyRdf/Serialiser/JsonLd.php
/usr/share/php/EasyRdf/Serialiser/JsonLd_real.php
/usr/share/php/EasyRdf/Serialiser/Ntriples.php
/usr/share/php/EasyRdf/Serialiser/Rapper.php
/usr/share/php/EasyRdf/Serialiser/RdfPhp.php
/usr/share/php/EasyRdf/Serialiser/RdfXml.php
/usr/share/php/EasyRdf/Serialiser/Turtle.php
/usr/share/php/EasyRdf/Sparql
/usr/share/php/EasyRdf/Sparql/Client.php
/usr/share/php/EasyRdf/Sparql/Result.php
/usr/share/php/EasyRdf/TypeMapper.php
/usr/share/php/EasyRdf/Utils.php
/usr/share/php/EasyRdf/autoload.php

References

Summary

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