LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 09:15 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 185

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

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
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, 07:51 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 185

Original Poster
Rep: Reputation: 24
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, 01:38 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:17 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 11:02 AM
Creating deb pages so I don't need to compile from source again linuxmandrake Linux - Newbie 1 10-04-2009 05:44 AM
compile bash scripts collen Programming 3 12-12-2005 09:49 AM
How to convert .deb file to .tar file on redhat? zhu_liheng Linux - Newbie 1 01-15-2004 09:11 PM


All times are GMT -5. The time now is 05:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration