Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: ptek on May 01, 2004, 12:23:28 PM

Title: Is there a Linux this this ?
Post by: ptek on May 01, 2004, 12:23:28 PM
Hi all,

I've tried on the past Red Hat, Debian and some other linuxs and I was seriously disapointed with all...

The package systems management are just insane !

An example : I pretended under Debian to install package A.
package A had dependecies on package B. So package B was completly installed (everything on B was installed, even documentation, not only the common files which A needed !)
Then package B needed package C and so on, and so on ...

Result : Instead of using 150kB of HD storage installing a simple little utility like A, I've lost 60MB ! :-o

Man, I payed for that HD! That made me mad and I throw Debian away.


So, my question is : is there a linux flavour that processes   the package installation in a efficient way, installing only the common files among the packages instead of copying them all ?

BTW : Is there a version os KDE or Gnome that runs on 640x480 without problems ?

Some say "linux is free".
I say linux "linux is free ... as long you don't have to buy a new 17 ou 19 inches monitor and a bigger hard disk"  :pissed:
Title: Re: Is there a Linux this this ?
Post by: nOw2 on May 01, 2004, 02:05:55 PM
Quote

So, my question is : is there a linux flavour that processes   the package installation in a efficient way, installing only the common files among the packages instead of copying them all ?


No, install the files by hand from .tar.gz

Quote
Some say "linux is free".
I say linux "linux is free ... as long you don't have to buy a new 17 ou 19 inches monitor and a bigger hard disk"  :pissed:


Linux is free if your time has no value.
Title: Re: Is there a Linux this this ?
Post by: ptek on May 01, 2004, 02:21:47 PM
Quote
Linux is free if your time has no value

 :-D  :-D  :-D  :-D  :-D  :-D  :-D
Good point !
Title: Re: Is there a Linux this this ?
Post by: macto on May 01, 2004, 02:41:12 PM
I'm going through the same thing with my first Amiga, only the packages are much smaller. ;-)

Linux is a bit extreme, and there is only one way to get around it: avoid applications which incorporate too many features.  For example, mutt and pine are good email readers.  Yet a lot of people ignore them because they are character based applications and don't allow you to view formatting or embedded graphics.  But a GUI would require widgets (gtk+ and qt are the popular widget libraries these days), formatting may require an HTML parser (which may be provided by another library), and the ability to view images will require more code (typically provided by the jpeg, png, tiff, etc. libraries).  No Linux programmer wants to develop all of that code on their own, so they grab what is available.

Another problem is competition between libraries.  For example: gtk+, motif, and qt are just three libraries which provide widgets.  There are many others too.  Motif wasn't free (as in cost or liberty) originally, so people looked to qt.  While qt was free in cost, the license didn't offer much freedom.  But the widget library was nice and comprehensive, so some people used it.  Other developers wanted a free (as in GPL) widget library, so gtk+ came into being.  The other widget libraries were largely developed to suit other needs, such as the desire to avoid bloated widget libraries.

As I suggested earlier, you can avoid a lot of the problems by choosing your software carefully.  It is part of the culture of Unix, and one of the reasons why I think Unix will never catch on among people who don't appreciate the many details of their system, or the choice it provides.  Is it a waste of time?  Maybe to some, but it isn't in my opinion.  Then again, I'm spending a considerable amount of time to get a 68k Amiga to work. :insane:
Title: Re: Is there a Linux this this ?
Post by: ptek on May 02, 2004, 01:00:30 PM
Quote
No, install the files by hand from .tar.gz


Hmmm ... How can I know the files from package B needed by package A ? What command should I use ?



Title: Re: Is there a Linux this this ?
Post by: Argo on May 02, 2004, 01:16:27 PM
Quote
Hmmm ... How can I know the files from package B needed by package A ? What command should I use ?


Not to mention C, D, and E.
Oh, just get a 350 GB HD and install everything. Sometimes it just seems easier.
Title: Re: Is there a Linux this this ?
Post by: mikeymike on May 02, 2004, 01:50:25 PM
My personal favourite was from trying Linux a few years ago, where I wanted to install package A.  Package A depended on package B, which depended on package C.  Package C wouldn't install without package B.

Title: Re: Is there a Linux this this ?
Post by: WarPiper on May 02, 2004, 01:55:35 PM
I happen to like Mandrake, I have never tried debian or suse or redhat (at least since 5.1) but I stick to mandrake and rpm files, its just a little easier.
Title: Re: Is there a Linux this this ?
Post by: Seehund on May 02, 2004, 03:55:07 PM
Quote

