Click to See Complete Forum and Search --> : Cannot find rpmbuild
andihp2
04-18-2003, 08:52 PM
Hi,
newbie here.
installed rh 8.0
upgraded to rh 9
login as root,
run rpmbuild but prompted "command not found".
also i cannot see any rpmbuild binary file under /usr/
where's it?
please help.
TIA,
andi
Try the command:
which rpmbuild
that will output the full path if rpmbuild is installed.
andysimmons
04-18-2003, 09:15 PM
If which rpmbuild doesn't find anything, then switch to root and
find / -name rpmbuild
If it doesn't show you anything, then you don't have it. If it does find rpmbuild, just do:
echo $PATH
And copy rpmbuild into one of the directories in your path.
andihp2
04-18-2003, 09:42 PM
Hi,
can find it on my rh 9 at office, but not on rh 9 at home.
i don't understand why it's gone from my rh 9 at home.
so, the only way i think is to install back the rmp-build rpm from redhat, am i right ?
Thanks for all responses.
-andi
Yes, you need to reinstall the rpm-build rpm.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.