LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2003, 07:13 PM   #1
arkamir
Member
 
Registered: Nov 2003
Location: Califroni
Distribution: Fedora
Posts: 51

Rep: Reputation: 15
Where do you install source code


where do you install it, I've heard you put it in /opt/ but im not sure?

thanks a lot!!!
 
Old 11-30-2003, 07:38 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I put mine in ~/extracted/src - basically, you can put it anywhere. /usr/local/src is a frequent place. Doesn't really matter - all that matters is where it ends up, and that's quite flexible. It's best to keep it in the /home and /usr/local regions, though, in case of distro upgrades, reinstalls, or filesystem troubles.
 
Old 11-30-2003, 07:50 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You extract the source code wherever (preferably in a convienent place like digiot said), you compile the code, then you install the binary files produced when compiling. They usually go in /usr/local .
 
Old 12-01-2003, 03:11 AM   #4
Velvet Elvis
Member
 
Registered: Dec 2003
Distribution: debian (when I can) RHEL (when I must)
Posts: 98

Rep: Reputation: 15
I make a /home/.../src directory to keep it in so I don't have to become root or change permissions to edit it when logged in as a user. As far as I know, it's supposed to go in /usr/local/src, but that's too much of a pain in the ass for me to bother with. If there is one thing I've learned in my years as a newbie, it's that you never want to do anything as root when you can find a way to do it as a user.
 
  


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
Q: install kernel source code Tux136 Linux - Newbie 9 08-30-2005 10:59 AM
Install application from source code UltraSoul Linux - Software 2 07-29-2005 02:23 PM
How to install wine ? from the source code. my-unix-dream Linux - Newbie 1 07-07-2004 12:04 AM
how to install kernal-source code? jmg1894 Linux - Software 8 06-07-2004 07:06 PM
? How do I install SuSE source code tt13617 Linux - Distributions 2 05-11-2003 04:20 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration