How to uninstall software in linux

Release: 2019-07-24 09:15:19
Original
13601 people have browsed it

How to uninstall software in linux

Uninstalling software in Linux is mainly done using rpm. To uninstall software, you must first know the name of the software package registered in the system. Type the command:

#查询到当前系统中安装的所有的软件包
rpm -q -a

#查询pcre安装的软件包名称
rpm -q -a | grep "pcre"

#查询rpm包安装到哪里
rpm -ql pcre-7.8-7.el6.x86_64
Copy after login

How to uninstall software in linux

After determining the name of the software to be uninstalled, you can start to actually uninstall the software

#卸载软件,参数e的作用是使rpm进入卸载模式。对名为[package name]的软件包进行卸载
rpm -e [package name]

/*由于系统中各个软件包之间相互有依赖关系。如果因存在依赖关系而不能卸载,rpm将给予提示并停止卸载。你可以使用如下的命令来忽略依赖关系,直接开始卸载:*/
rpm -e [package name] -nodeps

#进入安装包卸载
make uninstall
Copy after login

How to uninstall software in linux

Related recommendations: "Linux Tutorial"

The above is the detailed content of How to uninstall software in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template