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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-20-2012, 01:55 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3
Rep:
|
[ASK]How to learn Linux System Programming? Any Advice?
Hi, Sorry for my bad grammar.
I'm here to ask some advice to learn Linux System Programming, actually I was at programming world since 8 years ago with various programming languages at Win32. But since past few years I was migrate to Linux, and I quite confused with how can I learn how to program at Linux. I tried to open some Linux program source code like ls, cat and something like that, but I still can't understand. I asked this to several forums but the answer I got is like 'learn C' or 'Start with Python' actually I'm asking for the System Programming like Win API at Windows. Where I should start? And If you have any resource on that please share it.
Thanks for your help.
|
|
|
07-20-2012, 03:32 AM
|
#2
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
ls, cat, etc. are based on standard C library, so first is learning that. There is so many libraries, helping with programming (for ex. ncurses for controling terminal), that you just need to search what you want to achieve. If you looking for programming of graphical application (like Win API) you first need to choose which toolkit you want to use, main are GTK and Qt. I only known Qt, so if you choose that I suggest you to use QtCreator from nokia site (just download whole SDK for simplicity) or get it from your repository. This tool allow you to program console application too.
|
|
1 members found this post helpful.
|
07-20-2012, 03:59 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3
Original Poster
Rep:
|
Thanks eSelix, that's really helpful. Well I've another question, I Googled for some papers about C Standard Library, but most of them are just gave me bunch of functions, well actually I find it's quite hard to understand. Do you have some recommendation for some step-by-step tutorial how I can use those libraries, or some papers maybe.
|
|
|
07-20-2012, 04:34 AM
|
#4
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.
|
|
|
07-20-2012, 05:36 AM
|
#5
|
LQ Newbie
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by eSelix
Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.
|
Yes about those functions. About networking it's almost the same, and IO it's also indentical. But the others I mean, like fork() I never heard of it before. But I found some good stuffs and some papers by the way, for this kind of functions. Thanks for your advice about the library gave me pointer where I should search and what I should search on Google. Thank you very much.
|
|
|
All times are GMT -5. The time now is 08:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|