How To Install php-paragonie-random-compat on Fedora 36
Introduction
In this tutorial we learn how to install php-paragonie-random-compat
on Fedora 36.
What is php-paragonie-random-compat
PHP 5.x polyfill for random_bytes() and random_int() from PHP 7. Autoloader
We can use yum
or dnf
to install php-paragonie-random-compat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-paragonie-random-compat.
Install php-paragonie-random-compat 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-paragonie-random-compat
using dnf
by running the following command:
sudo dnf -y install php-paragonie-random-compat
Install php-paragonie-random-compat 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-paragonie-random-compat
using yum
by running the following command:
sudo yum -y install php-paragonie-random-compat
How To Uninstall php-paragonie-random-compat on Fedora 36
To uninstall only the php-paragonie-random-compat
package we can use the following command:
sudo dnf remove php-paragonie-random-compat
php-paragonie-random-compat Package Contents on Fedora 36
/usr/share/doc/php-paragonie-random-compat
/usr/share/doc/php-paragonie-random-compat/CHANGELOG.md
/usr/share/doc/php-paragonie-random-compat/RATIONALE.md
/usr/share/doc/php-paragonie-random-compat/README.md
/usr/share/doc/php-paragonie-random-compat/SECURITY.md
/usr/share/doc/php-paragonie-random-compat/composer.json
/usr/share/licenses/php-paragonie-random-compat
/usr/share/licenses/php-paragonie-random-compat/LICENSE
/usr/share/php/random_compat
/usr/share/php/random_compat/autoload.php
/usr/share/php/random_compat/byte_safe_strings.php
/usr/share/php/random_compat/cast_to_int.php
/usr/share/php/random_compat/error_polyfill.php
/usr/share/php/random_compat/random.php
/usr/share/php/random_compat/random_bytes_com_dotnet.php
/usr/share/php/random_compat/random_bytes_dev_urandom.php
/usr/share/php/random_compat/random_bytes_libsodium.php
/usr/share/php/random_compat/random_bytes_libsodium_legacy.php
/usr/share/php/random_compat/random_bytes_mcrypt.php
/usr/share/php/random_compat/random_int.php
References
Summary
In this tutorial we learn how to install php-paragonie-random-compat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).