Question:
What programming languages are used to develope in Linux Operating System?
J.M D
2013-08-31 05:55:16 UTC
And where to find a free compiler for it.
Three answers:
husoski
2013-08-31 07:05:14 UTC
The Linux kernel, and the overwhelming majority of the code in the GNU operating system (over 90% of a so-called "Linux Operating System" is actually GNU) is written in C.



The one language that you're guaranteed to have already installed with any Linux distribution is the GNU C compiler. If you get the full GCC package set, you have C, C++, Fortran, Ada, a Java compiler for an old version of the JDK, and an Objective C. Only C and C++ are commonly used. The ObjC compiler that isn't much use since most ObjC programs are written using Apple-proprietary class libraries. The GNU Java compiler isn't used much, as it doesn't track the Sun/Oracle standard language. Ada is mostly used by the U.S. Defense Dept. At one time, it looked like Ada might become a rational replacement for Cobol, but that never happened.



For application development ("userland" in Love's answer), you have a choice of pretty much any programming language that's currently in use, but C and C++ are the most common.



Other common languages are (standard) Java and Python. Developers will use other mini-languages in the background. The GNU make tool has it's own language for building projects from source. The shell that runs each terminal session (usually "bash", but others are available) has a very capable scripting language.



Perl is a powerful programming language (with a quirky syntax that programmers tend to either love or detest) used in a lot of admin scripting applications. Because of its power and brevity, it was at one time the primary server-side scripting language for web applications.



All of these are available in free and open source form. The normal way to get something installed is to use the package manager that's used by your particular distribution. A package manager will not only download and install a software package, but will also check for dependencies on or conflicts with other packages before installing. Google for "install packages on "



You can also install any open source project by compiling the source. That's more involved, though, and this answer is already long enough. Almost any free tool will have a web page with instructions on how to compile the source code.
?
2013-08-31 13:05:29 UTC
As far as i know ONE of the programming languages if Python, it's free to use and is the only programming language used for the Raspberry Pi, a programmable mini PC on the Linux platform
2013-08-31 13:13:14 UTC
Linux: Most things are in C, many userland apps are in Python, KDE is all C++


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...