In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to view the installed software in linux". In the daily operation, I believe many people have doubts about how to view the installed software in linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to view installed software in linux". Next, please follow the editor to study!
Because there are many ways to install software in linux, there is no general way to find out whether some software is installed. To sum up, it can be divided into these categories:
1. If the rpm package is installed, you can see it with rpm-qa. If you want to find out whether a software package is installed, use rpm-qa | grep "the name of the software or package".
[root@hexuweb102 ~] rpm-qa | grep ruby2, installed in deb package, can be seen using dpkg-l. If you are looking for the specified package, use dpkg-l | grep "the name of the software or package"
[root@hexuweb102~] dpkg-l | installed by grepruby3 or yum methods, you can use yum list installed to find it. If you are looking for a specified package, add the command to | grep "software name or package name".
[root@hexuweb102 ~] yum list installed | grep ruby4. If it is compiled and installed in the source package itself, such as .tar.gz or tar.bz2, this only depends on whether the executable file exists.
Neither of the above methods can see the package installed in this source form. If installed as a root user, the executable is usually in the / sbin:/usr/bin directory.
Description: rpm yum is the software package management command of Redhat linux, and dpkg is the software package management command of debian series.
The installation and uninstallation of Linux software has always been a difficult problem for many new users. 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.
Software uninstall 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 can query all the software packages installed on the current system.
two。 After determining the name of the software to be uninstalled, you can begin to actually uninstall the software. Type the following command to uninstall the software:
The function of the # rpm-e [package name] parameter e is to put 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 unloading of dependencies may cause some other software in the system to become unusable.
Add:
If it is binary software that ends in .bin, you can install it in the following ways (take so-6_0-beta-bin-linux-zh-Tw1.bin as an example):
Run the analog terminal input under the folder where the so-6_0-beta-bin-linux-zh-Tw1.bin is located:
. / so-6_0-beta-bin-linux-zh-Tw1.bin and press enter!
Of course, you can also enter:. / so and then use the [Tab] key to complete
(. / indicates the current directory. If the terminal is not opened in the same directory as the software, you still need to enter the corresponding path before the software name. )
If you are in the graphical interface, you can also directly click (or double-click, depending on the specific mouse settings) to run the anti-installation program!
At this point, the study on "how to view the installed software in linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.