Re: How to install source rpm's on redhat 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I always thought that was a bad deal to have to be root to rebuild the
rpms too.  Thanks for the info on how to set it up non root.

-Darren

On Mon, 2003-04-21 at 22:57, Michael Fratoni wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 21 April 2003 09:24 pm, Darren R. Weber wrote:
> > Michael,
> >
> > I didn't really see anyone answer this directly for you.  If you
> > already know then I appologise.
> 
> That's OK, it wasn't my question. ;)
> I was just clarifying the link to the sourceforge site for whichcd.
> 
> > I don't know all the ins and outs of rpms but usually for a source rpm
> > like you mentioned you can just run:
> > "rpmbuild --rebuild filename.src.rpm"
> > run it as root then if you check in the /usr/src/redhat/RPMS/i386
> > directory you will find the compiled rpm.
> 
> You really shouldn't build RPMs as root. It's just an invitation for 
> disaster. Settting up a non root rpm build environment is simple, and 
> will save you when you make a mistake in a spec file that results in an 
> 'rm -rf /'
> 
> Instructions and a script to set it up:
> http://www.tuxfan.homeip.net:8080/hack.html
> 
> - -- 
> - -Michael
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE+pK+hn/07WoAb/SsRAvUzAJ9U41YvmukX2kg6kuxA3DBy9kXS+gCfQjWw
> tb6dv+1NqVwzsLaavUqhhD0=
> =lVAJ
> -----END PGP SIGNATURE-----
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Darren R. Weber
weberdr@xxxxxxxxxxxxx
PGP Key available at: http://www.keyserver.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux