3

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 ???

  • 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
4

I got a solution

MakeSelf

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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