In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
The location of the files local to the rpm package is:
/ mnt/cdrom/Packages
The disadvantages of rpm package installation are: strong dependencies, tedious installation, and sometimes errors due to dependencies between some installation files.
The following lists the rpm package command management and provides some instructions:
Installation instructions for the rpm package:
Rpm-ivh full package name
Execute this command on the premise that the installation package is available locally, and there will be a dependency prompt after installation. Just install it according to the dependency.
Rpm package naming convention: httpd-manual-2.2.9.el5.i386.rpm
Httpd / / is the software name
2.2.9 / is the version number
I386 / / is the architecture
Rpm / / is the rpm package suffix
Rpm package query:
Rpm-Q package name for package query
-qa a does all package queries for all
-qi httpd i queries httpd related package information for information
-ql httpd queries the location of installed packages
-qlp queries where uninstalled rpm packages will be placed
Rpm-qf a file name to query the rpm package to which the file belongs
Note: the rpm package is installed in the default location where the author of the rpm package is written
Rpm package check:
The command rpm-V can show whether it has been changed by someone else.
Rpm upgrade and uninstall:
Rpm-Uvh package name upgrade instruction
Rpm-e package name uninstall instruction
Note: rpm provides the uninstall command because its installation files are scattered, and it is tedious to delete it manually. You can delete the rpm package with the corresponding instructions.
The difference between the source package installation and the rpm package:
Conceptual difference: one can see the source code, the other can't, and the rpm package installs faster.
Installation location is different: rpm package installation is the default path, while source code installation needs to specify a location, usually / usr/local/ software name
Startup service: rpm can be started using service httpd start, and the other is / usr/local/apache2/bin/apachectl start of course the most basic startup of rpm installation is / etc/rc.d/init.d/httpd start
Delete method: the rpm package only needs to execute the uninstall command, while the source code installation only needs to delete the directory.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.