Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to uninstall the installed software programs in linux

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How do I uninstall software programs that are already installed in linux? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

In Windows, we can use the installation and uninstall programs that come 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 build, install, query, update, and uninstall software. The tool is used on the command line. Enter rpm at the prompt of Shell to get help for the command.

Uninstall the software

1. Rpm is mainly used to uninstall the software. The first thing to uninstall the software is to know the name of the package registered in the system. Type the command:

# rpm-Q-a

You can query all the software packages installed in the current system.

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

# rpm-e [package name]

You can uninstall the software.

Description:

The function of the parameter e is to put the rpm into uninstall mode. Uninstall the package named [package name].

Because the software packages in the system depend on each other. If you cannot uninstall because of a dependency, rpm prompts you to stop the uninstall. You can use the following command to ignore dependencies and start uninstalling directly:

# rpm-e [package name]-nodeps

Ignoring the uninstallation of dependencies may cause some other software in the system to become unusable

What if you want to know where the rpm package is installed?

Should be used

# rpm-ql [package name] after reading the above, do you know how to uninstall the software programs that have been installed in linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report