Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th October 2012, 04:43 PM
aacs90 Offline
Registered User
 
Join Date: Oct 2012
Location: Nicaragua
Posts: 3
linuxfedorakonqueror
GOOGLE repository

Hi there,

I have been a windows user ever since i can remember and i have always wanted to give linux a try. I have used ubuntu before but a friend recommended me fedora.

Anyways i partitioned my laptop and now i have Windows 8 and Fedora 17 x64 running on my computer.

The installation was succesful but i have been having a hard time updating and installing repositories. HAve tried multiple online tutorial on post installation.

I want to install the google repository but so far i havent been able to.
This is what i did:


wget https://dl-ssl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub

Then i ran this to verify the installation. So far so good.
rpm -qi gpg-pubkey-7fac5991-*

Then it said, To manually verify an RPM package, you can run the command:
rpm --checksig -v packagename.rpm
but when i ran this it said it couldnt find such package.

there was supposed to be a google.repo file on etc/yum.repos.d but there is none.

So i tried to manually put it there by creating a file named google-chrome.repo on same folder with this in it:
[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

but when i try to save the file it says i do not have permission to do that.
I right clicked yum.repos.d, clicked on properties and then permissions. Added a new user, "aacs90" and allowed permissions to create and modify files, clicked on apply and accept. Tried to save the file once again but the same thing happened, not enuff permission.

But even before all this, i tried downloading chrome from google's website. I selected 64bit..rpm(Fedora/opensuse), clicked on accept and install and then it just keeps loading(?) but nothing happens.

I would appreciate any help you guys can give,

alan C
Reply With Quote
  #2  
Old 15th October 2012, 08:32 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
unknownunknown
Re: GOOGLE repository

First remove whatever you have done, then download Chrome 64-bit for Fedora from www.google.com/chrome , then install it (just double-click the file and packagekit should install it) and it will automatically set its repo.

edit- I see now you've tried it already. It should've worked but we will workaround that issue by installing it manually.
Open the terminal emulator (konsole), browse to the folder where the rpm is (use cd command), login as root (su command then password), and then run
Code:
yum install google-chrome<tab>

Last edited by secipolla; 15th October 2012 at 08:36 PM.
Reply With Quote
  #3  
Old 15th October 2012, 09:43 PM
aacs90 Offline
Registered User
 
Join Date: Oct 2012
Location: Nicaragua
Posts: 3
linuxchrome
Re: GOOGLE repository

Thanks for your help SECIPOLLA, it worked perfectly
Reply With Quote
  #4  
Old 15th October 2012, 10:49 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: GOOGLE repository

Quote:
Originally Posted by aacs90 View Post
Hi there,

I have been a windows user ever since i can remember and i have always wanted to give linux a try. I have used ubuntu before but a friend recommended me fedora.

Anyways i partitioned my laptop and now i have Windows 8 and Fedora 17 x64 running on my computer.

The installation was succesful but i have been having a hard time updating and installing repositories. HAve tried multiple online tutorial on post installation.

I want to install the google repository but so far i havent been able to.
This is what i did:


wget https://dl-ssl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub

Then i ran this to verify the installation. So far so good.
rpm -qi gpg-pubkey-7fac5991-*

Then it said, To manually verify an RPM package, you can run the command:
rpm --checksig -v packagename.rpm
but when i ran this it said it couldnt find such package.

there was supposed to be a google.repo file on etc/yum.repos.d but there is none.

So i tried to manually put it there by creating a file named google-chrome.repo on same folder with this in it:
[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

but when i try to save the file it says i do not have permission to do that.
I right clicked yum.repos.d, clicked on properties and then permissions. Added a new user, "aacs90" and allowed permissions to create and modify files, clicked on apply and accept. Tried to save the file once again but the same thing happened, not enuff permission.

But even before all this, i tried downloading chrome from google's website. I selected 64bit..rpm(Fedora/opensuse), clicked on accept and install and then it just keeps loading(?) but nothing happens.

I would appreciate any help you guys can give,

alan C
I see you have Chrome running but it would still be good for you to know why this didn't work. All the "wget ..." command did was download the google public key. The "rpm --import" then read that key file off the disk and loaded it into the rpm key database.
That has nothing to do with the Chrome program at all other than locally loading google's encryption key for verifying their software when you do get it.

Quote:
rpm --checksig -v packagename.rpm
but when i ran this it said it couldnt find such package.
If I understand this (literally) this failed because they really meant for you to substitute the package name for "packagename.rpm", you shouldn't have literally typed "packagename.rpm". I suspect they meant:
Quote:

rpm --checksig -v google-chrome-stable.rpm
or whatever particular name it has (of course this is also leaving out the actual step of downloading the google chrome rpm file). Even this doesn't install Chrome, it just tests the gpg key you imported earlier to confirm the rpm file is valid (not hacked, replaced or corrupted)

secipolla's suggestion of installing the rpm file off disk also works but actually using a repository is better, that way you'll see updates and be able to update via "yum update". There's a Fedora "chromium" repository, Chromium is similar to Chrome, it's the same starting code base but Chromium is a bit more open source. This explains how to use the Fedora Chromium repository:

http://fedoraproject.org/wiki/Chromium

using a repository is better because you'll see and be able to get updates as they occur.
Reply With Quote
  #5  
Old 16th October 2012, 04:26 AM
aacs90 Offline
Registered User
 
Join Date: Oct 2012
Location: Nicaragua
Posts: 3
linuxchrome
Re: GOOGLE repository

Quote:
Originally Posted by marko View Post
I see you have Chrome running but it would still be good for you to know why this didn't work. All the "wget ..." command did was download the google public key. The "rpm --import" then read that key file off the disk and loaded it into the rpm key database.
That has nothing to do with the Chrome program at all other than locally loading google's encryption key for verifying their software when you do get it.

If I understand this (literally) this failed because they really meant for you to substitute the package name for "packagename.rpm", you shouldn't have literally typed "packagename.rpm". I suspect they meant:or whatever particular name it has (of course this is also leaving out the actual step of downloading the google chrome rpm file). Even this doesn't install Chrome, it just tests the gpg key you imported earlier to confirm the rpm file is valid (not hacked, replaced or corrupted)

secipolla's suggestion of installing the rpm file off disk also works but actually using a repository is better, that way you'll see updates and be able to update via "yum update". There's a Fedora "chromium" repository, Chromium is similar to Chrome, it's the same starting code base but Chromium is a bit more open source. This explains how to use the Fedora Chromium repository:

http://fedoraproject.org/wiki/Chromium

using a repository is better because you'll see and be able to get updates as they occur.
Actually i tried downloading chrome from the default browser(konkeror) but after clicking on Accept and Download the thingy would just stay there, rotating as if it was loading in order to download. I had done that proccess before but still couldnt get it to download.
So i tried Downloading it from my cellphone and it worked!

The only thing is that on the mean time i was still trying through the command line and if i recall correctly, this did the trick:

yum localinstall --nogpgcheck -y https://dl.google.com/linux/direct/g...ent_x86_64.rpm

after that it started downloading the files and then i accesed to Yum Extender to download Chrome from the repo installed.


I cant believe i had such an obvious mistake and couldnt see it!
"packagename.rpm"

Thanks for showing me my mistake.

BTW, perhaps i should open a new thread for this but im missing all the command shortcuts i used to use on Windows such as Windows + E would open the file manager or Windows + D to minimize all windows or Windows + left or right to move a windows to the side.
Could you direct me to a thread or post as i have had no luck so far.
I though i'd be able to modify or create such shortcuts on the Standard Keybord Shortcus on the System Settings but there's no option for that.

thx in advance
Reply With Quote
  #6  
Old 16th October 2012, 11:38 AM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: GOOGLE repository

Quote:
Originally Posted by marko View Post
secipolla's suggestion of installing the rpm file off disk also works but actually using a repository is better...
When we install the rpm it automatically sets the Chrome repo.

---------- Post added at 07:38 AM ---------- Previous post was at 07:34 AM ----------

Quote:
Originally Posted by aacs90 View Post
BTW, perhaps i should open a new thread for this but im missing all the command shortcuts i used to use on Windows such as Windows + E would open the file manager or Windows + D to minimize all windows or Windows + left or right to move a windows to the side.
Could you direct me to a thread or post as i have had no luck so far.
I though i'd be able to modify or create such shortcuts on the Standard Keybord Shortcus on the System Settings but there's no option for that.

thx in advance
In KDE's system settings (right there on your menu) you have everything you need. Explore it (it has a lot of options) and search for the keyboard shortcuts.
There are the ones that are already set for the window manager (for instance to move/minimize windows) and there are the ones you can set to launch apps (like to launch file manager Dolphin).

It may look a bit complicated because of all the settings it has but breath deeply and go slowly and you'll find out.

edit - BTW, KDE has a forum of its own and it can be helpful: http://forum.kde.org/
It has its online documentation too.

I also found this unofficial forum: http://kde-forum.org/index.html

Last edited by secipolla; 16th October 2012 at 11:41 AM.
Reply With Quote
Reply

Tags
google, repository

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i Emma4406 Using Fedora 9 30th January 2012 06:31 PM
install google chrome - no google.repo file jimiwa Using Fedora 1 2nd October 2010 08:35 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: wellassa-linu nebo5000 Using Fedora 1 12th July 2010 03:57 AM
Google Chrome on Fedora 12, repository issues Fahim Using Fedora 3 30th March 2010 10:07 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Pleas tmick Using Fedora 3 24th August 2008 07:52 PM


Current GMT-time: 04:25 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat