Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Linux: I need to create installer for my own application using shell script.

I need to distribute my application as installer without GUI and also not as rpm's or any other packages.

My application is java based. My installer should work in all Linux platforms (RHEL/ubuntu).

Please suggest me steps to do or any tool which is open source ???

share|improve this question
    
Usually an interactive script (shell or otherwise) is used in such cases. Without further qualification of what your installer needs to do, it will be difficult for us to give a more specific answer. Meanwhile, take a look at select loops in Bash –  Joseph R. Aug 30 '13 at 11:17
1  
you can also take a simple approach. How do you do in command line? save all the steps and they implement them in the script. $? eq 0 is a condition to evaluate if the output of the previous command executed properly. –  BitsOfNix Aug 30 '13 at 11:30

1 Answer 1

up vote 1 down vote accepted

I got a solution

MakeSelf

This script bundles my application into a single file . later it extracts and executes a shell script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.