How to Install and Uninstall php7-cli Package on openSUSE Leap

Last updated: November 23,2024

1. Install "php7-cli" package

This guide covers the steps necessary to install php7-cli on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install php7-cli

2. Uninstall "php7-cli" package

Please follow the instructions below to uninstall php7-cli on openSUSE Leap:

$ sudo zypper remove php7-cli

3. Information about the php7-cli package on openSUSE Leap

Information for package php7-cli:
---------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : php7-cli
Version : 7.4.33-150400.4.31.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 10.1 MiB
Installed : No
Status : not installed
Source package : php7-7.4.33-150400.4.31.1.src
Upstream URL : https://secure.php.net
Summary : Interpreter for the PHP scripting language version 7
Description :
PHP is a server-side HTML embedded scripting language designed
primarily for web development but also used as a general-purpose
programming language.
This package contains the standard implementation of PHP, namely Zend
PHP. Included are the PHP command-line binary and the configuration
file (php.ini).
Additional documentation is available in package php-doc.

5. The same packages on other Linux Distributions