How to Install and Uninstall php-random-compat Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "php-random-compat" package

Please follow the instructions below to install php-random-compat on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-random-compat

2. Uninstall "php-random-compat" package

This tutorial shows how to uninstall php-random-compat on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove php-random-compat $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-random-compat package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-random-compat
Priority: optional
Section: universe/php
Installed-Size: 65
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Version: 1.2.0-1build1
Depends: php-common
Suggests: php-libsodium
Filename: pool/universe/p/php-random-compat/php-random-compat_1.2.0-1build1_all.deb
Size: 15428
MD5sum: 026a30621478c5054ca2a64aa391b784
SHA1: d179654b083122d178d79569a732beff86e68bd6
SHA256: f40291b1ff4e6ecfafbc460ee563231b60cf65c57e46c6f6d1ab246e732c7d84
Description-en: PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
The random_compat polyfill provides simple interfaces for cryptographically
secure random number generators added in PHP 7.0.0:
* random_bytes(int) generates an arbitrary number of random bytes
* random_int(int, int) returns a random integer between two given values
(inclusive)
Description-md5: b60816fca5e7a72ff3497652e4864465
Homepage: https://github.com/paragonie/random_compat
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu