Re: src rpm packages

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

 



On Fri, 27 Jun 2003, shane c branch wrote:

> I don't have much experience with source rpms, or rpms in general. I downloaded
> the src rpm package for the kernel but I can't seem to figure out how to work
> with it. The Red Hat site mentioned using rpm -ivh <filename>  but using this
> command reports an error: can't create /usr/src/.... path. I then copied the
> file to /usr/src and tried agian, but no luck.
> 
> I have always compiled kernels from a source tarball, but I wanted to try this
> thinking it might be easier for a friend of mine to work with. Any help is
> appreciated.

As root, you would usually run "rpmbuild name-of.src.rpm"

Alternatively, you could use "rpm -i name-of.src.rpm" to install the 
src.rpm, then go to /usr/src/redhat/SPECS, and run "rpmbuild -ba 
package-name.spec".  Either way, the resulting binary RPMs will be placed 
in the /usr/src/redhat/RPMS/i386 directory (could also be i686 or some 
such, but most likely in hte i386 subdirectory).

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, send a message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe




[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