How to Install and Uninstall php7.1-mcrypt Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "php7.1-mcrypt" package

Please follow the steps below to install php7.1-mcrypt on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-mcrypt" package

In this section, we are going to explain the necessary steps to uninstall php7.1-mcrypt on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.1-mcrypt package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.1-mcrypt
Source: php7.1
Priority: optional
Section: php
Installed-Size: 80
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.04.1+deb.sury.org+1
Provides: php-mcrypt
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libmcrypt4
Filename: pool/main/p/php7.1/php7.1-mcrypt_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 15160
MD5sum: fa0d065730f558c6bd055c55e2d6cfc9
SHA1: 0a1b7664a0fc783c99573a94431b646d7b742d93
SHA256: 8be47aca12d1c8551fc5a7f84d13a7bacdb32a5d16171caad3c94fc3c8e04dd4
Description: libmcrypt module for PHP
Description-md5: 96673b2530a6fc30699e194fda12f804