LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-03-2006, 10:58 AM   #1
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Rep: Reputation: 15
rpm package install in RedHat


I used following command :

rpm -ivh ipsec-tools-0.2.5-0.5.src.rpm

I am getting
warning: user sugioka does not exist -using root
warning: group sugioka does not exist -using root
######################[100%]

I thought this installed my package even though I got warning.But I was expecting /sbin/setkey, /sbin/racoon, /lib/libipsec.so etc. as a result of above rpm installation. But cannot find these dirs/files.

Question :
1. How can I know if rpm pacakge was installed right ?
2. Is there any thing more I needed to do ?

Please help..
 
Old 02-03-2006, 11:03 AM   #2
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
You installed a *source* rpm, not the binary package.

Try finding the file "ipsec-tools-0.2.5-0.5.rpm" and installing that, instead.

Last edited by Padma; 02-03-2006 at 11:04 AM.
 
Old 02-03-2006, 11:12 AM   #3
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
well you can install source rpms but why bother.

rpmbuild -ba ipsec-tools-0.2.5-0.5.src.rpm

what that would do is build the rpms in /usr/src/rpm the finish rpm would also be in /usr/src/rpm.

been along time since i used an rpm based distro so anyone feel free to correct me or give better detail.
 
Old 02-03-2006, 11:50 AM   #4
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Original Poster
Rep: Reputation: 15
I found ipsec-tools-0.5.2.tar.bz2,

I extracted to ipsec-tools-4.5.2, and here is what I did (I found some instruction some where on the web)
cd ipsec-tools-4.5.2
./configure --with-kernel-headers=/lib/modules/2.6.X/build/include
make
make install

Still does not seem that I am seeing all the above libraries, and directories (lib/libipsec.so, /etc/racoon/..)
that are expected..

Did I have to reconfigure the kernel to turn on some ipsec feature ? I dont know how to do that. Any help ?
 
Old 02-03-2006, 12:08 PM   #5
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Rep: Reputation: 15
if you use redhat. The source or binary is ipsec*-i386.rpm not ipsec*.src.rpm. You can also install source of ipsec*.tar.{gz,bz2}
 
  


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
Can't install a RPM package mobyuk Linux - Newbie 3 12-11-2008 06:24 AM
Where does rpm install package doublej Linux - Software 4 12-12-2005 04:51 AM
I can't install with RPM package. PICOspark Linux - Newbie 8 04-06-2005 07:40 AM
building POSTFIX rpm package for Redhat hct224 Linux - Newbie 6 06-16-2004 02:32 AM
Install package with RPM nobyone Linux - Newbie 4 04-01-2004 11:50 AM


All times are GMT -5. The time now is 06:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration