How to Install and Uninstall php-cli.x86_64 Package on CentOS Stream 8

Last updated: October 06,2024

1. Install "php-cli.x86_64" package

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

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

2. Uninstall "php-cli.x86_64" package

Please follow the instructions below to uninstall php-cli.x86_64 on CentOS Stream 8:

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

3. Information about the php-cli.x86_64 package on CentOS Stream 8

Last metadata expiration check: 0:09:54 ago on Sun Feb 25 03:03:59 2024.
Installed Packages
Name : php-cli
Version : 8.3.3
Release : 1.el8.remi
Architecture : x86_64
Size : 18 M
Source : php-8.3.3-1.el8.remi.src.rpm
Repository : @System
From repo : remi-modular
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND NCSA AND PostgreSQL
Description : The php-cli package contains the command-line interface
: executing PHP scripts, /usr/bin/php, and the CGI interface.