 |
 |
 |
 |
| F16 Development This section archived once F16 reached final release. |

13th June 2011, 06:13 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: India
Posts: 4

|
|
C/C++ Installation in F15
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
|

13th June 2011, 06:27 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: C/C++ Installation in F15
su
yum install gcc
|

13th June 2011, 08:32 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: India
Posts: 4

|
|
Re: C/C++ Installation in F15
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 /]#
|

13th June 2011, 09:06 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: C/C++ Installation in F15
did you try a
su
yum clean all
yum install gcc
|

14th June 2011, 06:31 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: India
Posts: 4

|
|
Re: C/C++ Installation in F15
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 /]#
|

14th June 2011, 06:36 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Hungary
Posts: 56

|
|
|
Re: C/C++ Installation in F15
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.
|

14th June 2011, 08:18 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: India
Posts: 4

|
|
|
Re: C/C++ Installation in F15
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?
|

14th June 2011, 08:48 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Hungary
Posts: 56

|
|
|
Re: C/C++ Installation in F15
Quote:
Originally Posted by rajeev15
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.
|

14th June 2011, 02:40 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: C/C++ Installation in F15
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.
|

14th June 2011, 04:10 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: C/C++ Installation in F15
Quote:
Originally Posted by rajeev15
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:51 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|