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.
I tried to install gcc for linux. I need make in order to build gcc but I don't have make install. I ve tryed to install make and but when i ./configure it comes out with
configure: error: no acceptable C compiler found in $PATH
You are going to have to get a precompiled gcc. You see, gcc is the compiler that you want in order to compile your compiler. So not having one on your system right now means you are locked out. You will have to install the developement packages from your distribution. They will include a compiler *of course once it is installed, do you really want to compile another one?
From one uber-newb to the next, I'll try to help ya with this one. I needed gcc on a fresh install of MDK 10 last night. I'm trying to remember all that I did - maybe another cup of coffe will help
*please correct me if I'm wrong!*
1. su to root
2. at the prompt, type urpmi gcc
It may ask you to install other dependent programs - do so. You might need to pop in an install CD...can't quite remember. If I can recall, this is all ya need to do. The RPM will install itself and all will be good.
RPMs are precompiled packages - and the 'urpmi' function will find the packages for you, AND all dependent progs. It's quite easy once you get the hang of it.
Yes, but urpmi is a Mandrake tool. No distro is specified here, but I can imagine you are using SuSE 9.1 Personal, which lacks these tools, or have made an install and selected not to install programming tools. With SuSE, it should be possible to obtain them with Yast or by finding a relevant mirror. So: What is your distribution?
i downloaded the free vertion of suse 9.1
ive checked on YaST under install and remove software and there is a number of c libraries and a c preprocessor installed and under online update i cant find GCC as an option to download at from a few servers that ive tried
When you install from YaST, do you do a search for gcc? If not then go ahead and do a search for a gcc package. Then click on accept. This will check on dependencies for you and it should let you install the dependencies, which in this case would be the libraries.
There's no gcc included in SuSE Personal 9.1.
Try first logging in as a root and then install. Check /var/log/Yast2 directory, Yast places there installation logs, maybe you'll find an error in one of these.
ive finaly got an rpm of gcc installed but the the headder files like iostream.h arnt recognised the gcc only has a c compiler not a c++i thought that gcc came with both. ive tryed to install a c++ rpm but the same thing keeps happening just as its about to install Yast closes down