LinuxQuestions.org
Visit Jeremy's Blog.
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 06-01-2010, 10:01 AM   #1
rhlee_work
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
sources directory


Hi LF,

I'm trying to figure out where to store my sources. So far I've been using ~/src, but I get the feeling I should be using /usr/local/src.

The problem is that with /usr/local/src, I have to keep sudo'ing every command.

What do you guys do?

Regards,

Richard
 
Old 06-01-2010, 10:03 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Sources for what?
 
Old 06-01-2010, 10:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Default build directory is /home/<name>/tmp/

And for rpmbuild e.g. /home/<name>/rpms/

But any directory name in /home/<name>/ is usable : It's your decision.
..
 
Old 06-01-2010, 11:26 AM   #4
rhlee_work
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
But by using /home/<name>/tmp/ doesn't it imply that you do not keep the source files?
 
Old 06-01-2010, 11:27 AM   #5
rhlee_work
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Oh yeah, I mean sources for software you build, e.g. mplayer etc.
 
Old 06-01-2010, 11:35 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Files in /home/<name>/tmp/ can be kept there forever, if you wish.

Also : As already said, any other directory name can be used.

..
 
  


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
Installing sources in the wrong directory. stf92 Linux - Software 6 05-13-2009 01:20 AM
LXer: Likewise Open-Sources Active Directory Authentication for Linux LXer Syndicated Linux News 0 12-06-2007 06:20 AM
directory with kernel sources? irkku Linux - Newbie 1 05-19-2007 11:22 AM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
Software Sources Manager, how to add installation cd sources after deletion Lakota Mandriva 1 10-23-2003 12:39 AM


All times are GMT -5. The time now is 02:34 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