ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I realize that this question has been asked in various ways.
I have NO, 0, null experience in programming and I have just switched to Linux. I have decided to try to learn to program. I have read a lot of threads on this site and I think that either C++ or Python seem to be the best at this stage. I know that opinion varies but I think those are the choices that I will stick to. I have taken the advice on the books and looked over all of the sites that were posted already, I don't want to beat a dead horse.
My question is: What tools do I need for C++ and/or Python? What tools are needed in general?
Once I know what they are I can find them on my own, and the information related to them.
kdevelop, vim, and gvim are some good editing programs. make shure you have the GNU compiler on your machine (i.e. gcc,g++). just type "gcc" and hit enter to see if you do. if not you can find it on the cds you used to install linux. the biggest thing though is to check to see if you have python since thats general not a common install. just type python in a terminal to see if thats installed too.
You should also decide do you want to write console or X11 programs. If you just started off, and just wanna learn, console applications will be fine. As chewysplace said, you need 2 things: text editor to write code in ( consider gvim, emacs ( perhaps bit hard for a begginer ), joe, nedit ... I'm happy with gvim ), and a compiler ( gcc ).
For documentation you have lots of great sites, some c and cpp books on www.bxteam.org/knjige.php
I would suggest python. C++ might overwhelm you, if you're begining. However, if your of the "throw me in the deep end so I can truly learn to swim" school of thought, then you might choose C++ it's up to you.
Python should be installed on your machine. type 'python' to find out.
python can be programmed line by line, or used in a text editor.
python.org will help you out ALOT.
Oh: and may I suggest that you learn html? *dodges rotten fruit thrown by angry members*
I suggest you sould start from the language a good book is easier to get
KDevelop has a plus, because it handles Makefiles for you (it makes your projects more compilicated, on the other hand). For first programs you can use any simple editor you like (but not OpenOffice.org, somehing just for plain text).
To sum up, what you need:
- a good editor
- gcc (if you decide to start from C/C++, should be installed)
- python (if you decide to start with Python, but it should be already installed)
- KDevelop , just to try it