LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-12-2012, 03:05 PM   #1
Adam10
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
Red face sudo yum install


I am trying to "yum install compat-gcc-34-g77".
I am getting :
No package compat-gcc-34-g77 available.
Error: Nothing to do

Can anyone help ?
 
Old 12-12-2012, 03:09 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,878

Rep: Reputation: 253Reputation: 253Reputation: 253
yum is telling you that compat-gcc-34-g77 is not in the repositories that you have set up.
You haven't said what you are using, RedHat, Centos, Fedora.
 
Old 12-12-2012, 03:12 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,878

Rep: Reputation: 253Reputation: 253Reputation: 253
Set up your repos so that you don't have dependency issues.
http://rpmfind.net/linux/rpm2html/se...pat-gcc-34-g77
 
Old 12-12-2012, 03:23 PM   #4
Adam10
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks Teckk this is the version of my linux. Can I download the rpm and apply it how can I do it ?
Which rpm to download and use with my linux.

Linux version 2.6.32-131.17.1.el6.x86_64
 
Old 12-12-2012, 03:35 PM   #5
Adam10
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
How can I find the repos that the system is using ?
 
Old 12-12-2012, 03:58 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
That package is in the Fedora 17 repository. If you're using Fedora, ls /etc/yum.repos.d/ will list all your repositories, and if you're using yum you can do a yum repolist to see something like this:
Code:
$ yum repolist
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit, remove-with-leaves, rpm-warm-cache
fedora/group_gz                                                                                    | 351 kB  00:00:00     
google-chrome                                                                                                         3/3 
repo id                                                repo name                                                    status
*fedora/18/x86_64                                      Fedora 18 - x86_64                                           33,881
*fedora-debuginfo/18/x86_64                            Fedora 18 - x86_64 - Debug                                    6,290
*fedora-source/18/x86_64                               Fedora 18 - Source                                                0
google-chrome                                          google-chrome                                                     3
rpmfusion-free/18/x86_64                               RPM Fusion for Fedora 18 - Free                                 454
rpmfusion-free-updates/18/x86_64                       RPM Fusion for Fedora 18 - Free - Updates                         0
rpmfusion-free-updates-testing/18/x86_64               RPM Fusion for Fedora 18 - Free - Test Updates                   27
rpmfusion-nonfree/18/x86_64                            RPM Fusion for Fedora 18 - Nonfree                              226
rpmfusion-nonfree-updates/18/x86_64                    RPM Fusion for Fedora 18 - Nonfree - Updates                      0
rpmfusion-nonfree-updates-testing/18/x86_64            RPM Fusion for Fedora 18 - Nonfree - Test Updates                39
updates/18/x86_64                                      Fedora 18 - x86_64 - Updates                                      0
updates-debuginfo/18/x86_64                            Fedora 18 - x86_64 - Updates - Debug                              0
updates-source/18/x86_64                               Fedora 18 - Updates Source                                        0
repolist: 40,920
(The ones with a 0 in the last column are ones I do not have currently enabled.)

Last edited by PTrenholme; 12-12-2012 at 04:01 PM.
 
Old 12-12-2012, 06:18 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
This
Code:
Linux version 2.6.32-131.17.1.el6.x86_64
shows you've got a kernel for 'el6' ie RHEL6 or a derivative thereof eg Centos.
Try
Code:
cat /etc/*release*
to get the distro name+ver.

As above
Code:
yum repolist
is also a good idea.
 
Old 12-13-2012, 01:17 PM   #8
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,680

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
It is in the CentOS repository: see here
http://pkgs.org/search/?keyword=comp...82&arch=64-bit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
yum install lib getting fails yum install lib* leads to install 1050 dependency pkg LittleMaster Linux - Server 3 10-29-2012 02:14 AM
[SOLVED] sudo yum via proxy doesnt resolve hosts but can is run as root crawshaws Linux - Newbie 1 08-15-2012 01:02 PM
Issues when running 'sudo yum update' veeruk101 Linux - Newbie 2 10-19-2011 06:13 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
yum install PHP: yum tries to install duplicate httpd beebopbogo Linux - Software 1 05-26-2009 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration