How to Install and Uninstall php56-php-cli.x86_64 Package on CentOS 8 / RHEL 8

Last updated: April 20,2024

1. Install "php56-php-cli.x86_64" package

This is a short guide on how to install php56-php-cli.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install php56-php-cli.x86_64

2. Uninstall "php56-php-cli.x86_64" package

Please follow the guidance below to uninstall php56-php-cli.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove php56-php-cli.x86_64 $ sudo dnf autoremove

3. Information about the php56-php-cli.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:58:32 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : php56-php-cli
Version : 5.6.40
Release : 26.el8.remi
Architecture : x86_64
Size : 2.7 M
Source : php56-php-5.6.40-26.el8.remi.src.rpm
Repository : remi-safe
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 and PostgreSQL
Description : The php56-php-cli package contains the command-line interface
: executing PHP scripts, /opt/remi/php56/root/usr/bin/php, and the CGI interface.