- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: RPM listing
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 01:22 PM
03-13-2006 01:22 PM
RPM listing
Anybody know how to list the RPMs with extension in Redhat Linux. For Ex.
[root@olive1 ~]# rpm -qa | more
hwdata-0.146.12.EL-1
mingetty-1.07-3
setserial-2.17-17
termcap-5.4-3
glibc-2.3.4-2.13
I would like to have the list the RPM with extension like .i386.rpm
Thanks
Sajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 03:54 PM
03-13-2006 03:54 PM
Re: RPM listing
# rpm -qia | awk '/Source/ { print $NF; }' | grep -E '\.rpm' | more
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 04:46 PM
03-13-2006 04:46 PM
Re: RPM listing
This will give something like
hwdata-0.146.12.EL-1.src.rpm
mingetty-1.07-3.src.rpm
setserial-2.17-17.src.rpm
termcap-5.4-3.src.rpm
glibc-2.3.4-2.13.src.rpm
I am not looking for this.
Thanks
Sajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:20 PM
03-13-2006 05:20 PM
Re: RPM listing
# rpm -qi hwdata-0.146.12.EL-1
# rpm -qi termcap-5.4-3
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:37 PM
03-13-2006 05:37 PM
Re: RPM listing
# rpm --showrc
It is giving all informations.
install arch: field gives the extension. Not sure.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2006 05:50 PM
03-13-2006 05:50 PM
Re: RPM listing
{ print "."$2".rpm"; }')"; done
will give it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 09:45 PM
03-14-2006 09:45 PM
Re: RPM listing
rpm -qa --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2006 10:27 PM
03-14-2006 10:27 PM
Re: RPM listing
rpm -qa | grep (package name) if you are trying for a specfick
or for all rpm -qa which will query all the packages that is installed in your machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 04:38 PM
03-15-2006 04:38 PM
Re: RPM listing
#rpm -qa |grep i386