LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2009, 12:36 PM   #1
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 71

Rep: Reputation: 15
Is there a flag or option to discard case sensitivity to find package is installed or


Is there a flag or option to discard case sensitivity to find whether package is installed or not?

from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Quote:
Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:
Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....

is there a way to find whether a package is installed or not without knowing its case exactly?

thanks
 
Old 08-25-2009, 12:48 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Except case insensitive grepping of /var/log/rpmpkgs (if kept up to date) or 'rpm -qa' output not that I know of.
 
  


Reply


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
case sensitivity newbiesforever Linux - General 2 02-26-2009 11:08 PM
Kerberos and case sensitivity chriscowley Linux - Networking 1 05-02-2008 09:53 AM
Apache case sensitivity problems VeeDubbs Linux - Networking 1 02-19-2006 06:00 PM
Case-Sensitivity in Python Odd_Bloke Programming 2 09-02-2003 04:20 PM
Case sensitivity in SED substitutions jkoch Programming 1 02-21-2003 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:24 AM.

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