0117-0118.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 109 行
HTML
109 行
<HTML>
<HEAD>
<TITLE>Maximum RPM (RPM):The Philosophy Behind RPM:EarthWeb Inc.-</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311054 //-->
<!-- TITLE=Maximum RPM (RPM)//-->
<!-- AUTHOR=Edward Bailey//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=09 //-->
<!-- PAGES=0111-0118 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0111-0116.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch10/0119-0122.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-117"><P>Page 117</P></A>
<P>RPM takes special care with a user's config files. By using MD5 checksums, RPM can determine what action is most appropriate with a config file. If a
config file has been modified by the user and has to be replaced, it is saved. That way a user's modifications are never lost.
</P>
<H4><A NAME="ch09_ 10">
9.4.3. Powerful Query Capabilities
</A></H4>
<P>RPM uses a database to keep track of all files it installs. RPM's database
provides other benefits, such as the wide variety of information that can be easily retrieved from it. RPM's
query command makes it easy for users to quickly answer a number of questions, such as the
following:
</P>
<UL>
<LI> Where did this file
come from? Is it part of a package?
<LI> What does this package do?
<LI> What packages are installed on my system?
</UL>
<P>These are just a few examples of the many ways RPM can provide information about one
or more packages on a user's system.
</P>
<H4><A NAME="ch09_ 11">
9.4.4. Easy Package Verification
</A></H4>
<P>Another way that RPM leverages the information stored in its database is by providing an
easy way to verify that a package is properly installed. With this capability, RPM makes it easy
to determine, for example, what packages were damaged by a wildcard delete in
/usr/bin. In addition, RPM's verification command can detect changes to file attributes, such as a file's
permissions, ownership, and size.
</P>
<H4><A NAME="ch09_ 12">
9.5. To Summarize
</A></H4>
<P>RPM was written by developers for developers. It makes building packages as easy as
possible, even if the software being packaged hasn't been developed in-house. In addition, RPM
presents some significant advantages to users, thereby reducing support needs.
</P>
<P>Chapter 10, "The Basics of Developing with RPM," introduces the basic concepts of
package building with RPM.
</P>
<A NAME="PAGENUM-118"><P>Page 118</P></A>
<P><CENTER>
<a href="0111-0116.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch10/0119-0122.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?