LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2004, 04:24 AM   #1
apffal
Member
 
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
Install applications


Is there a program, like InstallShield, or a tutorial, to make install applications for Linux ?
Thanks.
 
Old 11-09-2004, 04:30 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 137Reputation: 137
No. There is no standard installation method for Linux. So if you want to create an installer, then you must follow one of the three standard ways:

Generally developers distribute their apps in one of the following ways:

1. By source code:

You get a tar/gz file which you must extract to a directory and then generally give the command (it may vary for different apps. check the install.txt file):

The end user must issue the commands:
Code:
./configure
make
make install
2. By RPM/binary

In case the app is distributed via binary RPM, then you must install using the command:
Code:
rpm
Check the syntax of rpm by giving a 'man rpm' and checking out the options listed.

There is a third way: by shell script installer. Many developers give a shell script that you must execute. This command then will prompt you for install location and so on and you must complete the installation process by answering its prompts. This is the easiest way, but different developers write different kinds of installers so there is no standard way of installing a Linux application.

If you are a developer and want to create an install program then I suggest you look at one of the three ways. Creating a shell script to install your application seems to be the best way.

Last edited by vharishankar; 11-09-2004 at 04:34 AM.
 
Old 11-09-2004, 05:17 AM   #3
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian
Posts: 133

Rep: Reputation: 18
Actually InstallShield X for Linux is just released, and BitRock InstallBuilder is also available, if you're thinking about install wizards of that kind..
 
Old 11-09-2004, 05:21 AM   #4
apffal
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
In my case, I want to distribute a jdbc app, connecting to mysql.
So, I think shell script is really the best way.
Can you give me a code example ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i install applications? computer eye Linux - Software 1 03-21-2005 04:35 AM
Can't install any applications Magicplayr2000 Fedora 15 01-22-2005 06:27 PM
How to install and then run new applications carjumble Linux - Newbie 5 12-24-2003 03:22 PM
Where to Install applications for all users? mmr_85 Linux - Newbie 3 10-16-2003 11:13 AM
Can't even install applications Murdoch Linux - Software 2 08-19-2003 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration