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 get an error when I try to use a makedata file that was provided to me, using Linux terminal.
[Michelle@localhost HW05]$ make makedata
cc makedata.c -o makedata
make: cc: Command not found
make: *** [makedata] Error 127
Do I need to install a compiler, or is there something in the file that needs to be corrected? Maybe in the command line?
I have Linux RedHat guest on Windows host running through VirtualBox. Any ideas on what I should do with this? If I need to install a compiler, can you suggest one that is easy to install? The one that I tried to install before was only 79MB, and was taking too long to install, more than 30 minutes.
[Michelle@localhost HW05]$ yum list 'gcc*'
Loaded plugins: rhnplugin, security
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories. Error: No matching Packages to list.
Also, rpm -qa gcc* does nothing, it just goes down to another line.
[Michelle@localhost HW05]Also, rpm -qa gcc* does nothing, it just goes down to another line.
This means that no gcc package has been installed on your system (and most likely it hasn't got any C compiler at all). Instead the yum error is clear: You must run this command as root to access RHN repositories. Therefore, please switch to root and try to install gcc again:
I got an error the system is not registered with RHN. Could it have something to do with running on VirtualBox? I downloaded this version from my school website, so I know it is ok to use. the full error when i use you list 'gcc*' is
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Error: No matching Packages to list.
When I run you install gcc gcc-cc++ gcc-gfortran
The error is similar
It also includes:
Setting up Install Process
Parsing package install arguments
No package gcc available.
No package gcc-cc++ available.
No package gcc-gfortran available.
Nothing to do.
Does the school website provide instructions about the system activation? Most likely they have purchased an academic license but every single system should be activated in order to access the Red Hat Network repositories. Maybe asking to the IT team of your school should clarify. They should provide an activation key somehow.
In both cases the last statement is to execute the file: the difference is that in the former you use a relative path (relative to the current working directory) whereas in the latter you use the absolute path of the file.