Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Why are the source repositories enabled by default?

  1. #1
    Join Date
    Mar 2006
    Beans
    2,423

    Why are the source repositories enabled by default?

    I did a bit of searching, and couldn't find information about this. Is there a particular reason why it's the default? I mean, when would a regular user need to download the source code of a program, in 99.99% of usage cases?

    Just doesn't add up...

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Why are the source repositories enabled by default?

    GNU license terms.
    This is part of our freedom and we should be extremely thankful for it.

  3. #3
    Join Date
    Apr 2005
    Location
    My dreams
    Beans
    3,558
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why are the source repositories enabled by default?

    That's the nature of the beast. Free Open Source OS, easy access to the source code..

  4. #4
    Join Date
    Mar 2006
    Beans
    2,423

    Re: Why are the source repositories enabled by default?

    Quote Originally Posted by TheFu View Post
    GNU license terms.
    This is part of our freedom and we should be extremely thankful for it.
    Quote Originally Posted by kostkon View Post
    That's the nature of the beast. Free Open Source OS, easy access to the source code..
    I didn't mean to come off as an ungrateful open-source hater. Quite the opposite. I just mean from a main user base point of view.

    I get it if they include it as part of the GPL license terms (do all distros do this?)

    If not though, then it can only be negative for the average user, which is the user base canonical tailors to the most. On the one hand, it takes more time to fetch the data from the source repositories when doing a sudo apt-get update (yes this is minor), but on the other hand an average user may download source code accidentally or without knowing what it is exactly, and perhaps bork something in his system.

    I just can't see any positives to including it by default, unless of course like I said earlier it is simply because of license terms.

    Cheers.
    Last edited by user1397; October 18th, 2014 at 09:00 PM.

  5. #5
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,702

    Re: Why are the source repositories enabled by default?

    The source code is not installed by default. You have to ask for the source packages to be installed if you want them.
    But the repositories are enabled, so you can select the packages for installation easily.
    I think there has been some confusion about "enabled by default" and "installed by default" here.

  6. #6
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Why are the source repositories enabled by default?

    Source code isn't dangerous. It does nothing in and of itself. In some ways it's similar to a pattern in a tailor's shop. Changing a pattern in a drawer does not change anything on the tailor's shelves.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  7. #7
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why are the source repositories enabled by default?

    Since all the software is open source we have to make the source code available to anyone who wants it so its available in the repositories. That does not mean you have any of it installed on your machine. If you want the source for a particular package open a terminal and enter

    Code:
    apt-get source package
    replace package with the name of the package you want the source code for.

    You would probably be surprised how many people do download the source, either to make something similar or to help fix bugs and improve Ubuntu.

    But if you are not interested in developing and just want to use your PC that's fine too. Your hard disk is not full of source code or anything. It is just a quick download away for anybody who wants it.
    Last edited by Warren Hill; August 27th, 2014 at 06:44 PM.

  8. #8
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Why are the source repositories enabled by default?

    Quote Originally Posted by ubuntuman001 View Post
    ... it takes more time to fetch the data from the source repositories when doing a sudo apt-get update (yes this is minor) ...
    Hi, was the source code box ticked in "Software & Updates" (or whatever it's called on your system)? I can't remember what the default was on my clean install. Anyway, that's part of the ritual I go through on a clean install.

    I agree that it could be a drag for people with slow connections or for people with limited usage plans. Otoh, a cynic may feel this is a good way to thin the herd.
    Attached Images Attached Images

  9. #9
    Join Date
    Mar 2006
    Beans
    2,423

    Re: Why are the source repositories enabled by default?

    Quote Originally Posted by The Cog View Post
    The source code is not installed by default. You have to ask for the source packages to be installed if you want them.
    But the repositories are enabled, so you can select the packages for installation easily.
    I think there has been some confusion about "enabled by default" and "installed by default" here.
    Indeed, this is why I said "enabled by default" in the title of this thread, and not the other way around. No confusion on my end.

    Quote Originally Posted by QIII View Post
    Source code isn't dangerous. It does nothing in and of itself. In some ways it's similar to a pattern in a tailor's shop. Changing a pattern in a drawer does not change anything on the tailor's shelves.
    I'm not saying that either, but like I said, maybe if someone were to accidentally download source code and didn't install/configure it correctly he might not install a program correctly or lead to dependency issues, all things that could drive this person to say "ubuntu is too complicated"

    Quote Originally Posted by Warren Hill View Post
    Since all the software is open source we have to make the source code available to anyone who wants it so its available in the repositories. That does not mean you have any of it installed on your machine. If you want the source for a particular package open a terminal and enter

    Code:
    apt-get source package
    replace package with the name of the package you want the source code for.

    You would probably be surprised how many people do download the source, either to make something similar or to help fix bugs and improve Ubuntu.

    But if you are not interested in developing and just want to use your PC that's fine too. Your hard disk is not full of source code or anything. It is just a quick download away for anybody who wants it.
    I understand you don't have any installed on your machine, I never argued that. I will however argue your point about how many people download the source code, I know it is impossible to know, but maybe we can set up a poll in a separate thread.

    Quote Originally Posted by vasa1 View Post
    Hi, was the source code box ticked in "Software & Updates" (or whatever it's called on your system)? I can't remember what the default was on my clean install. Anyway, that's part of the ritual I go through on a clean install.

    I agree that it could be a drag for people with slow connections or for people with limited usage plans. Otoh, a cynic may feel this is a good way to thin the herd.
    Yes, it is ticked in the default clean install. It's also part of the ritual when I configure a clean install. Now, what do you mean by the whole cynic thing?

  10. #10
    Join Date
    Nov 2011
    Beans
    2,336
    Distro
    Ubuntu

    Re: Why are the source repositories enabled by default?

    Quote Originally Posted by The Cog View Post
    The source code is not installed by default. You have to ask for the source packages to be installed if you want them.
    But the repositories are enabled, so you can select the packages for installation easily.
    I think there has been some confusion about "enabled by default" and "installed by default" here.
    This.

    FOSS licensing requirements do not require source to be force fed on any and every binary install.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •