How to Install and Uninstall php-random-compat Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "php-random-compat" package

Please follow the instructions below to install php-random-compat on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php-random-compat" package

In this section, we are going to explain the necessary steps to uninstall php-random-compat on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-random-compat package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-random-compat
Architecture: all
Version: 2.0.18+git-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: 63
Depends: php-common
Suggests: php-libsodium
Filename: pool/universe/p/php-random-compat/php-random-compat_2.0.18+git-1_all.deb
Size: 10172
MD5sum: b1f8d729d94ccb5b39f97bf763073616
SHA1: a3df2c7d2d4133b31bf07fdbb060642397ee6128
SHA256: 7566e6cde118272a373e30fcef15f39d74fdfcaebf89c5c35d9b3f6c88676863
Homepage: https://github.com/paragonie/random_compat
Description: PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
Description-md5: b60816fca5e7a72ff3497652e4864465