How to Install and Uninstall php7.2-mcrypt Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 08,2024

1. Install "php7.2-mcrypt" package

This guide let you learn how to install php7.2-mcrypt on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-mcrypt package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-mcrypt
Source: php-mcrypt
Priority: optional
Section: php
Installed-Size: 67
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3:1.0.4-5+ubuntu16.04.1+deb.sury.org+1
Replaces: php-mcrypt (<< 3:1.0.4-5+ubuntu16.04.1+deb.sury.org+1~)
Provides: php-mcrypt
Depends: php7.2-common, libc6 (>= 2.14), libmcrypt4
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mcrypt (<< 3:1.0.4-5+ubuntu16.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mcrypt/php7.2-mcrypt_1.0.4-5+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 15808
MD5sum: ba5e89508353ed6bcd524cc7ee3b3db7
SHA1: 4bd386c5f76e089ed99378bcde10a7d56fa5cb2b
SHA256: 60a709355454df9713891ccb4d38092b9ba6ca7265624013cb6252c046b6c483
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