Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-21-2005, 02:50 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 18

Rep: Reputation: 0
how to check rpm belongs to 32bits or 64bits

how to file belogs to 32 bits rpm or 64 bits rpm

rpm -qf /usr/bin/gcc

i try above command it shows gcc is from gcc-3.4.3-9.EL4
but how could i know it is from gcc-3.4.3-9.EL4.i386.rpm
or gcc-3.4.3-9.EL4_x86_64.rpm (just for example)

I found solution

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})' packagename

Last edited by stewchcken; 11-22-2005 at 02:27 AM.
Old 11-21-2005, 04:18 AM   #2
Registered: Jan 2003
Location: cyberjaya
Distribution: rh mdk deb fed suse
Posts: 99

Rep: Reputation: 15
not sure about it, but u can try rpm -qi
Old 11-21-2005, 01:32 PM   #3
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
sometimes I just use
yum remove filename
and it tells you the type(32 or 64). Of course when prompted to delete decline(select NO)

Last edited by jlo_sandog; 11-21-2005 at 01:34 PM.
Old 11-22-2005, 01:00 AM   #4
LQ Newbie
Registered: Jun 2005
Posts: 18

Original Poster
Rep: Reputation: 0

I tried yum
yum remove packagename
it shows error listed below,
Is there another way work-around?
Config Error: Insufficient repository configuration. No repositories Found/Enabled. Aborting.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
check the rpm ust Linux - General 2 03-02-2005 05:02 AM
how to check rpm dependencies demmylls Linux - General 9 01-31-2005 12:14 PM
Signature check in rpm zaphyr17 Mandriva 1 12-31-2004 10:04 AM
How to check SW installed not by rpm maxgg Linux - Newbie 1 12-23-2004 09:29 AM
rpm check the removal alaios Linux - General 3 04-19-2004 12:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration