-   Linux - Newbie (
-   -   rpm package install in RedHat (

rafiqul 02-03-2006 09:58 AM

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

I thought this installed my package even though I got warning.But I was expecting /sbin/setkey, /sbin/racoon, /lib/ 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..

Padma 02-03-2006 10:03 AM

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.

Boow 02-03-2006 10:12 AM

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.

rafiqul 02-03-2006 10:50 AM

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 install

Still does not seem that I am seeing all the above libraries, and directories (lib/, /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 ?

dudulz 02-03-2006 11:08 AM

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}

All times are GMT -5. The time now is 09:50 PM.