How to uninstall installed software programs in linux?

青灯夜游
Release: 2020-09-17 11:55:18
Original
39602 people have browsed it

The installation and uninstallation of Linux software has always been a problem that troubles many new users. The following article will introduce to you how to uninstall installed software programs in Linux. I hope it will be helpful to you.

How to uninstall installed software programs in linux?

In Windows, we can use the installation and uninstallation program that comes with the software or "Add/Remove Programs" in the control panel. Similarly, there is a powerful software installation and uninstallation tool under Linux called RPM. It can be used to create, install, query, update, and uninstall software. This tool is used from the command line. Enter rpm at the Shell prompt to get help information for the command.

Software uninstallation

1. Software uninstallation 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
Copy after login

to query all software packages installed in the current system.

2. After determining the name of the software to be uninstalled, you can start to actually uninstall the software. Type the command:

#rpm -e [package name]
Copy after login

to uninstall the software.

Description:

The function of parameter e is to make rpm enter uninstall mode. Uninstall the software package named [package name].

Because there are dependencies between various software packages in the system. If it cannot be uninstalled due to dependencies, rpm will give a prompt and stop the uninstallation. You can use the following command to ignore dependencies and start uninstalling directly:

#rpm -e [package name] -nodeps
Copy after login

Uninstalling while ignoring dependencies may cause some other software in the system to become unusable

If you want to know about rpm package installation Where have you been?

Should use

#rpm -ql [package name]
Copy after login

Related learning recommendations: linux video tutorial

The above is the detailed content of How to uninstall installed software programs 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