How to Install and Uninstall php7.2-mcrypt Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 08,2024

1. Install "php7.2-mcrypt" package

This tutorial shows how to install php7.2-mcrypt on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-mcrypt" package

Please follow the step by step instructions below to uninstall php7.2-mcrypt on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.2-mcrypt package on Ubuntu 18.04 LTS (Bionic Beaver)

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.5-1+ubuntu18.04.1+deb.sury.org+1
Replaces: php-mcrypt (<< 3:1.0.5-1+ubuntu18.04.1+deb.sury.org+1~)
Provides: php-mcrypt
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libmcrypt4
Pre-Depends: php-common (>= 2:69~)
Breaks: php-mcrypt (<< 3:1.0.5-1+ubuntu18.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-mcrypt/php7.2-mcrypt_1.0.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 16280
MD5sum: cb328a21ad86f9f30d6106c4ded7430c
SHA1: 68ade5f07c32968f4b3529c678be170bff79f0d7
SHA256: 9df605f3831cff716cf09e181e467ed2f9419922f2af686a3640a3b46059076c
Description: PHP bindings for the libmcrypt library
Description-md5: 5679755b3c3595da944057f70e0f8150