Linux - NewbieThis 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!
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.
Wondering if anyone can recommend freeware useful for learning C programming (V99). I see that some people use something called Ubuntu, but I'm not sure what that is. (It seems to be a complete OS).
I'm using WindowsXP Pro on a pc, and don't want to replace the OS. I currently am using a trial version of VMWare Player, which is the type of system I'd like to duplicate, as my trial period is running out.
I guess I need a compiler, with gcc, and whatever else that is necessary.
Any recommendations would be appreciated
im currently taking a class on C. our professor likes students to use http://sourceforge.net/projects/dev-cpp/ Dev-C++ it is a free tool that provides all of the libraries and compiler for C that you will need to use in MS Windows.
I personally just use my iMac with gedit to program, but if you are not able to run Linux or dont own a Mac, Dev-C++ will work just fine for you.
took a look at the sourceforge product, and its very dissimilar to what I've been using, but looks adequate after I learn to use it. Is there any 'terminal' displayed with this product?
How do I access GDB?
Wondering if anyone can explain what the difference is between a product like this and a "Virtual Machine", such as VMWare provides.
Code Blocks provides a very nice ide, and, if you are on Windows you can download it with a compiler so everything just works. I use it on my Windows boxes. Great way to lear and free software: Get it at CodeBlocks website
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
To answer the question about virtual machines: A virtual machine is exactly what it sounds like -- it's a computer created in software that can run an operating system like Linux or Windows within an already running operating system.
How are you using VMWare player? If you just want a free version of that then VirtualBox may work for you though I hear it can be a little slower than VMWare.
Just IMHO, but to me nothing trumps having just Linux installed to practice/learn C. I recommend you find a secondary computer which you don't use much and then put either Ubuntu, SUSE, or MINT on it. Make sure you have gcc installed, which most of them do.
Why do I say this? Couple of reasons:
The environment is all there, the compiler (gcc) and the debugger (gdb)
Library calls which you need reference on, such as memcpy, strcmp, printf, and so forth are easily accessible via the man pages
All system resources are easily accessible; such as /dev/ttyS0, and so forth, try to find the COM port on Windows when you don't know which one it is and you'll rapidly find that not programming from within Microsoft's libraries is a huge problem using their OS
You can compile one file using one command, a call to gcc; from the command line. No GUI, no "projects", and so forth, I've seen how daunting it can be to just want to compile one lousy file in Visual Studio. Sure a console project is the simplest there, but they probably create 20 support files just to do that. Very wasteful for small stuff, but to give them a bit of recognition, I do program in VS for MS GUI applications, and do prefer that over other stuff meant for Windows UI development.
I understand that ubuntu can be installed in a Window OS. Do you know anything about this, particularly as to whether it might cause problems with the apps that are already installed. As I have only one pc (with no plans to get another) this might be the best solution in terms of what you advise.
Download the ISO for whatever distribution you want to use, install VirtualBox, set up a VM with the RAM and number of processors you want to give it, give it the ISO file location, install the OS inside the VM, and then you're done.
This is only feasible if you have enough computer resources (namely RAM) to facilitate running two OSs simultaneously.