Kailas Mirgane
Kailas Mirgane

Reputation: 119

how to create installer of sh file in ubuntu

i m creating one application on ubuntu server in shell script. I write one shell script which runs other perl scripts. i want .exe file of that .sh file

Upvotes: 0

Views: 5908

Answers (2)

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72755

If you want to have you application installed via yum, you should package it as an rpm, put it in a public repository and then make it available to your users.

Upvotes: 0

Eric Conner
Eric Conner

Reputation: 10752

You're just trying to write a shell script. In that case you just need to create the .sh file you want to be executable and then write your shell script as follows (the #!/bin/sh indicates which interpreter to use)

#!/bin/sh
... shell commands ...

then do a

chmod +x myscript.sh

to make it executable. Then to run it you perform a

./myscript.sh

Upvotes: 2

Related Questions