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

Last updated: April 20,2024

1. Install "php-readline" package

This guide let you learn how to install php-readline on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-readline

2. Uninstall "php-readline" package

Please follow the instructions below to uninstall php-readline on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php-readline
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-readline
Filename: pool/main/p/php-defaults/php-readline_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: fdddbc186e1fabed10d6a5d3b714785a
SHA1: e2dd193eadcac4d38466f9139da315fd4dc359cb
SHA256: e5cd6fd83c305aa1e46ee8d84ce725f6bc031ac103a0029e80fcf6d5f8b13e08
Description: readline module for PHP [default]
Description-md5: 6b9f6f2b61bb29666062a905fc3a51d0

Package: php-readline
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: universe/php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-readline
Filename: pool/universe/p/php-defaults/php-readline_7.2+60ubuntu1_all.deb
Size: 2000
MD5sum: 6ad0f421680a2ed58d4625544efb2ce6
SHA1: 83d92714b3e38dc993800f8270760157f52f4fdf
SHA256: 42cca1393225e5bbed02851fb600c48840c63d48922e0bbe288d88e6dddbf81c
Description: readline module for PHP [default]
Description-md5: cd78cd02ce81426d6625de6602e46066