LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compile scripts into .deb file (http://www.linuxquestions.org/questions/linux-newbie-8/compile-scripts-into-deb-file-4175418314/)

gacanepa 07-23-2012 08:15 PM

Compile scripts into .deb file
 
Hi everyone,
Is there a standard way of compiling a bunch of scripts into a .deb file (for debian-based distros) or .rpm file (for red hat-like distros) that can be distributed and installed more easily?
I mean, I have a script that executes some commands and calls other scripts, and I would like to compile them all into a redistributable file.
Ideas and suggestions are more than welcome!

EricTRA 07-24-2012 12:42 AM

Hi,

Scripts, for as far as I know, don't get compiled, they get interpreted. Building a package for Debian or Red Hat don't get compiled either if I'm not mistaking. I guess you're just looking for a way to build a package for redistribution. Have a look at the following pages, they'll get you on your way:
Debian binary package building
How to create an RPM package

Kind regards,

Eric

gacanepa 07-24-2012 06:51 AM

Quote:

Originally Posted by EricTRA (Post 4736466)
Hi,

Scripts, for as far as I know, don't get compiled, they get interpreted. Building a package for Debian or Red Hat don't get compiled either if I'm not mistaking. I guess you're just looking for a way to build a package for redistribution. Have a look at the following pages, they'll get you on your way:
Debian binary package building
How to create an RPM package

Kind regards,

Eric

Thanks a lot! That is exactly what I was looking for.

EricTRA 07-26-2012 12:38 AM

Hi,

You're welcome. Thanks for marking the thread as solved. Have fun with Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 06:31 PM.