How to Install and Uninstall php7.2-mcrypt Package on Debian 11 (Bullseye)

Last updated: May 20,2024

1. Install "php7.2-mcrypt" package

Please follow the instructions below to install php7.2-mcrypt on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-mcrypt

2. Uninstall "php7.2-mcrypt" package

Please follow the steps below to uninstall php7.2-mcrypt on Debian 11 (Bullseye):

$ sudo apt remove php7.2-mcrypt $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-mcrypt package on Debian 11 (Bullseye)

Package: php7.2-mcrypt
Source: php-mcrypt
Version: 3:1.0.5-1+0~20220706.8+debian11~1.gbpba43ab
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 71
Pre-Depends: php-common (>= 2:69~)
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libmcrypt4
Breaks: php-mcrypt (<< 3:1.0.5-1+0~20220706.8+debian11~1.gbpba43ab~)
Replaces: php-mcrypt (<< 3:1.0.5-1+0~20220706.8+debian11~1.gbpba43ab~)
Provides: php-mcrypt
Homepage: https://pecl.php.net/package/mcrypt
Priority: optional
Section: php
Filename: pool/main/p/php-mcrypt/php7.2-mcrypt_1.0.5-1+0~20220706.8+debian11~1.gbpba43ab_amd64.deb
Size: 16328
SHA256: 43a0a30651c9d2d1a1ae4ab43212e2acd437ea8e083a1f38a8fad7f16708da79
SHA1: 89cc3f5e22b4c05e4293c6041c34487a1a48229c
MD5sum: 01fb4ff5d0661d7b552977ecb434c9e5
Description: PHP bindings for the libmcrypt library
These functions provides bindings for the unmaintained libmcrypt library.
.
The extension is unbundled from php-src as of PHP 7.2.0, because the underlying
libmcrypt has obviously been abandoned. It is recommended to reevaluate using
this extension.
Description-md5: 5679755b3c3595da944057f70e0f8150