LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02: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, 02:09 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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, 02:12 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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, 02: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, 02: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, 02:58 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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 03:01 PM.
 
Old 12-12-2012, 05:18 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 12:17 PM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

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


Reply



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

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

All times are GMT -5. The time now is 06:06 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