LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2012, 08:15 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Rep: Reputation: 27
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!
 
Old 07-24-2012, 12:42 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
1 members found this post helpful.
Old 07-24-2012, 06:51 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Original Poster
Rep: Reputation: 27
Thumbs up

Quote:
Originally Posted by EricTRA View Post
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.
 
Old 07-26-2012, 12:38 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

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

Kind regards,

Eric
 
  


Reply

Tags
compile, debian, program, red hat, scripts



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I find the dependent information like that in the control file of .deb file mahaifang86 Ubuntu 2 11-17-2010 09:17 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
Creating deb pages so I don't need to compile from source again linuxmandrake Linux - Newbie 1 10-04-2009 04:44 AM
compile bash scripts collen Programming 3 12-12-2005 08:49 AM
How to convert .deb file to .tar file on redhat? zhu_liheng Linux - Newbie 1 01-15-2004 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration