LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: What do we think?
Good 7 50.00%
Bad 7 50.00%
Voters: 14. You may not vote on this poll

Reply
  Search this Thread
Old 08-25-2006, 09:06 AM   #1
Pink Floyd
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
P2P Linux Installer


I was some what curious as to if anybody would be interested in the idea of / developing a universal linux installer system?

My idea is as follows:

Establish a method to distribute any tarball to any user who is using any distribution.

I'm thinking it should be based on BitTorrent, but with a different file type to indicate that it should be opened by the installer system.

I suggest that DHT / Trackerless setup be used.

Suggestions or comments?
 
Old 08-25-2006, 09:56 AM   #2
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
> universal linux installer system

there is one, its called source code.

edit> why on some polls can you see who voted for what and on others you cant?

Last edited by xhi; 08-25-2006 at 10:16 AM.
 
Old 08-25-2006, 11:16 AM   #3
Pink Floyd
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
>why on some polls can you see who voted for what and on others you cant?

It's determined by the person who starts the thread.

>there is one, its called source code.

Tis what I was referring to.
But a way to automatically download compile and install / uninstall with a single click (handling dependencies at the same time).

With the system I'm proposing, I just click a link on a Web Site.
The meta file that this link refers to will now automatically open in the installer system.
The installer system automatically downloads the source code + dependencies via bittorrent,

./configures
make
make install

for me.

Said metafile would be generated alongside the tarball.
 
Old 08-25-2006, 11:44 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Pink Floyd
The installer system automatically downloads the source code + dependencies via bittorrent,

./configures
make
make install

for me.
this would potentially be a problem if you wanted to/had to pass certain flags in ./configure. For example, I always compile my own copy of mplayer because it doesn't do the gui by default. There's also a bunch of really natty features that are only enabled if you specifically tell it to compile them in.
 
Old 08-25-2006, 12:19 PM   #5
cupubboy
Member
 
Registered: May 2003
Location: Bucharest,Romania
Distribution: Fedora Core 7
Posts: 109

Rep: Reputation: 15
Well yes .. theese are details ..

Of course you'd probably have aplace where you can pass configure flags .. (like and advanced button)

But probably if you'd go through all that trouble .. you might as well do it the old fashion way
 
Old 08-25-2006, 12:28 PM   #6
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
this sort of thing usually bloats way out of control. that is why there are few existing solutions to this. there are planty of package managers that are distro dependant (apt-get, yum, etc), but to make a universal one, well it would be some accomplishment
 
Old 08-25-2006, 02:55 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
It is a good idea, but will never work. Linux distributions are much more different from each other than the type of package they use. From my experience, Redhat and SuSE loves to place things in different paths than most of the other distributions. While they are all "Linux" (as in the kernel level), they are all basically different operating systems in a way.

Anyway, I don't see any problem with the current Linux system. All major distributions aimed at desktop users have a very good package manager (as mentioned by xhi), so they should stick with it. Dependency problem is never an issue if you picked a distro with a good package manager and plenty of packages available. Debian has easily over 16.000 packages available to install through apt-get/synaptic, for example.

Again, it sure would be good to some peoples to double click on any package and get it installed (I would hate it though, but I can see a lot of peoples liking the idea), but with the current implementation of Linux, I don't think it is possible...

Besides, if you actually are using a "user-friendly" distribution as Mandriva or Ubuntu, you should be able to install .rpm or .deb files by double-clicking on them anyway...

Last edited by Mega Man X; 08-25-2006 at 02:57 PM.
 
Old 08-25-2006, 03:00 PM   #8
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
> It's determined by the person who starts the thread.
can you change it back to being able to view the voters? why would you want anonymous voting?


edit:
> I would hate it though
me too! i just feel smarter when i install from source

Last edited by xhi; 08-25-2006 at 03:02 PM.
 
Old 08-25-2006, 11:29 PM   #9
Pink Floyd
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
The idea is that we are still using source code instead of pre-compiled packages.
Often when I compile from source though, there are dependency issues that give me headaches.

I'm thinking what if there were a P2P system for accessing all linux source code on any distribution without additional effort from the developers. As soon as anything is used on any distribution it's available to all distributions.

Or in other words getting all repositories to share information,
and maybe done with source instead of deb / rpm packages?
 
