Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-19-2005, 01:14 AM   #1
Registered: Jun 2004
Distribution: live cd
Posts: 87

Rep: Reputation: 15
Unhappy How to learn programming in linux

hello all,

i am totally computer newbie and donīt know anything about programming in any languages....

but i have enger to learn and interested in developing program.

please inform me about the way to get started it differient between windows programming and unix ??

do i have to spend lot of money doing so.

Old 04-19-2005, 01:29 AM   #2
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
I would say start with basic C. If you have Linux you already have a C compiler.
Here's where I started... A CUJ magazine.

Try ASM too. That's really fun!!!

Old 04-19-2005, 02:55 AM   #3
Harmaa Kettu
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
Re: How to learn programming in linux

Here is a newbie-friendly tutorial. It uses java, but the basics are very similar in C or perl.

Quote: it differient between windows programming and unix ??
Micro$oft tries to make it different by inventing their own "standards". You can ignore them and use cross-platform libraries like gtk and SDL instead.

do i have to spend lot of money doing so.
No, all you need is a good text editor (like nedit, bluefish or setedit) and a compiler. Perl and gcc come with every Linux distro, and java SDK can be downloaded from
Old 04-19-2005, 04:19 AM   #4
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
all you need is a good text editor
(like emacs )
and a compiler
... or interpreter, should you choose an interpreted language.

I would suggest python ( for a first programming language; it's *really* easy to learn, and usable in the real world too. Once you have an understanding about what programming is about, you will easily pick up any other language.

I think perl has too many arbitrary special cases (files have their own namespace, you can't assign a regex to a variable (afaik)). With C, you have to understand too many low-level details(*). Java is just too big.

(*) However, I recommend that once you've grasped python, you learn C asap. Most programs in GNU/Linux are written in either C or C++. Once you've learned C, learn C++ too. Good books:

How to think like a computer scientist (learning with python) (by FIXME--Probably not Guido van Rossum, the inventor)
The C Programming Language (by and aka `K&R' -- the inventors)
The C++ Programming Language (by Stroustrup -- the inventor)
The C++ Annotated Reference Manual (aka `ARM', by Stroustrup (iirc))

No matter what you choose for your editor and your language, I wish you luck & joy


PS. I'd also suggest that you at some point learn some basic bash scripting (see (maybe) Advanced Bash Scripting Guide). Enough to understand this at least:
for i in `seq 1 100`; do wget$i.html; done

Last edited by jonaskoelker; 04-19-2005 at 04:25 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Learn linux programming under windows beep_beep Linux - Software 5 05-26-2005 08:12 AM
Best Way to Learn Linux Programming MrPeanut Linux - Newbie 2 07-20-2004 02:49 PM
want to learn programming but not sure where to start SurferRoxyChiq Programming 6 01-14-2004 01:08 PM
where i can i learn perl programming halovivek Programming 5 09-22-2003 12:33 PM
Want to learn programming. ddpicard Programming 3 11-09-2001 02:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration