How to Install and Uninstall php7.2-mcrypt Package on Debian 12 (Bookworm)

Last updated: May 21,2024

1. Install "php7.2-mcrypt" package

This guide covers the steps necessary to install php7.2-mcrypt on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-mcrypt" package

Please follow the guidelines below to uninstall php7.2-mcrypt on Debian 12 (Bookworm):

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

3. Information about the php7.2-mcrypt package on Debian 12 (Bookworm)

Package: php7.2-mcrypt
Source: php-mcrypt
Version: 3:1.0.6-1+0~20231125.15+debian12~1.gbp3589bd
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 (>= 2.5.8)
Breaks: php-mcrypt (<< 3:1.0.6-1+0~20231125.15+debian12~1.gbp3589bd~)
Replaces: php-mcrypt (<< 3:1.0.6-1+0~20231125.15+debian12~1.gbp3589bd~)
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.6-1+0~20231125.15+debian12~1.gbp3589bd_amd64.deb
Size: 16468
SHA256: 1e6c937c5fafcf29895754ea94e1af0756cd0319d349a12e7a6861b4ea4a85d2
SHA1: 240d6a332742d3041a000ce80ac8df9c42af79c3
MD5sum: 27c11fe0bc1d84ae74b08c193dd5953b
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