LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2014, 09:32 AM   #1
Robert Chiu
LQ Newbie
 
Registered: Jan 2014
Location: Shenzhen China
Posts: 25

Rep: Reputation: Disabled
How could I install google chroma in CENTOS 6.3?


Dear folks:

I am trying to install google chroma in CENTOS 6.3, but failed. any guys who can give some help?

I add the following information in /etc/yum.repos.d/CentOS-Base.repo, and the run "sudo yum install google-chrome-stable".
[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

The reslus is:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again
 
Old 01-18-2014, 09:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you just go to http://dl.google.com/linux/rpm/stable/x86_64 in a browser, you'll see it's not there at all.

there are centos builds and repos elsewhere for chromium, maybe use that http://people.centos.org/hughesjr/chromium/6/

although in general there's a good chance you're using centos in a way it's not intended to be if you want Chrome on it. CentOS is really for servers, not desktops. It's not meant to be running this kind of software on a regular basis.
 
1 members found this post helpful.
Old 01-18-2014, 12:49 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
on 6.3 you basically don't
6.3 is unsupported and the software repos moved to the historical archive "the Vault "
Please upgrade to CentOS 6.5 first
Code:
su -
yum --releasever=6.5 upgrade
Quote:
I add the following information in /etc/yum.repos.d/CentOS-Base.repo,
you NEVER NEVER NEVER !!!!! add third party sites to the base repo!!!!
-- NEVER !!!!---

you add the .repo file to the files in the folder by installing it

so after you install or upgrade to 6.5 ( centos 6.3 is a dead and unsupported version )

do this
( this is NOT the normal way to install a software repository ! but there is no rpm to install it )
Code:
su -
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
yum install chromium

see the CentOS forums
https://www.centos.org/forums/viewtopic.php?t=6570
and the REDHAT documentation
CentOS 6 uses the redhat documentation and guides now
https://access.redhat.com/site/docum...erprise_Linux/

mind you keep in mind that the redhat documentation ASSUMES that you are VERY experienced with redhat type operating systems

Last edited by John VV; 01-18-2014 at 12:52 PM.
 
1 members found this post helpful.
Old 01-19-2014, 12:21 AM   #4
Robert Chiu
LQ Newbie
 
Registered: Jan 2014
Location: Shenzhen China
Posts: 25

Original Poster
Rep: Reputation: Disabled
Appreciate your kind reply which is really helpful...I still confused that the reason why i need to upgrade 6.3 to 6.5. Chrome is unsupported in CentOS 6.3?

Following your instruction , I am trying to update the centOS, but still fail . The details is the following:
[root@AY1312280620257702e0Z ~]#
[root@AY1312280620257702e0Z ~]# yum --releasever=6.5 upgrade
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
[root@AY1312280620257702e0Z ~]#
==================================================================================================== ======================

Quote:
Originally Posted by John VV View Post
on 6.3 you basically don't
6.3 is unsupported and the software repos moved to the historical archive "the Vault "
Please upgrade to CentOS 6.5 first
Code:
su -
yum --releasever=6.5 upgrade

you NEVER NEVER NEVER !!!!! add third party sites to the base repo!!!!
-- NEVER !!!!---

you add the .repo file to the files in the folder by installing it

so after you install or upgrade to 6.5 ( centos 6.3 is a dead and unsupported version )

do this
( this is NOT the normal way to install a software repository ! but there is no rpm to install it )
Code:
su -
cd /etc/yum.repos.d
wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
yum install chromium

see the CentOS forums
https://www.centos.org/forums/viewtopic.php?t=6570
and the REDHAT documentation
CentOS 6 uses the redhat documentation and guides now
https://access.redhat.com/site/docum...erprise_Linux/

mind you keep in mind that the redhat documentation ASSUMES that you are VERY experienced with redhat type operating systems
 
Old 01-19-2014, 12:27 AM   #5
Robert Chiu
LQ Newbie
 
Registered: Jan 2014
Location: Shenzhen China
Posts: 25

Original Poster
Rep: Reputation: Disabled
With the your help , I am trying to use the following command to download the software, but seems still fail. What should I do ?
I am trying to use Linux more in my personal life including desktop function, in the way , I hope I can learn more linux knowledge. For this reason, I am starting to install web software in my linux system. Does that make sense?

[root@AY1312280620257702e0Z ~]# cd /etc/yum.repos.d/
[root@AY1312280620257702e0Z yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Vault.repo
CentOS-Base.repo_bak CentOS-Media.repo google-chrome.repo
[root@AY1312280620257702e0Z yum.repos.d]# wget http://people.centos.org/hughesjr/ch...omium-el6.repo
--2014-01-19 14:25:02-- http://people.centos.org/hughesjr/ch...omium-el6.repo
Resolving people.centos.org... failed: Name or service not known.
wget: unable to resolve host address ?.eople.centos.org?
[root@AY1312280620257702e0Z yum.repos.d]#


==================================================================================================== ============================
Quote:
Originally Posted by acid_kewpie View Post
if you just go to http://dl.google.com/linux/rpm/stable/x86_64 in a browser, you'll see it's not there at all.

there are centos builds and repos elsewhere for chromium, maybe use that http://people.centos.org/hughesjr/chromium/6/

although in general there's a good chance you're using centos in a way it's not intended to be if you want Chrome on it. CentOS is really for servers, not desktops. It's not meant to be running this kind of software on a regular basis.
 
Old 01-19-2014, 12:45 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
did you REALLY make a " CentOS-Vault.repo"
and did you READ then REREAD that WARNING
this is the place holder for the 6.3 repo file in the cent mirrors

Quote:
This directory (and version of CentOS) is depreciated. For normal users,
you should use /6/ and not /6.3/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 6.3
level, go to http://vault.centos.org/ for packages.

Please keep in mind that 6.0, 6.1, 6.2 and 6.3 no longer gets any updates, nor
any security fix's.

did you really point to the "http://vault.centos.org/6.3 " historical archive ?

the list of files in the "etc/yum.repos.d/" is of little help
this would be better
Code:
su -
yum repolist all
this will output a list of ALL repos that are in the database and it they are turned ON or OFF



that error in the above post is pointing to 6.5
but you look to have things hard coded to 6.3 ( and the historical archive version )

there is no "vault" rpm for you to have installed the "CentOS-Vault.repo"
you had to have manually created that

remove it
make sure that ONLY CentOS-Base and CentOS-update are turned on
they of course are USELESS in that they point to dead links

also that yum plugin "fastestmirror" normally causes more problems that it solves
you might want to remove it ( right now it is looking for the dead centos 6.3 mirrors)
Code:
su -
yum remove fastestmirror
it might have a bit of a different name "yum-fastestmirror"
so look for it in the rpm database
Code:
rpm -qa | grep fastestmirror
if all of the above fails
manually remove ALL the *.repo files in that folder and
install this centos 6.5 rpm
( there are 3 ways to upgrade )
the way i posted a few posts above
and installing the upgraded repo list
this rpm below
http://ftp.osuosl.org/pub/centos/6.5...1.1.x86_64.rpm
in firefox click on the above link
and select "install" from the list of things to do with it
( yes you can install software rpm's through firefox)

then
Code:
su -
yum upgrade

Last edited by John VV; 01-19-2014 at 12:57 AM.
 
Old 01-19-2014, 01:03 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,700

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Quote:
.I still confused that the reason why i need to upgrade 6.3 to 6.5. Chrome is unsupported in CentOS 6.3?
centos 6.3 is DEAD !!!!!
it will NEVER receive any updates
( and chrome will NEVER GET UPDATED !!!!!! )

no security updates will get installed
no new software will be able to be installed
and you will be WIDE OPEN to EVERY KNOWN AND NOW FIXED SECURITY HOLE
AND OPEN TO EVERY TO BE FIXED SECURITY HOLE THAT WILL BE FIXED


the NOW fixed 147 java holes will NEVER BE FIXED IN 6.3
no new fixed java holes will be fixed in 6.3

6.3 is DEAD!!!
 
Old 01-19-2014, 01:56 AM   #8
Robert Chiu
LQ Newbie
 
Registered: Jan 2014
Location: Shenzhen China
Posts: 25

Original Poster
Rep: Reputation: Disabled
Got it . I am trying to use 6.5 from now on .

one more question: Is 6.4 also a dead version ? Just 6.5 is alive ?

Quote:
Originally Posted by John VV View Post
centos 6.3 is DEAD !!!!!
it will NEVER receive any updates
( and chrome will NEVER GET UPDATED !!!!!! )

no security updates will get installed
no new software will be able to be installed
and you will be WIDE OPEN to EVERY KNOWN AND NOW FIXED SECURITY HOLE
AND OPEN TO EVERY TO BE FIXED SECURITY HOLE THAT WILL BE FIXED


the NOW fixed 147 java holes will NEVER BE FIXED IN 6.3
no new fixed java holes will be fixed in 6.3

6.3 is DEAD!!!
 
Old 01-19-2014, 02:07 AM   #9
Robert Chiu
LQ Newbie
 
Registered: Jan 2014
Location: Shenzhen China
Posts: 25

Original Poster
Rep: Reputation: Disabled
I just install opera web browser in order to visit internet. but still fail.
I ping 8.8.8.8 , the connection is good. So I start to update the following DNS file:
[root@AY1312280620257702e0Z software]# cat /etc/resolv.conf
# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
nameserver=8.8.8.8
nameserver=8.8.4.4
#DNS2=8.8.4.4
#DOMAIN=lab.foo.com bar.foo.com

and then : service network restart

After that , I still can not visit internet... I still can not reach the internet server.

[root@AY1312280620257702e0Z software]# ping www.baidu.com
ping: unknown host www.baidu.com
[root@AY1312280620257702e0Z software]#
 
Old 01-19-2014, 01:25 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
6.3 isn't "dead"
6.4 isn't "dead"

6 is all that's dead or alive, and the .x sub versions are merely baselines of updates. 6.2 with updates applied is the same as 6.0 with updates applied and the same as 6.4 with updates applied. They are all 6.5. It's a single continuum, you shouldn't regard them as different versions.
 
  


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
LXer: Xiph.Org Daala Update On Chroma Plane Prediction LXer Syndicated Linux News 0 10-24-2013 03:41 AM
google-chrome-stable-28 will not install on CentOS 6.4 x86_64 walterbyrd Red Hat 38 08-10-2013 12:32 PM
Chroma Key Video Software baronobeefdip Linux - Software 1 06-13-2013 08:46 PM
HOW Merge a video mask green chroma with other video? wolfox Linux - Software 1 09-20-2012 12:46 PM
google chrome and centos 5.5 apolinsky Linux - Enterprise 8 10-29-2010 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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