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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
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 V's src.rpm

[ILUG] rpm V's src.rpm

Niall O Broin niall at linux.ie
Fri Sep 1 15:27:01 IST 2006


On 1 Sep 2006, at 15:20, PhilipQuinlan wrote:

>> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (% 
>> {ARCH})\n'
>> pdksh pdksh-5.2.14-13 (i386)
>> [root at rhubarb tmp]# rpm -ev pdksh
>> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (% 
>> {ARCH})\n'
>> pdksh package pdksh is not installed
>> [root at rhubarb tmp]# ls -alrt pdksh*.rpm
>> -rw-r--r--    1 root     root       494256 Aug 31 10:47
>> pdksh-5.2.14-30.3.src.rpm
>> [root at rhubarb tmp]# rpm -ivh pdksh-5.2.14-30.3.src.rpm
>>
> I don't know if this is the case for all the packages you got, but  
> what you have here is a source rpm.

Correct. You should have quit while you were ahead.

>   it installs the source code in /usr/local/src/<pkgname>

No it doesn't.

> You can either compile and install this source
>
> cd /usr/local/src/<pckgname>/
> ./configure&&make&&make install

No you can't - not unless you've put the source there yourself. Using  
rpm to install a source file doesn't go near /usr/local (by default -  
I bet you could configure it to, if you were perverse enough)



Niall



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