How to Install and Uninstall php-cli.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: October 09,2024

1. Install "php-cli.x86_64" package

This guide covers the steps necessary to install php-cli.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

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

2. Uninstall "php-cli.x86_64" package

Learn how to uninstall php-cli.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

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

3. Information about the php-cli.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:41:06 ago on Mon Feb 26 15:59:38 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.