Install source rpm package
Hi there,
I run RHEL 4, how do install source rpm package ? I downloaded vsftpd_2.05.src.rpm , I need to know the steps to install this inot Linux box |
first run the command as su:
rpmbuild --rebuild vsftpd_2.05.src.rpm after this command runs, it will write a file(s) to usr/src/redhat/RPMS/arch where "arch" is i386 or i686. go to the /usr/src/redhat/RPMS/i386(or i686, where ever the rpmbuild command wrote) and install the file, rpm -ivh vsftpd_2.05.i#.rpm (where # is either i386 or i686) if vsftpd is not on system or rpm -Uvh vsftpd_2.05.i#.rpm (where # is either i386 or i686) if vsftpd is on your system and you want to update it Good Luck, John |
Thanks for your quick reply,
I try to run this command :rpmbuild --rebuild vsftpd_2.05.src.rpm, iam getting command not found error, ? do I need to install rpmbuild package first ? |
Yes, you need to install rpm-build package first.
|
Should think so.
Another possibility is that rpmbuild is not on your path, could check this with 'echo $PATH'. If it isn't on path remedy this by finding the path to rpmbuild, say /path/to/bin/rpmbuild, and adding this to path by putting: export PATH=$PATH:/path/to/bin in .bash_profile, I should think. |
I am sure the rpm-build is ont installed, I was in rpmfind.net site, the only rpm-build package I can find is for redhat linux 9, I have RHLE 4 on my system. Can I install Redhat9 or Fedora RPM package on Redhat enterprise linux 4 box ?
Can I install rpm source file using rpm -ba command ? Thanks, |
Don't you have any RHEL installation discs? It would be easier to install rpmbuild and vsftpd from these than trying to install Redhat 9 or Fedora Core rpms. Also if you paid for RHEL then you can install them from RHN.
|
rpm-build-4.3.3-7_nonptl.i386.rpm can be found on disc 3 of RHEL4 installation discs or at the following website:
http://www.math.ias.edu/PU_IAS/data/.../i386/?C=M;O=A vsftpd-2.0.1-5.EL4.3.i386.rpm can be found on disc 2 of the RHEL4 source discs or at the above website. Hope this helps, John |
All times are GMT -5. The time now is 01:00 PM. |