Fedora Linux Support Community & Resources Center
  #1  
Old 15th September 2010, 05:20 PM
Farnelius Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
linuxfedorafirefox
In which file is the source code

Hey guys!

It's a stupid question. I know. But I need to tell my bash for a script in which file my source code is.
Can you help me please!

Thanks!

Steven
  #2  
Old 16th September 2010, 02:37 AM
kurtdriver Offline
Registered User
 
Join Date: Jul 2005
Location: Vancouver Canada
Posts: 1,285
linuxfedorafirefox
Re: In which file is the source code

Hi, Stephen, I see you've some Gentoo experience. They're not too different, but well need a bit more info, what program's source are you looking for? It may not be on your computer, the programs on your computer are mostly in binary form.
  #3  
Old 16th September 2010, 11:22 AM
Farnelius Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
solarisfirefox
Re: In which file is the source code

Hey Kurtdriver,

I need to know where my linux-kernel-source-code is, becuse it is neccessary to copy it to a certain device for installing a vpnclient software via bash-script. This is something I need to get in connection with the Internet of University of Tübingen. The main problem is, that NetworkManager cannot get in connection. There is a Handbook at the liberary and I read that only for NetworkManager 0.6 it is possible to get in an uncomplicated way in connection.
I'm sorry for my awful English.

Thank you.
Steven

P.S.: Whrer do you now about my Gentoo-Past.^^
  #4  
Old 16th September 2010, 11:44 AM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxopera
Re: In which file is the source code

First do

uname -r

That will give you your kernel version.
If it has PAE in its name, then do

yum install kernel-PAE-devel

Otherwise, do
yum install kernel-devel

Make sure it's the same version as your kernel--if it's a higher version, you'll have to upgrade your kernel and reboot, the thing is that they have to match.
  #5  
Old 16th September 2010, 03:20 PM
kurtdriver Offline
Registered User
 
Join Date: Jul 2005
Location: Vancouver Canada
Posts: 1,285
linuxfedorafirefox
Re: In which file is the source code

Or I believe you could download a source rpm.
Code:
 yumdownloader kernel-2.6.34.6-54.fc13.x86_64.srpm
Wouldn't that get the source? I don't quite understand what the OP wants to do, I have zero experience with VPNs.

Farnelius, I googled your username. I was afraid that you might be a bot. Sorry if that spooked you.

Your English is fairly good, no need to apologize.

Last edited by kurtdriver; 20th September 2010 at 01:53 PM.
  #6  
Old 19th September 2010, 08:14 PM
Farnelius Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
linuxfedorafirefox
Re: In which file is the source code

Oh nice...so google says I'm a bot. Hehe.
I will try the next days the tipps you gave me.
I will answer then what happened.

Thank you very much.
  #7  
Old 20th September 2010, 04:23 AM
kurtdriver Offline
Registered User
 
Join Date: Jul 2005
Location: Vancouver Canada
Posts: 1,285
linuxfedorafirefox
Re: In which file is the source code

No, I'm sorry for the misunderstanding, Your first post here was not very specific, so I googled your username to see if that name had used for similar posts on other forums. That's their pattern. I was quite happy to see those post on the other forum. When you asked how I knew you had experience with Gentoo, I felt that I had to answer it honestly. Again, I apologize for any misunderstanding, that was not my intention. Welcome to the Forums, Kurt
  #8  
Old 20th September 2010, 01:36 PM
Farnelius Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
windows_xp_2003firefox
Re: In which file is the source code

Hey Kurt,

you don't need to apologize for anything. This was no misunderstanding for me.
I will wirte down the next days the results.
Thank you.

Regards
Steven
  #9  
Old 28th September 2010, 05:44 PM
Farnelius Offline
Registered User
 
Join Date: Jun 2010
Posts: 5
windows_xp_2003firefox
Re: In which file is the source code

Hey guys,

as I said I tried some of the tips you gave me.
So. The kernel-tip was very good. It was successful.
The other tips changed nothing. I decided to visit the computer center of the University
and ask them what to do or search for a Linux User Group.
Thank you all for your help. I will post if there is a solution for my problem. Maybe it is for ohters interesting, too.

Greetings
Steven
 

Tags
code, file, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Source rpm, binary rpm and source code mcpoon Using Fedora 2 3rd July 2009 04:07 PM
Converting rpm file to source code? lesliek Using Fedora 10 2nd May 2006 07:24 AM
UK: We must see the source code Omega Blue Wibble 5 19th March 2006 07:06 PM


Current GMT-time: 09:45 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat