How to delete all dependent packages of php: First use the command "#rpm -qa|grep php" to view all php-related rpm packages; then delete them through the "#rpm -e xxx" command.
The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer
linux forced deletion php installation package
After installing php, I found that I wanted to install the phpstudy integrated environment directly. I could only uninstall the installed php.
Use the command#rpm -qa|grep php View all PHP related rpm package,
#rpm -e xxx xxx refers to the package name of the rpm package listed in the previous command, just copy it. In this step, uninstall the installed PHP rpm package. Note that errors may occur due to possible dependencies, so you may need to adjust the order of the rpm packages to be written.
If you adjust the order of rpm packages and still cannot delete the remaining packages, you can solve the problem by force deletion:
#rpm -e xxx --nodeps其中xxx指的还是rpm包名 强制删除
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of How to delete all dependent packages of php. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Linux new version
SublimeText3 Linux latest version

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
