In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The editor will share with you how to uninstall the software in linux. I hope you will gain a lot after reading this article. Let's discuss it together.
How does linux 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.
two。 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. 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 use # rpm-ql [package name]
3. How to uninstall the software installed with the source package?
It is best to look at README and INSTALL; in general, it is said, but most software does not provide a method to uninstall the source package; we can find the installation point of the software to delete. It mainly depends on where you install it.
For example:
If you install the software, specify a directory. It won't be a difficult question.
For example, install gaim with source code package
#. / configure-prefix=/opt/gaim#make#make install
If you install mlterm
#. / configure-prefix=/opt/mlterm#make#make install
The software installed by the source package is specified to be installed in the / opt directory, so you will know.
If deleted, delete the corresponding software directory
Some software needs to execute make uninstall in the unzipped installation directory, so it is uninstalled.
After reading this article, I believe you have a certain understanding of how to uninstall the software in linux. You want to know more about it. 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.