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

Last updated: June 06,2024

1. Install "php-mcrypt" package

This guide covers the steps necessary to install php-mcrypt on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-mcrypt

2. Uninstall "php-mcrypt" package

Learn how to uninstall php-mcrypt on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php-mcrypt
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3:1.0.5-1+ubuntu18.04.1+deb.sury.org+1
Depends: php8.1-mcrypt
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mcrypt/php-mcrypt_1.0.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 3368
MD5sum: e02a8dd1b792bda6fde51ef18fc43537
SHA1: 2e33c5abd01b9c9f03a1108c01374c862cac6444
SHA256: 12bb41b1b35e2113d4af487407754b26bf3bb9f6996a3f6995e4ed57d3fcef3b
Description: PHP bindings for the libmcrypt library
Description-md5: 5679755b3c3595da944057f70e0f8150