LinuxQuestions.org
Help answer threads with 0 replies.
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


Reply
  Search this Thread
Old 08-28-2006, 07:07 PM   #1
Sava
Member
 
Registered: Oct 2004
Location: Mie, Japan
Distribution: Gentoo, Suse, Ubuntu
Posts: 38

Rep: Reputation: 15
Creating/Distributing Linux Binary Files


I'm currently working on a software project of mine, and it is something that I aim to be able to take commercial in the future - probably in a year or so once I've returned from my year in Japan. Due to licensing fees I've decided to go against QT, and instead focus my efforts on using gtk (specifically gtkmm and glademm, and I must say I'm impressed!)

My only concern is quite how I can distribute this whilst maintaining the source. Although I may release the source eventually (I do love the OSS movement) I want to leave my options for now.

Some packages such as open office or the Java SDK can be downloaded as a .bin file, which installs everything instantly. Is there a technique for making these types of files, or are they effectively just shell scripts that copy pre compiled binaries into the correct locations?

I have also thought about the use of RPM's, since they are relatively easy to package and distribute.

If anyone knows of any effective techniques for distributing linux binaries reliably (and which work across as many distributions as possible) then please let me know =)
 
Old 08-28-2006, 07:59 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
The major problems with binary installers like jre and OO.o is that they don't play well with the Package Manager of distro maintainer's choice. That said, if you make sure you release in RPM, DEB, and Slackware TGZ, you've got most distros covered, and Slackware TGZ easy to deal with for fringe distros. Gentoo and Arch are more popular distros that don't use those PMs, packaging for them may be worthwhile.
 
Old 08-29-2006, 08:08 AM   #3
Sava
Member
 
Registered: Oct 2004
Location: Mie, Japan
Distribution: Gentoo, Suse, Ubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tuxdev
The major problems with binary installers like jre and OO.o is that they don't play well with the Package Manager of distro maintainer's choice. That said, if you make sure you release in RPM, DEB, and Slackware TGZ, you've got most distros covered, and Slackware TGZ easy to deal with for fringe distros. Gentoo and Arch are more popular distros that don't use those PMs, packaging for them may be worthwhile.
Would the source have to be included with those though? Can I create a .tgz that does not hold the source code itself?

The same problem is with Gentoo. I use it myself, and although ebuilds are fairly easy to make, doesn't portage work by downloading the file and then actually compiling and installing? I need to skip the compiling stage
 
Old 08-29-2006, 09:31 AM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
RPMs, DEBs, and Slackware TGZ are all binary-only packages, so you do not have to bundle to source with, unless you are making special source packages that build themselves when they install, like gentoo. For gentoo, you could probably get away with not having to bundle the source by having a dummy ./configure and make, with everything happening in make install
 
  


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
Commercial Linux applications and distributing them J_K9 Linux - Software 4 05-14-2006 08:28 AM
Creating binary RPMS statically! Sunilsbjoshi Linux - Software 2 10-12-2005 12:10 AM
Can Linux execute binary files? GiaCo Linux - Newbie 7 11-04-2004 02:29 PM
Imaging and Distributing Linux bmckenz1 Linux - Software 4 06-13-2003 11:20 AM
creating a flat binary file with gcc wsimmons Programming 2 01-08-2002 11:33 AM

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

All times are GMT -5. The time now is 08:52 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