How to Install and Uninstall php-cli.x86_64 Package on Rocky Linux 8

Last updated: October 06,2024

1. Install "php-cli.x86_64" package

Please follow the guidance below to install php-cli.x86_64 on Rocky Linux 8

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

2. Uninstall "php-cli.x86_64" package

Please follow the guidance below to uninstall php-cli.x86_64 on Rocky Linux 8:

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

3. Information about the php-cli.x86_64 package on Rocky Linux 8

Last metadata expiration check: 2:08:58 ago on Mon Sep 12 10:27:18 2022.
Installed Packages
Name : php-cli
Version : 8.1.10
Release : 1.el8.remi
Architecture : x86_64
Size : 18 M
Source : php-8.1.10-1.el8.remi.src.rpm
Repository : @System
From repo : remi-modular
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 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.