How to Install and Uninstall php-random-compat Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: April 28,2024

1. Install "php-random-compat" package

Please follow the guidance below to install php-random-compat on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php-random-compat" package

This guide covers the steps necessary to uninstall php-random-compat on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-random-compat package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-random-compat
Architecture: all
Version: 2.0.11-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: php-common
Suggests: php-libsodium
Filename: pool/universe/p/php-random-compat/php-random-compat_2.0.11-1_all.deb
Size: 9568
MD5sum: 75874c773d15cb0a4b9034d4ab26400b
SHA1: 0e70992c802021c88d9975f4a1a108f25e960152
SHA256: d6da6b611d2369d0b8d0135299d8ad2b0de6df724fc4d51f5058b46a83f910fd
Homepage: https://github.com/paragonie/random_compat
Description: PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
Description-md5: b60816fca5e7a72ff3497652e4864465