LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sources directory (https://www.linuxquestions.org/questions/linux-newbie-8/sources-directory-811484/)

rhlee_work 06-01-2010 10:01 AM

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

jamescondron 06-01-2010 10:03 AM

Sources for what?

knudfl 06-01-2010 10:31 AM

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.
..

rhlee_work 06-01-2010 11:26 AM

But by using /home/<name>/tmp/ doesn't it imply that you do not keep the source files?

rhlee_work 06-01-2010 11:27 AM

Oh yeah, I mean sources for software you build, e.g. mplayer etc.

knudfl 06-01-2010 11:35 AM

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

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

..


All times are GMT -5. The time now is 08:15 AM.