Default location to store source code
Ric Moore
wayward4now at gmail.com
Tue Apr 30 06:50:49 UTC 2013
On 04/30/2013 02:00 AM, Sabniveesu Shashank wrote:
> On Tue, Apr 30, 2013 at 10:05 AM, Nils Kassube <kassube at gmx.net
> <mailto:kassube at gmx.net>> wrote:
>
> Sabniveesu Shashank wrote:
> > I'd like to know where generally downloaded source code (from
> SVN/git)
> > etc. are placed on a Linux machine.
>
> I don't think there is a default location for such downloads. Usually
> you would download that type of source code from a terminal and then it
> is downloaded to the current directory. If you use a GUI application it
> may or may not use the xdg directory "/home/$USER/Downloads".
>
>
> Nils
>
>
> Let me make it more clear -
>
> "I am starting out to contribute to open source projects. Hence, what is
> the recommended/preferred location to store the checkouts?"
He gave you the straight up answer. If you use a browser and it's set to
use /home/$USERNAME/Downloads in the browser preferences, then that is
where it will go. The user is free to pick the directory he wants to
place it in. So, that is hard to control by a 3rd party, like yourself.
You would have to write a script for the user to run in order to
download and install to a specific directory. Best would be to create an
apt package and have users subscribe to your ppa and install it using
apt. Then it would go into predictable places. have fun! Ric
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html
More information about the ubuntu-users
mailing list