LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo yum install (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-yum-install-4175441187/)

Adam10 12-12-2012 02:05 PM

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 ?

teckk 12-12-2012 02:09 PM

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.

teckk 12-12-2012 02:12 PM

Set up your repos so that you don't have dependency issues.
http://rpmfind.net/linux/rpm2html/se...pat-gcc-34-g77

Adam10 12-12-2012 02:23 PM

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

Adam10 12-12-2012 02:35 PM

How can I find the repos that the system is using ?

PTrenholme 12-12-2012 02:58 PM

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.)

chrism01 12-12-2012 05:18 PM

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.

DavidMcCann 12-13-2012 12:17 PM

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


All times are GMT -5. The time now is 09:37 PM.