Old 08-26-2006, 04:54 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
But you'll have the same problem all over; how do you (or your tool)
determine what the user really wants out of a piece of software? How
do you decided whether, for example, to use berkleyDB, plain hashes or
the already installed postgres on my machine for the postfix I'd like
to install? How do you know whether I want such and such program that
can either use KDE or simple Qt to use either of those? Or if the user
has postfix installed and requests to install exim AND sendmail - what do
you do in terms of set-up choices? I think that trying to do this distro
independent will be impossible.


Cheers,
Tink
 
Old 08-31-2006, 08:29 PM   #11
slack---line
Member
 
Registered: Jul 2003
Location: Sheffield, UK
Distribution: Gentoo/Slackware10.0@AthlonXP2600, 1Gb RAM; Slackware9.1@Dell Latitude X300; Gentoo@Ultra10
Posts: 48

Rep: Reputation: 15
Quote:
Originally Posted by pwc101
Quote:
Originally Posted by Pink Floyd
The installer system automatically downloads the source code + dependencies via bittorrent,

./configures
make
make install

for me.
this would potentially be a problem if you wanted to/had to pass certain flags in ./configure. For example, I always compile my own copy of mplayer because it doesn't do the gui by default. There's also a bunch of really natty features that are only enabled if you specifically tell it to compile them in.
This is essentially the way in which Gentoo works, you can set global flags for compiling, or package specific flags to over-ride or add functionality to specific packages.

Obviously its not the solution to _every_ distro, but it does work well in and of itself. To the best of my memory there are very few depenency issues that I have encountered.
 
Old 09-15-2006, 03:17 PM   #12
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
You're solving a problem that doesn't exist. If you want an automated install, download an ISO, burn it and run it. No muss, no fuss.
 
Old 04-19-2007, 07:31 AM   #13
Pink Floyd
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
New idea what about an official organization setup just to mirror packages of various types.
RPM, Deb, Tgz, GRP, etc.

All distributions would be responsible to conform to this one standard, absolutely everything available from one distribution would be available to another within a day or so, to allow for compile time.

Packages would gradually be phased out provided they allowed the same functionality.
For example Deb packages would eventually replace RPM's.

Mirrors would exist in every country any distro of any size
could submit packages for approval.
 
Old 04-19-2007, 12:17 PM   #14
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
<offtopic>
geesh.. i didnt notice it before, but you registered in 2006 and Pink Floyd was still available.. how lucky is that..
</offtopic>
 
Old 04-19-2007, 05:13 PM   #15
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Not that it's a bad idea, I just don't see how distro programmers are going to want to unite on a single standard for software installation. The whole purpose of the different packages is someone not liking the way a certain packaging system works.

For instance, I'm not too keen on DEB or RPM packaging (I have yet to try TGZ). I mean, within RPM alone, there's several different subsets, such as SuSE rpms, Mandriva rpms, Fedora rpms, RHEL rpms, ..., the list goes on, and none of them are interchangable. No Fedora rpms on a Mandriva system. What don't I like about RPMs? I don't think the package managers that are available for it are well-developed enough. For URPMI (Mandriva), I have a great deal of trouble finding repositories to add (besides easyurpmi.zarb.org), and it takes forever to update the synthesis lists. With YUM (Fedora, Yellow Dog), I find the dependency calculation system a little clumsy, but the number of available packages is amazing.

My favourite so far, is Gentoo's Ebuilds. They're pretty slick, and clean, but the only thing I have against them, is it takes so darn long to install something.

I am part of a SourceForge project called pkgswarm, and the whole purpose of the project was to provide a way of obtaining packages via torrents. I'm still working away on the project, but I'm not sure who else is.
 
  


Reply



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
Risk of Linux P2P vs. Windows P2P software snatale1 Linux - Software 2 12-04-2004 07:14 PM
P2P in Linux kevcart3 Linux - Software 11 09-22-2004 10:38 AM
Linux P2P Orbit92 Linux - Newbie 1 07-17-2004 11:50 PM
P2P for Linux? neozero62 Linux - Newbie 9 11-20-2003 06:05 PM
p2p under linux flynnhandley Linux - Software 5 10-02-2003 07:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:22 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
Open Source Consulting | Domain Registration