How to Install and Uninstall php-mcrypt Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 05,2024

1. Install "php-mcrypt" package

In this section, we are going to explain the necessary steps to install php-mcrypt on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-mcrypt

2. Uninstall "php-mcrypt" package

In this section, we are going to explain the necessary steps to uninstall php-mcrypt on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-mcrypt package on Ubuntu 21.10 (Impish Indri)

Package: php-mcrypt
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3:1.0.4-7+ubuntu21.10.1+deb.sury.org+3
Depends: php8.1-mcrypt
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mcrypt/php-mcrypt_1.0.4-7+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 3262
MD5sum: 430808a0c83f81b6fad86a723a1d7f38
SHA1: 6a418fba4cc0ca28de0fce1460a09033502d874e
SHA256: 053796a7f26a628896ccc313964d88ddff04347ea38135f2151da10e67eeca1b
Description-en: 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