How to Install and Uninstall php-cli.x86_64 Package on Amazon Linux 2
Last updated: November 24,2024
1. Install "php-cli.x86_64" package
Please follow the instructions below to install php-cli.x86_64 on Amazon Linux 2
$
sudo yum makecache
Copied
$
sudo yum install
php-cli.x86_64
Copied
2. Uninstall "php-cli.x86_64" package
In this section, we are going to explain the necessary steps to uninstall php-cli.x86_64 on Amazon Linux 2:
$
sudo yum remove
php-cli.x86_64
Copied
$
sudo yum autoremove
Copied
3. Information about the php-cli.x86_64 package on Amazon Linux 2
Loaded plugins: ovl, priorities
Installed Packages
Name : php-cli
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 18 M
Repo : installed
From repo : amzn2extra-php7.4
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0
Description : The php-cli package contains the command-line interface
: executing PHP scripts, /usr/bin/php, and the CGI interface.
Installed Packages
Name : php-cli
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 18 M
Repo : installed
From repo : amzn2extra-php7.4
Summary : Command-line interface for PHP
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0
Description : The php-cli package contains the command-line interface
: executing PHP scripts, /usr/bin/php, and the CGI interface.