Results 1 to 6 of 6

Thread: Probably stupid idea, about package managing

  1. #1
    Join Date
    Dec 2010
    Location
    Ankara, Turkey
    Posts
    250

    Default Probably stupid idea, about package managing

    Hey,

    First of all, I want to say that this is something I didn't think about throughly, but instead an idea which pop into my mind.

    Idea is:

    Instead of using package managers, source codes comes with their own, executable install scripts. This install scripts check for existance of required libraries, programs etc. in order for that application to successfully compile and operate, like make, gcc etc. If they exist, it automatically run, make, make install, and generate an executable uninstall script somewhere in the computer (like /var/uninstall ?). If they are not exists, script guides user through getting and installing them first.

    Like so, lots of people wouldn't need to develop package managers, or build packages. And applications would be easy to install in a different linux distros, unlike packaged files can only be installed to their respected distros.

    Or not?
    Last edited by yasar11732; 31-Mar-2011 at 07:30. Reason: grammer correction
    The only problem with troubleshooting is that sometimes trouble shoots back.
    My blog (in Turkish): http://yasar.serveblog.net

  2. #2

    Default Re: Probably stupid idea, about package managing

    Sorry but not for me.
    Package management removes the ordinary user from having to do much of that type of aggravation. Think how long it would take for you to install openSUSE, trying to determine which packages are needed with their installation scripts from which repositories, in which sequence the packages have to be run in order to satisfy some dependencies, and most of all verify success. Developers have done that for you with their packages.

    However, most packages come with source code that does exactly what you describe. Instead of installing an rpm you can download it's source, configure, make and make install. Unfortunately, that method doesn't record that as a package it was installed. However, configure is does the dependency checks, make compiles the source and make install installs the package. You can do this with the latest greatest developer's versions of an application.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,357
    Blog Entries
    15

    Default Re: Probably stupid idea, about package managing

    On Thu, 2011-03-31 at 14:36 +0000, yasar11732 wrote:
    > Hey,
    >
    > First of all, I want to say that this is something I didn't think about
    > throughly, but instead an idea which pop into my mind.
    >
    > Idea is:
    >
    > Instead of using package managers, source codes comes with their own,
    > executable install scripts. This install scripts check for existance of
    > required libraries, programs etc. in order for that application to
    > successfully compile and operate, like make, gcc etc. If they exist, it
    > automatically run, make, make install, and generate an executable
    > uninstall script somewhere in the computer (like /var/uninstall ?). If
    > they are not exists, script guides user through getting and installing
    > them first.
    >
    > Like so, lots of people wouldn't need to develop package managers, or
    > build packages. And applications would be easy to install in a different
    > linux distros, unlike packaged files can only be installed to their
    > respected distros.
    >
    > Or not?
    >
    >

    Hi
    Geentoo is over that way -------->>>>>>>

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 15:04, 2 users, load average: 0.21, 0.16, 0.06
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Probably stupid idea, about package managing

    yasar11732 wrote:

    >> Instead of using package managers, source codes comes with their own,

    > executable install scripts. This install scripts check for existance of
    > required libraries, programs etc. in order for that application to
    > successfully compile and operate, like make, gcc etc. If they exist, it
    > automatically run, make, make install, and generate an executable
    > uninstall script somewhere in the computer (like /var/uninstall ?). If
    > they are not exists, script guides user through getting and installing
    > them first.


    So you you just reinvented bsd ports and gentoo right now (and arch has
    something similar as an option)? I think people who like that idea are
    already using the systems which provide exactly that. (Not that I find the
    idea itself totally silly, but did you ever install a kde from the ports in
    a bsd system? Well, I did and I can tell you it will take a while and wastes
    an incredible amount of computing time and electric energy. Multiply that by
    one billion computers which compile the system from the source code all over
    the time and ask yourself if that is the way to go from an environmental
    point of view in the 21st century).

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
    ION | 3GB Ram

  5. #5
    Join Date
    Dec 2010
    Location
    Ankara, Turkey
    Posts
    250

    Default Re: Probably stupid idea, about package managing

    Thanks for pointing out the gentoo. I didn't know it has such package system. I think I will give it a try and see what happens.
    The only problem with troubleshooting is that sometimes trouble shoots back.
    My blog (in Turkish): http://yasar.serveblog.net

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Probably stupid idea, about package managing

    yasar11732 wrote:

    >
    > Thanks for pointing out the gentoo. I didn't know it has such package
    > system. I think I will give it a try and see what happens.
    >

    You will probably also be intersted in arch linux. It has a dual approach
    similar to bsd.
    On one hand you can install binary packages on the other hand it has a ports
    like system based on the source code. I used it for some time and it was an
    interesting experience. It also differs from opensuse and other more
    classical linux distros by using rolling updates and no versions.

    https://wiki.archlinux.org/index.php..._Distributions

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
    ION | 3GB Ram

Posting Permissions

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