Results 1 to 5 of 5
hi friends,
I'm using centos.
I want to know, how to check that rpm is installed or not (through rpm cmd only)
thanx...
- 01-20-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 8
how to check that rpm is installed or not (through rpm cmd only)
hi friends,
I'm using centos.
I want to know, how to check that rpm is installed or not (through rpm cmd only)
thanx
- 01-20-2010 #2
[root@server1 ~]# rpm -q httpd
httpd-2.2.14-1.fc12.i686
something like that?
You can find these things out from the man pages.
$ man rpmNew to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 01-30-2010 #3Just Joined!
- Join Date
- Jan 2010
- Location
- India
- Posts
- 5
type
rpm -qa *<part of rpm name>
u can even use
yum list *<part of installebles>
- 02-02-2010 #4Linux Newbie
- Join Date
- Oct 2008
- Posts
- 140
Just type the command at any command line. You'll either get a help file, or a "command not found" error.
You can check for any installed package with the -q option.
[me@mybox ~]$rpm -q firefox
firefox-3.0.15-1.fc10.x86_64
On my machine. Happy computing.
- 02-02-2010 #5
I agree with others,normally I use
which will fetch all mysql related packages listrpm -qa | grep mysql- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote