LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fc5 /usr/src/redhat (https://www.linuxquestions.org/questions/linux-newbie-8/fc5-usr-src-redhat-435761/)

Fredstar 04-16-2006 05:34 PM

Fc5 /usr/src/redhat
 
I must have chosen not to install source when installing fc5. Is there away through yum to retrieve this? thanks

reddazz 04-16-2006 05:39 PM

Code:

#yum install kernel-devel

Fredstar 04-16-2006 05:45 PM

Quote:

Originally Posted by reddazz
Code:

#yum install kernel-devel

Thank you, that gave me /usr/src/kernels which was also something i needed but i also need
/usr/src/redhat for building rpms and stuff.

***edit***
k, its yum -y install rpm-build.. really shamefull of me, should have tried googles first!!

thanks =D

reddazz 04-16-2006 05:54 PM

You don't necessarily need /usr/src/redhat to build rpms. /usr/src/redhat will be created the first time you install a source rpm or rebuild one as root. Personally I build rpms from my home directory as a normal user. All you need to do is install the fedora-rpmdevtools and run fedora-buildrpmtree in your home directory and a build environment will be created for you. The fedora-rpmdevtools has other packages that are useful for building packages so you may wish to check it out.


All times are GMT -5. The time now is 02:44 AM.