Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rpmspec(8) [v7 man page]

RPMSPEC(8)						      System Manager's Manual							RPMSPEC(8)

NAME
rpmspec - RPM Spec Tool SYNOPSIS
QUERYING SPEC FILES: rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ... select-options [--rpms] [--srpms] query-options [--qf,--queryformat QUERYFMT] [--target TARGET_PLATFORM] QUERY OPTIONS The general form of an rpm spec query command is rpm {-q|--query} [select-options] [query-options] You may specify the format that the information should be printed in. To do this, you use the --qf|--queryformat QUERYFMT option, followed by the QUERYFMT format string. See rpm(8) for details. SELECT OPTIONS --rpms Operate on the binary package header(s). --srpm Operate on the source package header(s). SEE ALSO
popt(3), rpm(8), rpmdb(8), rpmkeys(8), rpmsign(8), rpm2cpio(8), rpmbuild(8), rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Marc Ewing <marc@redhat.com> Jeff Johnson <jbj@redhat.com> Erik Troan <ewt@redhat.com> Panu Matilainen <pmatilai@redhat.com> Red Hat, Inc 29 October 2010 RPMSPEC(8)

Check Out this Related Man Page

RPMSPEC(8)						      System Manager's Manual							RPMSPEC(8)

NAME
rpmspec - RPM Spec Tool SYNOPSIS
QUERYING SPEC FILES: rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ... select-options [--rpms] [--srpms] query-options [--qf,--queryformat QUERYFMT] [--target TARGET_PLATFORM] QUERY OPTIONS The general form of an rpm spec query command is rpm {-q|--query} [select-options] [query-options] You may specify the format that the information should be printed in. To do this, you use the --qf|--queryformat QUERYFMT option, followed by the QUERYFMT format string. See rpm(8) for details. SELECT OPTIONS --rpms Operate on the binary package header(s). --srpm Operate on the source package header(s). SEE ALSO
popt(3), rpm(8), rpmdb(8), rpmkeys(8), rpmsign(8), rpm2cpio(8), rpmbuild(8), rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Marc Ewing <marc@redhat.com> Jeff Johnson <jbj@redhat.com> Erik Troan <ewt@redhat.com> Panu Matilainen <pmatilai@redhat.com> Red Hat, Inc 29 October 2010 RPMSPEC(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

rpm hell!

I've just installed redhat 6.2 on one of my systems and am trying to install the gcc c compiler after downloading an rpm from the redhat site. The damn thing gives me: only major numbers <= 3 are supported by this version of RPM what do I do, it does the same with the latest rpm of php ... (7 Replies)
Discussion started by: knmwt15000
7 Replies

2. Shell Programming and Scripting

Need Help (Select query)

Dear All, This may sound a simple query but a non technical person like me is not able to do it, So please help me out. I m using Unix... isql I jst wanted to do something like following select * from xyz where ID= xxxxxxxx (8 digit ID) Here if i put single 8 digit ID then the... (5 Replies)
Discussion started by: topgear1000cc
5 Replies

3. Red Hat

Adding capabilities to an RPM

Hi. I downloaded a package that could only be installed on RHEL5, and not 4 or 3, so I got the source in order to compile it on RHEL 3 so hopefully it will work on all versions. So I have the source for a working package, but when I build it in RHEL 3 and then try to install it in RHEL 5, it... (6 Replies)
Discussion started by: Boaz
6 Replies

4. SuSE

skip upgrading rpm

hi the step 'upgrading the rpm' is taking a long tme. and since I am not interested in uninstallation, is there a way to skip this step? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

5. Linux

skip upgrading rpm

(4 Replies)
Discussion started by: melanie_pfefer
4 Replies

6. Red Hat

problem with Dependencies package !

Dear Friends , I am using RHEL 5 server . In Linux when I am going to install 'mod_ssl' rpm then I got the following error : # rpm -ivh mod_ssl-2.2.3-6.el5.i386.rpm --aid --force warning: mod_ssl-2.2.3-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed... (5 Replies)
Discussion started by: shipon_97
5 Replies

7. Shell Programming and Scripting

Extract RPM name from path to .rpm file

It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from: /home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'. I can't get the awk syntax right: awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies

8. Emergency UNIX and Linux Support

Package deployments

I have a task to formalize process of our package deployments. We need to create a sprm containing libcurl and a corresponding rpm of srpm. I found that this site has required downloadable packages - Index of /download and should be build for 32 bit architecture applications. Since I am new to this... (8 Replies)
Discussion started by: uunniixx
8 Replies

9. AIX

Sudoers Installation in AIX

1. Download the rpm file needed to install the sudoers package in AIX AIX open sources rpms Search for the file sudo-1.6.7p5-3.aix5.1.ppc.rpm and download it 2. Copy the downloaded file to the AIX servers /tmp/SUDO directory 3. change the permission to chmod 777 <Filename> 4.smitty install->... (4 Replies)
Discussion started by: Sounddappan
4 Replies

10. Red Hat

RPM Up-gradation

Hi, I was reading on RPM upgradtion process here: http://www.rpm.org/max-rpm/ch-rpm-upgrade.html Here the author mentioned regarding: "Original file", "Current file" and "New file" I can understand this in this way: - "Original file" --> Config file from mypackage-1.0.0.1.rpm - "Current... (4 Replies)
Discussion started by: jw_amp
4 Replies

11. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

12. Shell Programming and Scripting

Suplying stdin input within script

Hi , I have script in that , i uninstall rpm using rpm -ef $rc1 now my query is rpm -ef is asking user input DO YOU Want To continue (YES/NO) for each uninstalltion. now i want to supply YES variable when it asks for above statement . so that i dont have to give user input from... (4 Replies)
Discussion started by: raghavendra.nsn
4 Replies

13. Red Hat

Problem with rpm installation

When i try to install rpm with rpm -ivh ntp* it shows package is already install and when i query for same package it shows package is not installed ?How to resolve DSA signature error for rpm? How to choose rpm package except redhat version(el5) and architecture(i386) and site link for that? (5 Replies)
Discussion started by: amitbharad
5 Replies

14. Red Hat

How to get all the .so files?

Dear all, I have succesfully installed the redhat-6, But while installing a .rpm package i got to know it has missing a lot of .so (libraries) in it. Can you suggest how to get all the libraries . I do not want to download all .so files one by one . Can i get whole list at once ? Thanks (5 Replies)
Discussion started by: posix
5 Replies

15. AIX

Problems with the rpm command

Hi folks, I have a problem with command rpm, I'm running the command and appears this error: server:/tmp/python# uname -rv 2 5 server:/tmp/python# rpm -i python-2.3.4-2.aix5.1.ppc.rpm exec(): 0509-036 Cannot load program /opt/freeware/bin/rpm because of the following errors: ... (6 Replies)
Discussion started by: stenioc1
6 Replies