LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-15-2007, 12:25 PM   #1
huno
Member
 
Registered: May 2002
Distribution: Slackware 9.1
Posts: 161

Rep: Reputation: 30
linux programming how to .


hi people .
i'm beginner in linux programming .
i'm writing this thread, needing an advise .
how can i learn linux programming . i know C/C++ programming but i see the linux programming is different .

advise me . where should i start to learn linux programming . give me some tut, books . or anything will help me to become a linux programmer .

thanks
 
Old 02-15-2007, 01:14 PM   #2
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
C is pretty much the same across the board. A good book is "The C Programming Language" by the creaters of C.
 
Old 02-15-2007, 03:33 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What do you need exactly? System programming (threads, drivers etc), GUI?
 
Old 02-15-2007, 07:42 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Samoth, I think the main challenges for programmers coming from other platforms are:
  1. Unfamiliar tools - editors, compilers, documentation tools.
  2. Unfamiliar libraries - GUI frameworks are usually a big one, but many others.
  3. Unfamiliar system - stuff like filesystem layout (only one root in the filesystem?!), how to go about talking to devices, conventions about where to put files, permissions etc.

I'm sure there are more.

For the tools, it depends what you're used to (big fancy IDEs, lightweight editor/compiler combos). If you tell us what you would like, we can suggest some Linuxy alternatives.

For libraries you are spilt for choice - we have very many of the. Pay attention to licenses. If you're starting a project with the intention of distributing it, you should find out what terms a license will put on that before you start coding! For GUI frameworks, there are two 800 lb gorillas in he open source world. QT and GTK. QT is C++, GTK is C, but there is a C++ wrapper called GTKmm. Both have bindings to higher level languages such as python. Have a play with both. My personal preference is for QT. There are others worth investigating too
- if you ask here you'll get loads of suggestions.

As for learning how Linux does stuff, the best advice is to use it as your main OS, and find out how it works. Use the manual pages. They have a format which looks slight odd to start with, but they are often a very concise and rich source of information. The manual is our friend. There are of course a great many forums, chatrooms, FAQs and tutorials on the net to help you.

</twopence>
 
Old 02-16-2007, 09:43 AM   #5
huno
Member
 
Registered: May 2002
Distribution: Slackware 9.1
Posts: 161

Original Poster
Rep: Reputation: 30
thank you very much .
i want to be software programmer in linux . in which i want to be an expert in linux programs programming . how can i ?
give something , where i will start . give me tut , site , name of books . or something which will help me to learn .
thank you very much
 
Old 02-16-2007, 12:48 PM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by huno
thank you very much .
i want to be software programmer in linux . in which i want to be an expert in linux programs programming . how can i ?
give something , where i will start . give me tut , site , name of books . or something which will help me to learn .
thank you very much
That's really rather vague. What sort of stuff?
 
Old 02-16-2007, 12:51 PM   #7
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
the key to learning anything new. http://google.com

after that, books.. good authors bruce eckel, scott meyers, herb sutter. searh on those guys and what you find will lead you to other good books as well.

finding this stuff on your own is the important thing. asking for links and books repeatedly will only get you ignored. again, refer to the key thing that i mentioned first.
 
Old 02-16-2007, 02:01 PM   #8
huno
Member
 
Registered: May 2002
Distribution: Slackware 9.1
Posts: 161

Original Poster
Rep: Reputation: 30
thank you .
i'm not asking repeatedly .
but i want good beginning to study programming . then i can understand and do as much as i can . to be what i want to be .
thank you for your information .
thanks people .
someday you will see some of my projects . i hope so .
 
Old 02-16-2007, 02:20 PM   #9
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
> i'm not asking repeatedly .

http://www.linuxquestions.org/questi...84#post2631984
http://www.linuxquestions.org/questi...83#post2633183

good luck with the searching

edit> here is an arrow since i misread your post and gave you authors that are not linux specific

search for
the art of unix programming

Last edited by xhi; 02-16-2007 at 02:24 PM.
 
Old 02-18-2007, 09:37 AM   #10
mihirsevak
LQ Newbie
 
Registered: Feb 2006
Location: Florida, USA
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
Linux programer

huno,
to a beginner i would recommend 2 things.
1. get in a habit of reading man pages.
2. Linux Programming by example by Arnold Robins.
this is a good start up book. Will give you enough idea about
what linux programming is all about.

feel free to ask any questions...
 
  


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
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:57 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