How To Install php-simplesamlphp-saml2 on Fedora 36

In this tutorial we learn how to install php-simplesamlphp-saml2 in Fedora 36. php-simplesamlphp-saml2 is SAML2 PHP library from SimpleSAMLphp

Introduction

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

What is php-simplesamlphp-saml2

A PHP library for SAML2 related functionality. Extracted from SimpleSAMLphp [1], used by OpenConext [2]. This library started as a collaboration between UNINETT [3] and SURFnet [4] but everyone is invited to contribute. Autoloader [1] https [2] https [3] https [4] https

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

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

sudo dnf -y install php-simplesamlphp-saml2

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

sudo yum -y install php-simplesamlphp-saml2

How To Uninstall php-simplesamlphp-saml2 on Fedora 36

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

sudo dnf remove php-simplesamlphp-saml2

php-simplesamlphp-saml2 Package Contents on Fedora 36

/usr/share/doc/php-simplesamlphp-saml2
/usr/share/doc/php-simplesamlphp-saml2/README-DEV.md
/usr/share/doc/php-simplesamlphp-saml2/README.md
/usr/share/doc/php-simplesamlphp-saml2/composer.json
/usr/share/licenses/php-simplesamlphp-saml2
/usr/share/licenses/php-simplesamlphp-saml2/LICENSE
/usr/share/php/SAML2
/usr/share/php/SAML2/ArtifactResolve.php
/usr/share/php/SAML2/ArtifactResponse.php
/usr/share/php/SAML2/Assertion
/usr/share/php/SAML2/Assertion.php
/usr/share/php/SAML2/Assertion/Decrypter.php
/usr/share/php/SAML2/Assertion/Exception
/usr/share/php/SAML2/Assertion/Exception/InvalidAssertionException.php
/usr/share/php/SAML2/Assertion/Exception/InvalidSubjectConfirmationException.php
/usr/share/php/SAML2/Assertion/Exception/NotDecryptedException.php
/usr/share/php/SAML2/Assertion/Processor.php
/usr/share/php/SAML2/Assertion/ProcessorBuilder.php
/usr/share/php/SAML2/Assertion/Transformer
/usr/share/php/SAML2/Assertion/Transformer/DecodeBase64Transformer.php
/usr/share/php/SAML2/Assertion/Transformer/NameIdDecryptionTransformer.php
/usr/share/php/SAML2/Assertion/Transformer/Transformer.php
/usr/share/php/SAML2/Assertion/Transformer/TransformerChain.php
/usr/share/php/SAML2/Assertion/Validation
/usr/share/php/SAML2/Assertion/Validation/AssertionConstraintValidator.php
/usr/share/php/SAML2/Assertion/Validation/AssertionValidator.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/NotBefore.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/NotOnOrAfter.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SessionNotOnOrAfter.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SpIsValidAudience.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationMethod.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationNotBefore.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationNotOnOrAfter.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationRecipientMatches.php
/usr/share/php/SAML2/Assertion/Validation/ConstraintValidator/SubjectConfirmationResponseToMatches.php
/usr/share/php/SAML2/Assertion/Validation/Result.php
/usr/share/php/SAML2/Assertion/Validation/SubjectConfirmationConstraintValidator.php
/usr/share/php/SAML2/Assertion/Validation/SubjectConfirmationValidator.php
/usr/share/php/SAML2/AttributeQuery.php
/usr/share/php/SAML2/AuthnRequest.php
/usr/share/php/SAML2/Binding.php
/usr/share/php/SAML2/Certificate
/usr/share/php/SAML2/Certificate/Exception
/usr/share/php/SAML2/Certificate/Exception/InvalidCertificateStructureException.php
/usr/share/php/SAML2/Certificate/Exception/InvalidKeyUsageException.php
/usr/share/php/SAML2/Certificate/Exception/NoKeysFoundException.php
/usr/share/php/SAML2/Certificate/Fingerprint.php
/usr/share/php/SAML2/Certificate/FingerprintCollection.php
/usr/share/php/SAML2/Certificate/FingerprintLoader.php
/usr/share/php/SAML2/Certificate/Key.php
/usr/share/php/SAML2/Certificate/KeyCollection.php
/usr/share/php/SAML2/Certificate/KeyLoader.php
/usr/share/php/SAML2/Certificate/PrivateKey.php
/usr/share/php/SAML2/Certificate/PrivateKeyLoader.php
/usr/share/php/SAML2/Certificate/X509.php
/usr/share/php/SAML2/Compat
/usr/share/php/SAML2/Compat/AbstractContainer.php
/usr/share/php/SAML2/Compat/ContainerSingleton.php
/usr/share/php/SAML2/Compat/MockContainer.php
/usr/share/php/SAML2/Compat/Ssp
/usr/share/php/SAML2/Compat/Ssp/Container.php
/usr/share/php/SAML2/Compat/Ssp/Logger.php
/usr/share/php/SAML2/Configuration
/usr/share/php/SAML2/Configuration/ArrayAdapter.php
/usr/share/php/SAML2/Configuration/CertificateProvider.php
/usr/share/php/SAML2/Configuration/DecryptionProvider.php
/usr/share/php/SAML2/Configuration/Destination.php
/usr/share/php/SAML2/Configuration/EntityIdProvider.php
/usr/share/php/SAML2/Configuration/IdentityProvider.php
/usr/share/php/SAML2/Configuration/IdentityProviderAware.php
/usr/share/php/SAML2/Configuration/PrivateKey.php
/usr/share/php/SAML2/Configuration/Queryable.php
/usr/share/php/SAML2/Configuration/ServiceProvider.php
/usr/share/php/SAML2/Configuration/ServiceProviderAware.php
/usr/share/php/SAML2/Configuration/SimpleSAMLConverter.php
/usr/share/php/SAML2/Constants.php
/usr/share/php/SAML2/DOMDocumentFactory.php
/usr/share/php/SAML2/EncryptedAssertion.php
/usr/share/php/SAML2/Exception
/usr/share/php/SAML2/Exception/InvalidArgumentException.php
/usr/share/php/SAML2/Exception/RuntimeException.php
/usr/share/php/SAML2/Exception/Throwable.php
/usr/share/php/SAML2/Exception/UnparseableXmlException.php
/usr/share/php/SAML2/HTTPArtifact.php
/usr/share/php/SAML2/HTTPPost.php
/usr/share/php/SAML2/HTTPRedirect.php
/usr/share/php/SAML2/LogoutRequest.php
/usr/share/php/SAML2/LogoutResponse.php
/usr/share/php/SAML2/Message.php
/usr/share/php/SAML2/Request.php
/usr/share/php/SAML2/Response
/usr/share/php/SAML2/Response.php
/usr/share/php/SAML2/Response/Exception
/usr/share/php/SAML2/Response/Exception/InvalidResponseException.php
/usr/share/php/SAML2/Response/Exception/InvalidSignatureException.php
/usr/share/php/SAML2/Response/Exception/NoAssertionsFoundException.php
/usr/share/php/SAML2/Response/Exception/PreconditionNotMetException.php
/usr/share/php/SAML2/Response/Exception/UnencryptedAssertionFoundException.php
/usr/share/php/SAML2/Response/Exception/UnsignedResponseException.php
/usr/share/php/SAML2/Response/Processor.php
/usr/share/php/SAML2/Response/Validation
/usr/share/php/SAML2/Response/Validation/ConstraintValidator
/usr/share/php/SAML2/Response/Validation/ConstraintValidator.php
/usr/share/php/SAML2/Response/Validation/ConstraintValidator/DestinationMatches.php
/usr/share/php/SAML2/Response/Validation/ConstraintValidator/IsSuccessful.php
/usr/share/php/SAML2/Response/Validation/PreconditionValidator.php
/usr/share/php/SAML2/Response/Validation/Result.php
/usr/share/php/SAML2/Response/Validation/Validator.php
/usr/share/php/SAML2/SOAP.php
/usr/share/php/SAML2/SOAPClient.php
/usr/share/php/SAML2/Signature
/usr/share/php/SAML2/Signature/AbstractChainedValidator.php
/usr/share/php/SAML2/Signature/ChainedValidator.php
/usr/share/php/SAML2/Signature/FingerprintValidator.php
/usr/share/php/SAML2/Signature/MissingConfigurationException.php
/usr/share/php/SAML2/Signature/PublicKeyValidator.php
/usr/share/php/SAML2/Signature/Validator.php
/usr/share/php/SAML2/Signature/ValidatorChain.php
/usr/share/php/SAML2/Signature/ValidatorInterface.php
/usr/share/php/SAML2/SignedElement.php
/usr/share/php/SAML2/SignedElementHelper.php
/usr/share/php/SAML2/StatusResponse.php
/usr/share/php/SAML2/SubjectQuery.php
/usr/share/php/SAML2/Utilities
/usr/share/php/SAML2/Utilities/ArrayCollection.php
/usr/share/php/SAML2/Utilities/Certificate.php
/usr/share/php/SAML2/Utilities/Collection.php
/usr/share/php/SAML2/Utilities/File.php
/usr/share/php/SAML2/Utilities/Temporal.php
/usr/share/php/SAML2/Utils.php
/usr/share/php/SAML2/XML
/usr/share/php/SAML2/XML/Chunk.php
/usr/share/php/SAML2/XML/alg
/usr/share/php/SAML2/XML/alg/Common.php
/usr/share/php/SAML2/XML/alg/DigestMethod.php
/usr/share/php/SAML2/XML/alg/SigningMethod.php
/usr/share/php/SAML2/XML/ds
/usr/share/php/SAML2/XML/ds/KeyInfo.php
/usr/share/php/SAML2/XML/ds/KeyName.php
/usr/share/php/SAML2/XML/ds/X509Certificate.php
/usr/share/php/SAML2/XML/ds/X509Data.php
/usr/share/php/SAML2/XML/md
/usr/share/php/SAML2/XML/md/AdditionalMetadataLocation.php
/usr/share/php/SAML2/XML/md/AffiliationDescriptor.php
/usr/share/php/SAML2/XML/md/AttributeAuthorityDescriptor.php
/usr/share/php/SAML2/XML/md/AttributeConsumingService.php
/usr/share/php/SAML2/XML/md/AuthnAuthorityDescriptor.php
/usr/share/php/SAML2/XML/md/ContactPerson.php
/usr/share/php/SAML2/XML/md/EndpointType.php
/usr/share/php/SAML2/XML/md/EntitiesDescriptor.php
/usr/share/php/SAML2/XML/md/EntityDescriptor.php
/usr/share/php/SAML2/XML/md/Extensions.php
/usr/share/php/SAML2/XML/md/IDPSSODescriptor.php
/usr/share/php/SAML2/XML/md/IndexedEndpointType.php
/usr/share/php/SAML2/XML/md/KeyDescriptor.php
/usr/share/php/SAML2/XML/md/Organization.php
/usr/share/php/SAML2/XML/md/PDPDescriptor.php
/usr/share/php/SAML2/XML/md/RequestedAttribute.php
/usr/share/php/SAML2/XML/md/RoleDescriptor.php
/usr/share/php/SAML2/XML/md/SPSSODescriptor.php
/usr/share/php/SAML2/XML/md/SSODescriptorType.php
/usr/share/php/SAML2/XML/md/UnknownRoleDescriptor.php
/usr/share/php/SAML2/XML/mdattr
/usr/share/php/SAML2/XML/mdattr/EntityAttributes.php
/usr/share/php/SAML2/XML/mdrpi
/usr/share/php/SAML2/XML/mdrpi/Common.php
/usr/share/php/SAML2/XML/mdrpi/PublicationInfo.php
/usr/share/php/SAML2/XML/mdrpi/RegistrationInfo.php
/usr/share/php/SAML2/XML/mdui
/usr/share/php/SAML2/XML/mdui/Common.php
/usr/share/php/SAML2/XML/mdui/DiscoHints.php
/usr/share/php/SAML2/XML/mdui/Keywords.php
/usr/share/php/SAML2/XML/mdui/Logo.php
/usr/share/php/SAML2/XML/mdui/UIInfo.php
/usr/share/php/SAML2/XML/saml
/usr/share/php/SAML2/XML/saml/Attribute.php
/usr/share/php/SAML2/XML/saml/AttributeValue.php
/usr/share/php/SAML2/XML/saml/BaseIDType.php
/usr/share/php/SAML2/XML/saml/Issuer.php
/usr/share/php/SAML2/XML/saml/NameID.php
/usr/share/php/SAML2/XML/saml/NameIDType.php
/usr/share/php/SAML2/XML/saml/SubjectConfirmation.php
/usr/share/php/SAML2/XML/saml/SubjectConfirmationData.php
/usr/share/php/SAML2/XML/samlp
/usr/share/php/SAML2/XML/samlp/Extensions.php
/usr/share/php/SAML2/XML/shibmd
/usr/share/php/SAML2/XML/shibmd/Scope.php
/usr/share/php/SAML2/autoload.php

References

Summary

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