Author Topic: Standards for packing programs in linux  (Read 1611 times)

dmcfarland

  • Member
  • **
  • Posts: 156
  • Kudos: 123
Standards for packing programs in linux
« on: 4 December 2005, 22:24 »
Ive noticed Linux programs come in many different flavors IE rpm's, source, binarys, dpkg, and others. Is the linux/Unix community ever going to come out wiht an easy to use package format that makes it simple for an user to install a program without worrying about installing a bunch of libraries first and getting failed dependancy messeges. Windows has the whole setup.exe command and a set of files that make it run. I hate windows, but I am curious to know if the Linux community can agree on one standard thats relatively easy to use and easier to manage than what is currently availible?
Whip me, Beat me, Humiliate me, Mistreat me, and Windows XP me.:fu:

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Standards for packing programs in linux
« Reply #1 on: 5 December 2005, 00:21 »
Well, I dunno too much about other package managers, but yum (the Fedora Core package manager ... rpm based) is capable of resolving dependencies as long as they are included in the repo. I'm pretty sure apt-get has something like this too, although I've never used it. I'd say that things should improve in the future as Linux evolves. I personally don't have a problem with the current methods of package distribution, they work 98 % of the time.

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
Re: Standards for packing programs in linux
« Reply #2 on: 5 December 2005, 00:22 »
People should start to use apt-get more. It's the ultimate package system.

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
Re: Standards for packing programs in linux
« Reply #3 on: 5 December 2005, 01:19 »
The problem with the Windows "setup.exe" installs is that rather than track and resolve dependencies, it ignores them.  And I don't mean ignore in the Slackware sense that they are simply not included, I mean that everything is usually bundled with and the files (DLLs, mostly) get thrown around into system32 and such without version checking.  Ever hear of "DLL hell?"  Yeah.  It can kill you by simply installing a bunch of software in order from newest to oldest.  With XP, MS tried to put some of this in, but so far it only includes DLLs shipped with Windows.

The Linux package managers keep full track of installed libraries and the compatible versions.  They may be less straightforward, but they are a MUCH better installation method because they keep the system cleaner.  That is, assuming the distro team doesn't fuck it up *takes quick glance at Red Hat*.
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

dmcfarland

  • Member
  • **
  • Posts: 156
  • Kudos: 123
Re: Standards for packing programs in linux
« Reply #4 on: 5 December 2005, 02:13 »
Ive been in DLL hell and TSR hell as well. :thumbup: I feel that there can be a way a universal standard for linux thats not full of bugs but makes it easy for someone thats not a technical genius to install software without having to know about libaries and dependancies. I hate setup and I hate all the stupid autorun crappola.

I think that would help make linux a better alternative to Microsoft. Im not saying make it exactly like that but come up something where everyone is on the same page, and make it a bit more freindly to the average joe six pack computer user.
Whip me, Beat me, Humiliate me, Mistreat me, and Windows XP me.:fu:

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: Standards for packing programs in linux
« Reply #5 on: 5 December 2005, 03:29 »
Quote from: dmcfarland
Ive been in DLL hell and TSR hell as well. :thumbup: I feel that there can be a way a universal standard for linux thats not full of bugs but makes it easy for someone thats not a technical genius to install software without having to know about libaries and dependancies. I hate setup and I hate all the stupid autorun crappola.


Libraries and dependencies are, unfortunately, necessary evils.  

Managing dependencies can be done easily with debian's dpkg system or rpm when an additional framework like  apt-get or yum is put on top of it, provided such dependencies are in the repository.  For many popular packages, they are.
In brightest day, in darkest night, no evil shall escape my sight....

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Re: Standards for packing programs in linux
« Reply #6 on: 5 December 2005, 15:43 »
Quote from: Refalm
People should start to use apt-get more. It's the ultimate package system.

:)

Although apt-get is amazing, it doesnt define the package system (unless your strictly talking debian).

There is still apt-get for rpm, tgz, rpm, et al.

But these different packages are necessary for the different distrobutions. You can install rpm and install rpms in other distros than redhat/fedora but because its a different distro there is different places the files should go, which will result in an application not working.

The packages can not be standardized across all distrobutions. Well... they could, but then we would have to have rpm-slackware, rpm-suse, rpm-redhat (example if they were all rpm), because of the differences in the distros and so really it would defeat the purpose by having to build a separate package for each distro.

Apt-get is really the way to go with repositories for each distrobution. And it could be made better if it could automatically convert packages from some other packages systems to use other distros repos and provide even more application opportunities.

For example RPMs can usually be made a slack pack with rpm2tgz, but there is some packages that cant be easily converted. If it can be converted, then theres another package that you could use.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

worker201

  • Global Moderator
  • Member
  • ***
  • Posts: 2,810
  • Kudos: 703
    • http://www.triple-bypass.net
Re: Standards for packing programs in linux
« Reply #7 on: 5 December 2005, 22:53 »
Standardization is not the way to go.  The reason there are 50 different ways to do things is because 50 different people thought the other ways sucked.  And you're going to tell them they are wrong?  The truth is that each method works rather well most of the time.  You just have to figure out which one is right for your system.

And if you don't know how to build just about any application from source, you need to learn that right away.  The source always works.

dmcfarland

  • Member
  • **
  • Posts: 156
  • Kudos: 123
Re: Standards for packing programs in linux
« Reply #8 on: 5 December 2005, 23:16 »
I know how to build from src. I was reffering for a user friendly way for people to install apps. I have some technical knowledge, hardware, M$ and little bit of some other stuff.
Whip me, Beat me, Humiliate me, Mistreat me, and Windows XP me.:fu:

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Standards for packing programs in linux
« Reply #9 on: 5 December 2005, 23:38 »
I think the best idea for a distro-independent, user friendly package manager is probably a source-package manager as suggested by piratePenguin.

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: Standards for packing programs in linux
« Reply #10 on: 6 December 2005, 00:04 »
Quote from: H_TeXMeX_H
I think the best idea for a distro-independent, user friendly package manager is probably a source-package manager as suggested by piratePenguin.
:D
That idea, once implemented, won't be a whole load different to the *BSD's and Gentoo's ports collections. Probably cleaner, and it'd be easier (actually, after really thinking about it, probably not 'easier', but...) to make really good frontends. And most likely it'll be distro-independent too.
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

Pathos

  • Member
  • **
  • Posts: 518
  • Kudos: 416
Re: Standards for packing programs in linux
« Reply #11 on: 14 December 2005, 11:39 »
Quote from: dmcfarland
I know how to build from src. I was reffering for a user friendly way for people to install apps. I have some technical knowledge, hardware, M$ and little bit of some other stuff.

If you want easy, go for a distro like debian, or ubuntu.

slackware doesn't do things that way because thats the way they like it. But you can just use gslapt and install everything from the ftp repositories very easily.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
Re: Standards for packing programs in linux
« Reply #12 on: 15 December 2005, 01:38 »
Quote from: Refalm
People should start to use apt-get more. It's the ultimate package system.

it should become the default method of package management on any *nix system in my opinion.

regardless of the different package formats for different unices (which i think you will never get rid of) i do think there needs to be one singular interface to manage packages with. apt has that, it's virtually identical between RH/fedora and debian and other similar projects like urpmi, slapt and yum just need to form up in some standardly specified way (perhaps they could all become compatible with the same repositories as each other) and they do need to put dependency checking AND fixing into it. apt is great at this, but slapt-get is not! urpmi is pretty good in my opinion, but last time i used it it did get a little confused.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism