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.. |
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. |
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. |
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 ? |
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 11:48 AM. |