How to Install and Uninstall php-random-compat Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 27,2024

1. Install "php-random-compat" package

Please follow the steps below to install php-random-compat on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "php-random-compat" package

Please follow the steps below to uninstall php-random-compat on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the php-random-compat package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-random-compat
Architecture: all
Version: 2.0.21-1
Multi-Arch: foreign
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: 63
Depends: php-common
Suggests: php-libsodium
Filename: pool/universe/p/php-random-compat/php-random-compat_2.0.21-1_all.deb
Size: 10938
MD5sum: 6b6b543279bb978409b569f2cae18d9e
SHA1: 7d3acf6bb7a8b7b0f3ad3df2d5d5f0328f21e871
SHA256: 16b3e29f69ca799daaabed5c0b9a31eb22c6fcc1ed6d08b9d1a246ad568b86b8
SHA512: 103fa91181a3807b1a26f1a8309666b2825c40bea0be9af32cc45d0130409f9c8832be95d5c74faabf9a83768b634b94273a8c5ba74fce45c35ea477fa09a280
Homepage: https://github.com/paragonie/random_compat
Description: PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
Description-md5: b60816fca5e7a72ff3497652e4864465