Ask Your Question
0

how can i install package for compile the shell (.sh)programs in fedora20

asked 2014-09-27 20:08:42 -0600

updated 2014-09-27 20:37:59 -0600

mether gravatar image

I have a problem to compile shell programs in my fedora20

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-09-27 21:11:50 -0600

baoboa gravatar image

you can't , bash/sh is a scripting language , it's interpreted not compiled

http://en.wikipedia.org/wiki/Scripting_language

edit flag offensive delete link more

Comments

Some scripting languages have some kind of "compilation" support (to an intermediate language) like Python's pyc files; but it is very unlikely that such thing exists for bash/sh.

(But actually I'm unsure if he is really looking for compiling shell scripts. He probably wants to know how to run shell scripts).

hedayat gravatar imagehedayat ( 2014-09-28 02:50:10 -0600 )edit

for python it's just bytecode there is no optimisation, just binary store of the ascii code, it's just for faster load

baoboa gravatar imagebaoboa ( 2014-09-28 16:38:25 -0600 )edit

Question Tools

Stats

Asked: 2014-09-27 20:08:42 -0600

Seen: 345 times

Last updated: Sep 27 '14