Hi
I am interested in learning to write an application for ubuntu. What advice wuould you give on the language compiler I need to use. I want only open source.
Just as a matter of interest what is complied with. ?
thank you...
Hi
I am interested in learning to write an application for ubuntu. What advice wuould you give on the language compiler I need to use. I want only open source.
Just as a matter of interest what is complied with. ?
thank you...
Moved to Programming Talk.
?Just as a matter of interest what is complied with. ?
If you'd like to program an application for Ubuntu, I suggest learning C++. Here's what you need:
Compiler: GCC
IDE: Code::Blocks
Tutorial
Last edited by cariboo; October 22nd, 2013 at 01:49 AM. Reason: Removed image and comment
Thx King Dude... Good Links....
Oh.. What is ubuntu complied with? my mistake
Ubuntu is a Linux kernel and a collection of applications. The kernel is mostly C., for the rest, I just collated some data from my workstation:
- 4800 executables files and 3700 libraries under /user. Libraries are likely C/C++(*)
- 2100 executables have a shebangn and are interpreted. The other 2700 are therefore binaries, likely C/C++(*).
- In these 2100, roughly one half are shell scripts (sh/bash/tcsh), one fourth are python, and one fourth are perl, and some various (ruby, awk, make...)
(*) of course I didn't check the source files..
Warning: unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Ubuntu is mostly compiled with GCC (the parts of it that are compiled, that is). Out of the box, it comes with interpreters for at least Perl, Python and awk. As well as this it has a shell (the bash shell).
I have no idea what Unity is written in, but I seem to remember it using lots of Python. This means that it runs without being compiled. The windowing server (the basic part of the graphical interface which talks to the kernel and the hardware) is written in C, and the kernel (Linux) is mostly written in C, with some Perl and shell scripts, if I remember correctly.
If you want to write a graphical application for Ubuntu, you can use any language which has bindings to the basic libraries of which ever desktop environment you have installed. Or you can just write for the XServer directly and bypass the desktop environment.
Confused? You should be.
I'd recommend starting out in python. There are some good tutorials for Ubuntu graphical application development in Python. You can start here: http://developer.ubuntu.com/resource...guages/python/
Good luck!
Unity is mostly C++:
http://www.ohloh.net/p/ubuntu-unity/...guages_summary
Bookmarks