Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is Linux programming

Status
Not open for further replies.

thannara123

Advanced Member level 5
Joined
Jan 7, 2010
Messages
1,579
Helped
122
Reputation
244
Reaction score
114
Trophy points
1,353
Location
India
Activity points
10,375
what is Linux programming ?
why more people jumps to Linux programming ?
what is the advantage of Linux programming ?
i want to study it ?
how can i start it ?
is there any simple tutorials for it ?
 

Linux is an operting system, not a programming language. It is like DOS, OSX and Windows, a platform from which you launch other programs.
Linux is free so costs are lower, most distruibutions include assemblers and/or compilers as standard so you can write your own programs without additional tools.
There are hundreds of web sites with tutorials on how to use it and almost every distribution has it's own help forum.
Get hold of a copy to try it, I suggest Ubuntu **broken link removed** because it is probably the most popular and best supported version. You download it and copy it to CD or USB stick then boot from it. Your existing files are not touched while in 'live' mode and if you are happy with it you can install it alongside of, or instead of your existing OS. If you don't like it, just remove the CD and reboot.

Brian.
 
bro, assuming you are asking this for Linux Programming reagrding embedded systems only .i.e. Embedded Linux or RTLinux...(there is Linux System Programming also --for application development in linux platform)....
bcz. Linux Programming is not a specific term as it contains various things such as "Device drivers",system programming etc etc.. (gui based app. development based on GT/Qt)

I myself started learning the same two months back and currently learning the "Linux device drivers"....
I didnt bother why people learn it or moving towards it(am in 2nd year only..with a very little knowledge about the industry or market) but one thing which is clear to me is that "why I wanted to learn something like this"?
the point of interest was::

once i wanted to integrate my own made embedded devices to get controlled through a central thing like my mobile or a gadget
ex-interfacing my gadget with gsm, making it wifi enabled, blutooth, camera module, rf inside my building,gps enabled and all the things that a mobile fone can do(with a much better implementation)...

imagine the situation:your single gadget is behaving like a phone, connected to wifi, can act as remote for your t.v., can display wat it see in a player using the camera and many other thingssss.!!!!!!!!!!

I also thought is that "am I able to control a set of leds on my embedded board through a software on my pc"??????
answer with a lot of other questions in my mind::yeah, i can do it,, but how will i connect it with computer through serial port/usb or make some sort of card connected to my motherboard etc etc..

how the data will flow through the data wires on usb, how will i manage to send data to it i.e. the protocols etc..
when I bought a my samsung Galaxy and i was not able to use it(using pc suite i.e. samsung kies) on Linux(backtrack) but on windows it was working gud, just bcz.they didnt make it for Linux platform...i.e.
again the point is "the introduction of my samsung galaxy's hardware and the linux system kernal has not been done" it doesnt recognises my device that time...

so how this can be done???????(kies for linux is even not yet made...though people simulate it using different methods) .....
making your embedded device having an touchscreen lcd, and when you touch a button,,,, wifi is enabled,,how??
enabling an wifi-- it is not just an on off instead it encapsulates all the work that can be using wifi
i.e.somehow u have managed to make the wifi module to work with your embedded system and do all the wifi capable things..ex- usage of internet,lan etc etc...
so,,
these sort of questions provoked me to learn to make the protocols for making these devices to work with my embedded system... so the term is "device drivers"

WHY LINUX programming??(with embedded systems)
bro for this, there are heavy amount of articles on internet...telling you why and how to use linux only....
in short-(as what i think)
it is the most primitive and the most powerful thing that can let you to do all the interactions with hardware easily
it is open source,easily available
best online communinity for linux kernel
since source code is available so you can modify it as per your need which is not in case of windows and other distributions

application areas-- setup boxes are coming with preinstalled linux kernel, socket programming has a lot wide area of work, your android is the biggest example (google it out bro..)

and yes,, there are a hell lot of tutorials available on "internet"(I dont think any thing of one's interest is not available on internet..bcz. m not the first person to think or curious for it.. thousands of people have already tried and done work on it) .....


and moreover if you gt a little bit clearer about the topic of your concern in Linux Programming then only I can say for other things.....
 
You can use any language. If you hate Java though then you definitely will not be able to use C. So for you I'd say stick to Python. I believe python is installed by default on ubuntu.

Just use any text editor (gedit) to write some code and run it. Python tutorials will get you started on this. If you want to move to games there is pygame for python.
 

You can also try to install lazarus on linux. Lazarus is open source pascal ide for programming. You can do visual programming with lazarus. Its also can be install on ubuntu or others linux.
 

Thannara123, Linux is not a programming language but an operating system kernel. Although "Linux" is often used to refer to a Linux-based system, like betwixt said. So "Linux programming" can mean a lot of things:


  • Modifying the Linux kernel itself.
  • Creating device drivers for Linux-based systems.
  • Programming low-level system libraries.
  • Programming games or application programs that run on Linux-based systems.
  • Using a Linux-based system for programming tasks.
  • ??? (etc)

And Linux-based systems come in a wide variety, on a wide range of devices (from small home internet routers and mobile phones to Top-500 supercomputers). So what you'd need would depend entirely on what we're talking about... I suggest you read some more about what Linux is, and ask some more detailed questions once you have a better view and idea of what area(s) you'd like to get into.

One of the strengths of Linux-based systems is that they're very programmer-friendly, both for modifying the system itself, and for using the system for programming tasks. There are other advantages, again: this depends entirely on what you'd want to use it for.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top