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

Last updated: November 25,2024

1. Install "php-cli.x86_64" package

This tutorial shows how to install php-cli.x86_64 on AlmaLinux 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 AlmaLinux 8:

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

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

Last metadata expiration check: 1:19:21 ago on Mon Sep 5 03:22:42 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.