LinuxQuestions.org
Review your favorite Linux distribution.
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-30-2011, 12:59 PM   #1
Blackened Justice
Member
 
Registered: Jun 2011
Posts: 82

Rep: Reputation: Disabled
Programming languages built into mainstream distros with interpreters (like Python)


Hey, other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?

Cheers
 
Old 07-30-2011, 01:26 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hmm, built-in, I dunnow, but there is a "selection" around. How about Ruby, or Perl? Even C++ has to be "installed" (the compiler of course) but I doubt there's a "built-in" language as such. It kinda goes against the Linux thing in that YOU choose what YOU want, not what some packager somewhere deems you should need...that...happens in the "other" one...

Thor
 
Old 07-31-2011, 12:04 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by Blackened Justice View Post
Hey, other than Python, which languages are built into most Linux distros...where you can just enter some commands and test out ideas before actually creating a file with your program?
Well, most distros have a shell, of some kind, built in. I'd almost say Bash is universal, but in some cases its dash...which is exactly the same as bash, except for the few cases where it isn't.

Quote:
Originally Posted by Blackened Justice View Post
...using a real-time interpreter, like the Python prompt..
I think I know what you mean, and its not real time programming. You want to run the program immediately (without compiling), whether it runs quickly or predictably (from the point of view of a delimited maximum execution time), or not.

Quote:
Originally Posted by Blackened Justice View Post
...other than Python, which languages are built into most Linux distros...
Well, Python isn't usually built-in in any very very fundamental way. It is often used for install, or similar, scripting, but, after install, you could still use Linux/Gnu in pretty much the same way, but without some automation and without some add-on utilities, even without Python. Installing Python is often the default though, more often than, say, Ruby, and that's probably what you mean (I think). To me, that makes it more of an option than a 'built in', and you have quite a wide choice of this kind of tool (boo, ruby, tcl, BASIC (?), Forth, Java, Javascript(??) ), if you include all of the things that you could install, rather than just the stuff that you must install and keep installed, or something fundamental breaks.
 
Old 07-31-2011, 06:28 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As mentioned above, Perl is usually installed by default; not sure about the immediate/interactive env you seem to want, but I wouldn't be surprised; its an extremely flexible lang.
If you wanted to find out, I'd ask over at www.perlmonks.org; its where the Perl gurus hang out.
 
Old 07-31-2011, 06:37 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Blackened Justice View Post
Hey, other than Python, which languages are built into most Linux distros, using a real-time interpreter, like the Python prompt, where you can just enter some commands and test out ideas before actually creating a file with your program?

Cheers
Do you mean an interactive shell? Then Ruby is the only other language I know of that comes with an interactive shell, like Python.
 
  


Reply



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
LXer: Review: Programming in Python 3: A Complete Introduction to the Python Language LXer Syndicated Linux News 0 01-26-2009 04:50 AM
LXer: The A-Z of programming languages: Python LXer Syndicated Linux News 0 08-26-2008 06:00 AM
LXer: Mainstream Parallel Programming LXer Syndicated Linux News 0 07-30-2006 05:03 AM
Is it possible to learn programming languages like python reading tutorials? cyto Programming 25 12-25-2004 08:40 PM
How many programming languages do you know? MikeZila Programming 4 07-25-2004 01:26 PM

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

All times are GMT -5. The time now is 09:24 PM.

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