LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 11: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, 11:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
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, 12:26 PM   #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, 12:27 PM   #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, 12:35 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 AM.

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