View Full Version : C/C++ Installation in F15
rajeev15
13th June 2011, 06:13 AM
Hello,
I have installed Fedora15 desktop with Win 7. I have installed jdk in F15 & now need to install C/C++ compiler.
Should I download compiler externally or is it available in F15? If its available request your guidance to install.
Thanks,
Rajeev
tox
13th June 2011, 06:27 AM
su
yum install gcc
rajeev15
13th June 2011, 08:32 AM
Thanks. But I received error like below,
[root@Rajeev /]# yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@Rajeev /]#
tox
13th June 2011, 09:06 AM
did you try a
su
yum clean all
yum install gcc
rajeev15
14th June 2011, 06:31 AM
hmm!! Error!! here is the output,
[root@Rajeev /]# yum clean all
Loaded plugins: langpacks, presto, refresh-packagekit
Cleaning repos: fedora updates
Cleaning up Everything
0 delta-package files removed, by presto
[root@Rajeev /]# yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
Please verify its path and try again
[root@Rajeev /]#
geleimate
14th June 2011, 06:36 AM
Sorry for suggesting the obvious, but are you connected to the internet?
If yes, repositories might just be down. I don't know about scheduled downtimes, though.
rajeev15
14th June 2011, 08:18 AM
no I cannot connect to internet through my linux desktop as problem is with ISP.
So have to install it as standalone. is there anything that I can download through Windows & then install in F15?
geleimate
14th June 2011, 08:48 AM
I cannot connect to internet through my linux desktop as problem is with ISP.What do you mean? I have never seen such Internet connection that couldn't be used with Linux, but fixme.
You should try to fix that (what's the actual problem?) because not having access to the repositories via yum makes things very complicated. In theory, it is possible to download files from the repository from Windows too, but grabbing dozens of packages is nasty.
DBelton
14th June 2011, 02:40 PM
I totally agree with geleimate. I haven't seen any internet connection that couldn't be used with linux, either. Unless your ISP requires a proprietary interface to connect, and there isn't a linux version. Even then, you could possibly get some type of connect.
BTW, why are F15 problems being posted in the rawhide thread? I thought rawhide is what is going to be F16 now. :confused:
marko
14th June 2011, 04:10 PM
no I cannot connect to internet through my linux desktop as problem is with ISP.
So have to install it as standalone. is there anything that I can download through Windows & then install in F15?
The best route would be to take your install dvd and set it up to be a local repository. Search the forum for:
local dvd repository
or something sensibly like that. The idea is you make a repo definition file in /etc/yum.repos.d that corresponds to a mount point in your dvd disk. Mount the disk and you can treat the dvd just like a repository and install your gcc from it.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.