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

Last updated: November 22,2024

1. Install "php-mcrypt" package

This guide covers the steps necessary to install php-mcrypt on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-mcrypt

2. Uninstall "php-mcrypt" package

Please follow the instructions below to uninstall php-mcrypt on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php-mcrypt
Architecture: all
Version: 1:7.0+35ubuntu6.1
Priority: optional
Section: universe/php
Source: php-defaults (35ubuntu6.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php7.0-mcrypt
Filename: pool/universe/p/php-defaults/php-mcrypt_7.0+35ubuntu6.1_all.deb
Size: 1934
MD5sum: ee3cf0a45562de3b0c6e0f7cde56b01f
SHA1: cd319805ddee43efd1852a10abd555ca9ce52518
SHA256: 1f255233fc48e4cdb36a72dc12f2b7d22f8a81d2061a20c0ea68d98b0b540811
SHA512: a38ab9b0d08756c37921326ab178a2ce4505cf1867bc6d8d0b23749d2152069aa651222be590b354ad261018cebbc8b1ba3476eaabd95a28cd3ada44ddd75432
Description-en: libmcrypt module for PHP [default]
This package provides a libmcrypt module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: 84ca172e0cef7f0d9fbf5281b648f50c

Package: php-mcrypt
Priority: optional
Section: universe/php
Installed-Size: 11
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (35ubuntu6)
Version: 1:7.0+35ubuntu6
Depends: php-common, php7.0-mcrypt
Filename: pool/universe/p/php-defaults/php-mcrypt_7.0+35ubuntu6_all.deb
Size: 1930
MD5sum: a393b6fcf633ee683c0de4028fca5977
SHA1: 1829106f06a71d029d007c19e569c428ef7a790e
SHA256: 8fad1463ecf1cb396f6c6cda327c96829c2e13f80c27a18cd822b84410b569fb
Description-en: libmcrypt module for PHP [default]
This package provides a libmcrypt module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: 84ca172e0cef7f0d9fbf5281b648f50c
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu