How to Install and Uninstall php-mcrypt Package on Debian 11 (Bullseye)

Last updated: May 18,2024

1. Install "php-mcrypt" package

Please follow the guidelines below to install php-mcrypt on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-mcrypt

2. Uninstall "php-mcrypt" package

Please follow the instructions below to uninstall php-mcrypt on Debian 11 (Bullseye):

$ sudo apt remove php-mcrypt $ sudo apt autoclean && sudo apt autoremove

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

Package: php-mcrypt
Version: 3:1.0.5-1+0~20220706.8+debian11~1.gbpba43ab
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 11
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-mcrypt
Homepage: https://pecl.php.net/package/mcrypt
Priority: optional
Section: php
Filename: pool/main/p/php-mcrypt/php-mcrypt_1.0.5-1+0~20220706.8+debian11~1.gbpba43ab_amd64.deb
Size: 3404
SHA256: ec897ced6ce19c5a1c583fce909aa0b9ad1e6b7a080537d3763f37b570313f4f
SHA1: 0605b18e7f53653668a708bf652131caf27f4526
MD5sum: a5b8553ead9f4b1e488c3bbfbe1371c9
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