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

PhilipQuinlan philip.quinlan at cs-consultants.com
Fri Sep 1 15:20:50 IST 2006


Hi Justine,

O'Flanagan Justine wrote:

> Eg:
> [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.  it installs the source code in 
/usr/local/src/<pkgname>
You can either compile and install this source

cd /usr/local/src/<pckgname>/
./configure&&make&&make install

OR if you want to keep your rpm database up to date you can search for a 
binary rpm, one without src in the title.
binary packages are per distribution, but Redhat AS should be no problem 
to find.

>    1:pdksh                  ###########################################
> [100%]
> [root at rhubarb tmp]# rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n'
> pdksh 
> package pdksh is not installed
>   
No but the source code is.


Hope that helps, Philip



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