LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-16-2006, 05:34 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Fc5 /usr/src/redhat


I must have chosen not to install source when installing fc5. Is there away through yum to retrieve this? thanks
 
Old 04-16-2006, 05:39 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Code:
#yum install kernel-devel
 
Old 04-16-2006, 05:45 PM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
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

Last edited by Fredstar; 04-16-2006 at 05:46 PM.
 
Old 04-16-2006, 05:54 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about /usr/src/redhat/RPMS/subdirs stefaandk Fedora 1 06-23-2005 02:23 AM
rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD Niceman2005 Linux - Software 2 11-29-2004 05:58 PM
/usr/src ??? gibbylinks Red Hat 1 10-24-2003 03:05 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM
chown -R $USER /usr/src/redhat illtbagu Linux - Newbie 8 01-21-2003 01:36 PM


All times are GMT -5. The time now is 09:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration