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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
I still get the same error. When I use which gcc it says...
/usr/bin/which: no gcc in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/Michelle/bin)
Actually /usr/bin/cc is provided by the gcc package, but installing gcc-c++ as suggested should have installed gcc as dependency. What is the output from the following?
[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.
How do I access a file in my user desktop from the root?
The directions are to fully root the terminal with su - then run a command chmod 700, and a file path to this bootstrap system.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.