RPM package Local files are located:
/mnt/cdrom/packages
The disadvantage of the RPM package installation is that it has strong dependencies, is cumbersome to install, and is prone to errors due to dependencies between certain installation files.
The following is a list of RPM Package command management and some instructions:
RPM Package Installation Instructions:
RPM-IVH Full Package Name
This command is executed only if there is a local installation package, and after installation there will be a dependency prompt, just follow the dependency installation
RPM//For RPM package suffix
-qi httpd i for information Query HTTPD related package information
-QL httpd Query Installed package location
-QLP Query the location where the RPM package is not installed
RPM-QF a file name to find out which RPM package the file belongs to
Note: The RPM package is installed in the default location as written by the author of the RPM package.
RPM Package Check:
Rpm-v This command can show whether someone else has changed
RPM Upgrade and uninstallation:
RPM-UVH Package Name Upgrade Instructions
RPM-E Package Name Uninstall instructions
Note: RPM provides the uninstall command is because its installation files are scattered, manual removal cumbersome, with the corresponding instructions can delete the RPM package can be
For source package installation and RPM package differences:
Conceptually different: one can see the source code, one cannot see, the RPM package installs up faster
Installation location is different: RPM package installation is the default path, while source code installation needs to specify the location, generally/usr/local/software name
Start Service: RPM can be started using service httpd start, and the other is/usr/local/apache2/bin/apachectl start of course RPM installation most basic boot is/etc/rc.d/init.d/ht TPD Start
Delete Mode: RPM package only need to execute the uninstall command, while the source code installation is only used to delete the directory
This article is from the "11309357" blog, please be sure to keep this source http://11319357.blog.51cto.com/11309357/1761913
Some knowledge of RPM packages and source packages