Fedora - InstallationThis forum is for the discussion of installation issues with Fedora.
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.
Hi. I am new to Linux. So my questions would be very silly for you all. Sorry about that...
- I have Fedora Core 3 installed on my machine and i have downloaded and copied 4 SRPM cd's. How am i going to install these 4 cd's to Fedora?
- I have a temp.c file that is;
#include <iostream>
int main()
{
printf("hello, world");
return 0;
}
on terminal when i compile it with gcc -g -Wall -o temp temp.c i get
hmw.c:1:20: iostream: No such file or directory
hmw.c: In function `main':
hmw.c:12: warning: implicit declaration of function `printf'
How can i fix this problem ? I think it is true...
Thanks Lot...
You can mount the CD's individually, change into the directory where the srpms are located and install them manually e.g.
#rpm -Uvh *srpm
will install them all. I also think you can use apt, add the CD's as your sources.
You need to install libstdc++-devel, which provides the C++ Standard Library headers. And for C++, use the g++ compiler from the gcc-c++ package. But your file is named like a C file, hence this is confusing anyway.
Quote:
hmw.c: In function `main':
hmw.c:12: warning: implicit declaration of function `printf'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.