From fedora-docs-commits at redhat.com Wed Jun 10 15:28:43 2015 Content-Type: multipart/mixed; boundary="===============5158590296325760936==" MIME-Version: 1.0 From: fedora-docs-commits at redhat.com To: docs-commits at lists.fedoraproject.org Subject: rpm-guide rpm-guide-command-reference-en.xml,NONE,1.1 Date: Mon, 03 Oct 2005 21:45:46 -0400 Message-ID: <200510040145.j941jkc5000394@cvs-int.fedora.redhat.com> --===============5158590296325760936== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: elliss Update of /cvs/docs/rpm-guide In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv376 Added Files: rpm-guide-command-reference-en.xml = Log Message: --- NEW FILE rpm-guide-command-reference-en.xml --- = RPM Command Reference In This Appendix *rpm command *rpmbuild command This appendix covers the syntax of the command-line options for the rpm and rpmbuild commands. The rpm Command The rpm command is the workhorse of the RPM system. The following sections cover options for the major operations with the rpm command. Table A-1 lists the query options for the rpm command. Table A-1 rpm query options with =EF=BF=BD=EF=BF=BD=EF=BF=BDq or --qu= ery Option Usage -a, --all Query all packages -c, --configfiles List configuration files --changelog List changelog entries --conflicts List capabilities this package conflicts with -d, --docfiles List documentation files --dump Dump out extra information on files. -f, --file filename Query for packages owning given file --filesbypapkg List all files in each selected package --fileid md5_id Query for the package with the given MD5 digest -g, --group group_name Query packages in the given group --hdrid sha1_header_id Query for the package with the given header identifier number, in SHA1 format -i, --info Display a lot of package information including description --last [...1918 lines suppressed...] Read the given colon-separated files as the macro files to define RPM macros; only the first file must exist --nobuild Don't really build anything, which really tests the spec file --pipe command Pipe the output of the rpm command to the given command --quiet Provide less output, normally show only errors --rcfile file:file:file Read the given colon-separated files as the rc files to define RPM settings; only the first file must exist --rmsource Remove the sources after the build --rmspec Remove the spec file after the build --root directory Use directory as the top-level directory instead of / --short-circuit With the -bc or -bi options, jumps directly to the given stage and just executes that stage --showrc Print the rpmrc and macro configuration and exit --sign Sign the package with a GPG signature --target platform Build for the given platform. May not work if you don't have the other platform build commands, such as cross compilers, set up. Can work for Intel platforms with i386, i686, and so on. -v, --verbose Provide more verbose output -vv Provide even more verbose output, including debugging information --version Print the RPM version and exit --===============5158590296325760936==--