LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] rpm Question

[ILUG] rpm Question

Mark Kilmartin mrk at renre-europe.com
Thu May 10 09:44:09 IST 2001


if you try a rpm -q foopackage

It should tell you it is installed.

You need to drop the .rpm from the end of the package name when doing a
rpm query.
In general you can also drop all the version info.
e.g package barpackage-1.2.3.rpm

you can simply do rpm -q barpackage

MArk
> Hi, I have a query RE rpm (RH6.1)
>
> if do
> 	rpm -q foopackge.rpm
>
> I get package.rpm is not installed
> if i do
>
> 	rpm -vhi foopackge.rpm
>
> I get :
>
> 	foopackage ######################################
>
> then :
> 	rpm -q foopackge.rpm
>
> I get package.rpm is not installed.
>
> If I then try :
> 	rpm -vhi foopackge.rpm
>
> I get package already installed..





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell