LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-21-2006, 07:21 PM   #1
aagha
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
yum install for gcc-c++ doesn't work


I'm trying to get g++ installed on my FC4 box using yum, but for some reason, I'm not making any progress:

Code:
[root@localhost mythtv]# yum install gcc-c++
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc-c++
Nothing to do
Any ideas on what might be wrong?

I try to get info on it:

Code:
[root@localhost mythtv]# yum info gcc-c++
Setting up repositories
atrpms                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
And search:

Code:
[root@localhost mythtv]# yum search gcc-c++
Searching Packages:
Setting up repositories
Reading repository metadata in from local files
No Matches found
But no luck.
 
Old 04-21-2006, 09:20 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
What repos do you have enabled?
 
Old 04-22-2006, 07:24 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Quote:
What repos do you have enabled?
I got the same problem of g++.

My repos are
1) Core
2) Development
3) Dries
4) Extras
5) Freshrpms
6) Kde
7) Livna
8) Macromedia
9) Updates
 
Old 04-22-2006, 08:06 AM   #4
aagha
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Spooon, sorry for my ignorance, but can you tell me how I can find out what repos I have enabled?
 
Old 04-23-2006, 09:35 AM   #5
aagha
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Alright, I think this is the list of repos I have:

Code:
[mythtv@localhost yum.repos.d]$ ls -l
total 48
-rw-r--r--  1 root root 120 Apr 21 19:49 atrpms.repo
-rw-r--r--  1 root root 115 Apr 21 19:50 dag.repo
-rw-r--r--  1 root root 159 Apr 21 19:51 dries.repo
-rw-r--r--  1 root root 106 Apr 21 19:51 flash.repo
-rw-r--r--  1 root root 311 Apr 21 19:51 kde-redhat.repo
-rw-r--r--  1 root root 118 Apr 21 19:51 livna.repo
 
Old 04-23-2006, 04:22 PM   #6
aagha
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I finally gave up on yum and just used apt-get:

# apt-get update
# apt-get install gcc-c++
 
Old 10-14-2010, 08:46 AM   #7
Germanico
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Just slip the OS install CD in and try with yum,

# yum install gcc-g++
 
  


Reply

Tags
yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
Where do i install gcc to get apache to work? linuxnoob7 Linux - Software 4 03-28-2005 12:25 PM
Minimal install of FC3: cannot get wget and yum update to work. gregf50 Linux - Newbie 5 03-16-2005 09:33 AM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 05:11 PM
slackware 9 what packages do i have to install to make my gcc work zeroversion Linux - Software 1 11-26-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration