Real Software Forums
http://forums.realsoftware.com/

Newbie Question
http://forums.realsoftware.com/viewtopic.php?f=8&t=14880
Page 1 of 1

Author:  banglarvut [ Mon Jul 16, 2007 8:28 am ]
Post subject:  Newbie Question

Well, before seeing RB (that's about 2 days ago!), I was never interested about Linux. So please, pardon my ignorance about this question.

In the build settings, I found that applications built for Linux will run where GTK+ 2.x is present. I didn't know what GTK+ is (still I know a little!), I searched Google for this and found that this a part of GNOME Desktop Environment.

My question is, what will happen to KDE? Suppose, if I have kubuntu, will compiled software will run there? Will there be any significant difference or ANY difference at all in the UI of my software?


-------------------------------

The second question is, how softwares are distributed in Linux? I mean, is there any installer like Inno Setup or Wise or Installshield? I can see a lot of packaging information in Wikipedia, like: deb, RPM, gzip, tar etc. Tar and gzip are known to me, but I am confused with others.

May be the better question is, which one is the most common way to distribute a linux app?


Thanks a lot gor helping this newbie :)

Author:  hairy_palms [ Mon Jul 16, 2007 9:40 am ]
Post subject: 

tar and gzip are just archives usually used for distributing source code, or possibly a standalone binary. Seeing as RB apps are just a single file, you can distribute them as just the executable or you can package them up in a .deb or a .rpm just so that they add a menu entry and install to a system wide area

also .deb packages can pull in any needed dependancies that youve used.

GTK+ is just a toolki, the same as Cocoa is Macs toolkit and win32 is windows toolkit.
KDE is different in that it runs on the QT toolkit, but any GTK apps will still run there and will look like GTk apps so theres no need to worry.

Author:  banglarvut [ Mon Jul 16, 2007 9:56 am ]
Post subject: 

Thanks bro, :D

How can I make deb or rpm packages? Is there any easy to use software?


Quote:
GTK+ is just a toolki, the same as Cocoa is Macs toolkit and win32 is windows toolkit.
KDE is different in that it runs on the QT toolkit, but any GTK apps will still run there and will look like GTk apps so theres no need to worry.


That wipes out my confusion. Thanks again :)

Author:  jdiwnab [ Mon Jul 16, 2007 10:35 am ]
Post subject: 

Often GTK will be installed by default on major linux distros (at least those meant to be used as desktop OS's), so your apps will work in KDE. However, they will look like GNOME apps to a fair extent. so it is possible that your users will notice, and grumble mildly.

For packing stuff, there are a few OSS projects that make RPMs and debs. I found more RPM packagers than deb, but *ubuntu uses debs.

Author:  hairy_palms [ Mon Jul 16, 2007 1:14 pm ]
Post subject: 

i cant talk for RPM as i dont know, but debian packages couldnt be easier to make, bascially you take everything you want and put it in a duplicate file structure

then make a file called control that contains information about your program
ill post an example
http://one.fsphost.com/chickenrapist/exampledeb.tar.gz

i dont know of any software thats available on other platforms to build them though.

Author:  jdiwnab [ Mon Jul 16, 2007 1:56 pm ]
Post subject: 

RPMs, I think, are a little more complicated, but there is software like RPM Builder that do stuff for you.

Thanks for the info about debs, HP

Author:  banglarvut [ Mon Jul 16, 2007 10:51 pm ]
Post subject: 

Thanks jdiwnab and hairy_palms, those help a lot :D

Author:  face [ Wed Apr 15, 2009 7:14 pm ]
Post subject:  Re: Newbie Question

Any update on this old thread ?
There're in the meantime new tools avaible ?
I'm looking for a distribution method that can be able to package not only executable but also some database and an help file too.
Thanks

Author:  computerfreaker [ Wed Aug 05, 2009 5:22 pm ]
Post subject:  Re: Newbie Question

face wrote:
I'm looking for a distribution method that can be able to package not only executable but also some database and an help file too.

I'm also looking for a (freeware) DEB or RPM packager... anybody?

Author:  Jonathon [ Thu Aug 06, 2009 5:51 pm ]
Post subject:  Re: Newbie Question

Try this guys! http://cpan.uwinnipeg.ca/dist/CPAN-Packager

Author:  computerfreaker [ Thu Aug 06, 2009 6:20 pm ]
Post subject:  Re: Newbie Question

Jonathon wrote:

Thanks, Jonathon, but that's for Perl modules:
Quote:
Create packages(rpm, deb) from perl modules

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/