mikeymike wrote:
My personal favourite was from trying Linux a few years ago, where I wanted to install package A.  Package A depended on package B, which depended on package C.  Package C wouldn't install without package B.



# rpm -i A.rpm B.rpm C.rpm

:)

Or use something that finds and installs the dependencies from your distro CDs or the 'net, like yum, apt and whatever else they have these days.
Title: Re: Is there a Linux this this ?
Post by: mikeymike on May 02, 2004, 04:16:01 PM
This was a few years ago.  AFAIK rpm was the only known one around then.
Title: Re: Is there a Linux this this ?
Post by: WarPiper on May 02, 2004, 04:41:14 PM
Seahund: seeen the link to the petitiion page in you signiture, I have signed it and also think that Amiga Inc. is shutting the door on a hole lot of potential users with their little hardware dongle plan. by the way, do you have a larger picture of your avatar, I like it alot, and also think my grandfather would get a kick out of it.
Title: Re: Is there a Linux this this ?
Post by: Seehund on May 02, 2004, 04:55:32 PM
WarPiper:

Lookee here (http://medstud.gu.se/~mair/lager/rommel-nyc2.gif).

I think colour photography should be banned. It makes manipulation unnecessarily difficult! ;)

-- edit --

BTW, was your grandfather in the Afrikakorps or something?
Title: Re: Is there a Linux this this ?
Post by: Ilwrath on May 02, 2004, 05:23:55 PM
Quote
# rpm -i A.rpm B.rpm C.rpm


Yep...  That'd work.  Or there was a seperate "force" switch, also... (Wasn't it -f?) That'll force install a package, regardless of if it's a right version, has prereq's, etc...

Quote
This was a few years ago. AFAIK rpm was the only known one around then.


Yeah...  Though even back then, RPM was a nicer package manager than a lot I've used.  Egah!  I don't want to think about the nightmares the SGI IRIX package manager causes!  I've still never gotten the SGI Freeware CD to cleanly install!  :P
Title: Re: Is there a Linux this this ?
Post by: Floid on May 02, 2004, 05:29:10 PM
Quote

nOw2 wrote:
Quote

So, my question is : is there a linux flavour that processes   the package installation in a efficient way, installing only the common files among the packages instead of copying them all ?


No, install the files by hand from .tar.gz
More seriously, tracking the dependencies to this level of 'granularity' would get insane, and create the corrolary - "I already installed B, why is this file missing?!"

The best way to look at it is to consider KDE+Qt or Gnome+GTK as Windows and Geoworks were atop MS-DOS.  Both 'very large' packages, and, had you the disk space, you could've had both installed at once.  (From that perspective, we've 'advanced' in the sense that you can run Qt apps under Gnome or GTK under KDE, because the apps just link to their desired widget lib and X11 doesn't actually care.)

Now, if you want the whole 'user experience,' you'll have to install one or the other - once - at the cost of a fair bit of disk.  (You think the binaries are bad?  I run FreeBSD, people think I should build from source! ;))

If you want to save disk space, you'll want to limit yourself to apps that, at worst, link to GTK or Qt (and preferrably only one), without depending on *any* of the Gnome or KDE libs.  (My opinion is that, in practice, there are more 'decent' apps that use GTK sans Gnome than use Qt sans KDE; YMMV.)

Debian is supposedly good about following dependency trees, but they made the mistake of putting.. dselect, is it?.. at the end of the installer script, and presumably dselect is dumber than actual apt.  Maybe.  There might also be options (a-la BSD Ports make directives) to say 'don't install 20MB of .ps documentation with this one;' you'll have to ask someone familiar with your distro's idea of packaging.

I'd guess 20GB is now the baseline 'enough' to install all of an X11 server du jour, Mozilla, Gnome, KDE, and whatever passes for other reasonable software while still leaving most of the disk free for some data. ;)  [My FreeBSD install, with two versions of Phoenix/Firefox, Linux and BSD builds of Java, GTK and Qt but none of the 'big' desktop environment libs themselves, and assorted other cruft, is probably pushing 7GB now, but I haven't needed to install something in an age.]
Title: Re: Is there a Linux this this ?
Post by: Tomas on May 02, 2004, 06:26:21 PM
I personally have zero problems with debian and its apt-get... I find apt-get much better than redhat's sucky RPM system..
I have not yet had any depedencies issue on debian.

There are some badly made debian packages out there, but all official ones should work fine..
Title: Re: Is there a Linux this this ?
Post by: ptek on May 02, 2004, 10:34:26 PM
Quote
My personal favourite was from trying Linux a few years ago, where I wanted to install package A. Package A depended on package B, which depended on package C. Package C wouldn't install without package B.


Hmm I don't see your point ... What are you trying to say ?
Title: Re: Is there a Linux this this ?
Post by: mikeymike on May 02, 2004, 10:58:45 PM
Quote
ptek wrote:
Quote
My personal favourite was from trying Linux a few years ago, where I wanted to install package A. Package A depended on package B, which depended on package C. Package C wouldn't install without package B.

Hmm I don't see your point ... What are you trying to say ?

Slight chicken-egg issue? :-)
Title: Re: Is there a Linux this this ?
Post by: Waccoon on May 02, 2004, 11:32:59 PM
Mandrake is pretty stupid, too.  The package installer allows you to select a ton of packages all at once, and it supposedly works out dependency problems beforehand.  But when you install, it informs you of "additional" dependency problems in the middle of installation.  Instead of automatically selecting them, it simply lists the ones you need, and QUITS!  Your only option is to write down the names of all the dependencies you need, select them manually, and restart the installation.  It took me forever just to install the C programming tools.  I tried to just installing everything possible, but there are multiple versions of each tool, and they will conflict with each other, so you have to select everything, then deselect the tools with version conflicts.

I really hate Linux packages, when a good 'ol Setup.exe will suffice.  Tar.gz files wouldn't be so bad if there wasn't so much typing involved.  As a Windows user, I really hate having to use command prompts unnecessarily.
Title: Re: Is there a Linux this this ?
Post by: helix on May 03, 2004, 02:17:23 AM
I'm using Suse 9.0 Pro and Yast checks my machine for any missing dependancies and notifies me before the install. I've been very happy with it. If I am missing a dependancy I download and install it, then continue with the rest of my install.
Title: Re: Is there a Linux this this ?
Post by: lame_duck on May 03, 2004, 07:23:11 PM
Hint to rpm users, it took me a while to get this one. If your trying to install RPM A and it ask for B BUT, B ask for A, install them at the same time.

Call me stupid but when I first started that killed me. I usually ended up compiling it anyway.  :lol:
Title: Re: Is there a Linux this this ?
Post by: koaftder on May 03, 2004, 09:27:18 PM
In general i dont like package management systems, too much bloat. But FreeBSD does it right. you can just invoke /stand/sysinstall , select the ports option from the menu, it connects to a ports server via ftp , and you select the programs you want to install. It downloads all the source and dependencies for you, configures and compiles, leaving very little mess on the system, it's a beautiful thing.

I have a few pc's at home running FreeBSD with apache and mysql on 200mb harddrives with some breathing space left on the disk.

I dont use linux much, but when i do i prefer the core linux distrobution. http://coredistro.sourceforge.net/
It's a minimalist distro, no real package system, you compile everything from source, by hand, which isnt really that hard these days.

For some reason a lot of people seem to start off with a standard build of their favorite distro, and strip it down. I prefer to start off stripped and build up...

In general, i think most people dont care if their os takes a gig or two when they have 38 gigs free on the disk.

if you want a slim *nix box with a descent package management system check out freebsd or netbsd, you will probably like it. :-)
Title: Re: Is there a Linux this this ?
Post by: dezignersrepublic on May 03, 2004, 09:37:31 PM
Go for mandrake and then use

urpmi "name of rpm you want to install"

it automatically gets the dependencies it needs.
Title: Re: Is there a Linux this this ?
Post by: ptek on May 04, 2004, 12:01:06 AM
I guess some of you guys didn't catch what I meant.

(ok, the subject "Is there a Linux this this?" has a bug
 :-D . It should be "Is there a Linux like this?" ) :laughing:

What I wanted was a eficient (in terms of disk space) package management.

Let me explane again :

If I was a good c/c++ programmer and have some free time and experience in Linux, i'll do the following package managment system :

OK, let's consider that nasty pack A which only needed a tiny wheeny little file from the bloated pack B  :-)

My great pack managment system would do the following :
 * install pack A
 * copy ONLY the required file from pack B
 * flag somewhere that pack A is completly installed
 * flag somewhere that pack B is incomplete

Now, since pack B wasn't needed to be completly installed (and it was not), its dependency from pack C really doesn't matter, so pack C (and D, E, F, till infinity) will not be installed !

That's it. Simple as that. Is that hard to make something so efficient like this ?

That's Amiga like 8-)