LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-14-2013, 05:22 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
hpw to install Google Earth on Debian Wheezy


Hello, such a task i'd think would be answerable by a simple google search, but it seems not.
I've enabled multi-arch on my system already if that matters. I would like to run Google Earth on Debian Wheezy, but unfortunately i can't seem to see a preferred way of doing so. If i download the .deb from google earth's website, and try to install the deb with dpkg, i get the following,
Code:
google-earth-stable depends on ia32-libs; however:
  Package ia32-libs
With the 64 bit deb package, but since Wheezy supports multiarch, i'm presuming ia32-libs is a last option?
and,
Code:
pkg: error processing google-earth-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 google-earth-stable
with the i386 deb file.

How do i install Google Earth on a 64bit Debian Wheezy with Multi arch enabled?
Thank you.
 
Old 07-14-2013, 05:28 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
I think you do have to install ia32libs and it would probably help to install ia32libs-gtk as well.
 
Old 07-14-2013, 06:12 AM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
k3lt, thanks for the quick reply (go figure similar time zone), are you guessing or speaking from experience?
 
Old 07-14-2013, 08:27 AM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
The method that works the best for me right now (on Debian Sid 64 bit) is to install googleearth-package from the repositories, then run:

Code:
make-googleearth-package
and let it download and build the .deb.

In regards to the ia32-libs dependency, it's not needed anymore, but the GoogleEarth packagers leave it as a dependency for some reason I ignore. You can modify the deb package to ignore this dependency by extracting it and editing the 'control' file inside it:

Code:
mkdir google
dpkg-deb -R googleearth*.deb google
nano google/DEBIAN/control #locate the depends line and remove 'ia32-libs'
dpkg-deb -b google googleearth-custom_amd64.deb
dpkg -i googleearth-custom_amd64.deb
This will also save you some headaches in the future if apt-get attempts to remove the unneeded ia32-libs dependency.

A second option is to download the latest .deb directly from Google's website, modify it to remove the ia32-libs dependency (as above) and install it, but for some reason the latest version doesn't work in my system and gives me a weird error when I attempt to execute it from the terminal.

You can find more info in this thread (it's about Debian Sid, but might be worth reading too).

Last edited by Hungry ghost; 07-14-2013 at 12:10 PM.
 
2 members found this post helpful.
Old 07-14-2013, 12:06 PM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,132
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Since multi-arch, this is what my install tells me when I try to install ia32-libs:

Code:
root@siduxion:sources.list.d# apt-get -s install ia32-libs ia32-libs-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-i386
 ia32-libs-gtk : Depends: ia32-libs-i386
                 Depends: ia32-libs-gtk-i386
E: Unable to correct problems, you have held broken packages.
I have multi-arch enabled, and i386 added as an available architecture. I have no held packages. So if I need a 32 app, I need to apt-get install nameof32bitpackage:i386
 
Old 07-14-2013, 05:45 PM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by Knightron View Post
k3lt, thanks for the quick reply (go figure similar time zone), are you guessing or speaking from experience?
Using Gdebi to install Google Earth it tells me I need a huge number of dependencies, my install is very lightweight so thats the reason for that, but checking what dependencies it actually wants to pull in shows ia32libs. So from experience , gained after I posted last night, yes you do need it with an unmodified package.
 
Old 07-14-2013, 10:35 PM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Alright guys. Thanks for your help and suggestions. I've edited made my own google eath package with the make-googleearth-package command, and then edited the deps to remove ia32-libs. It is now installed and seems to be working fine without ia32-libs.
Thanks again
 
Old 07-22-2013, 03:41 PM   #8
rpr.nospam
LQ Newbie
 
Registered: Aug 2012
Location: Croatia
Distribution: Linux Mint Debian Edition x64
Posts: 4

Rep: Reputation: Disabled
Smile installing Google Earth on Debian Testing (jessie)

On Debian Testing (jessie) 64-bit with mutiarch I successfully installed Google Earth as suggested by odiseo77.

First, build the deb package:

Code:
# apt-get install googleearth-package
# make-googleearth-package
That created googleearth_6.0.3.2197+0.7.0-1_amd64.deb.

Extract the deb package to remove the dependence on ia32-libs-gtk (ia32-libs was not specified) and then build the custom deb package:

Code:
# mkdir ge
# dpkg-deb -R googleearth_*.deb ge
# editor ge/DEBIAN/control # locate the Depends line and remove ia32-libs-gtk
# dpkg-deb -b ge googleearth-custom_amd64.deb
Install the deb package (gdebi makes sure that additional dependencies are also installed):

Code:
# gdebi googleearth-custom_amd64.deb
-- rpr.
 
Old 11-17-2013, 04:11 PM   #9
rpr.nospam
LQ Newbie
 
Registered: Aug 2012
Location: Croatia
Distribution: Linux Mint Debian Edition x64
Posts: 4

Rep: Reputation: Disabled
how to install Google Earth on Debian x64 with multiarch

On Debian Testing (jessie) 64-bit with multiarch I successfully installed current stable Google Earth that can be downloaded from http://www.google.com/earth/download/ge/agree.html. The google-earth-stable_current_amd64.deb file has to be extracted and dependence on ia32-libs removed. Then the custom deb package is build and installed:
Code:
# mkdir ge
# dpkg-deb -R google-earth-stable_current_amd64.deb ge
# editor ge/DEBIAN/control # locate the Depends line and remove ia32-libs
# dpkg-deb -b ge googleearth-custom_amd64.deb
# gdebi googleearth-custom_amd64.deb
-- rpr.
 
Old 01-18-2014, 08:26 PM   #10
wsurfak
LQ Newbie
 
Registered: Jan 2012
Location: MA, USA
Distribution: Debian Sid
Posts: 11

Rep: Reputation: Disabled
Or to install original package:
Code:
dpkg --ignore-depends=ia32-libs -i google-earth-stable_current_amd64.deb
 
1 members found this post helpful.
Old 01-19-2014, 06:51 AM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by wsurfak View Post
Or to install original package:
Code:
dpkg --ignore-depends=ia32-libs -i google-earth-stable_current_amd64.deb
Thanks for that, I had been editing the .deb file before.
Now I want Google to provide a version of Google Earth that allows me to see the Panoramio photographs and/or a 64 bit version that doesn't crash twenty times before finally running. As it is I'm stuck with the 32 bit version and no Panoramio photographs.
 
Old 01-19-2014, 09:03 AM   #12
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Next time you use apt, apt will attempt to satisfy ia32-libs, or remove google earth, i do not suggest using the ignore-depends flag.
 
1 members found this post helpful.
Old 01-19-2014, 09:09 AM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Knightron View Post
Next time you use apt, apt will attempt to satisfy ia32-libs, or remove google earth, i do not suggest using the ignore-depends flag.
Thanks and noted.
 
Old 01-19-2014, 10:32 AM   #14
wsurfak
LQ Newbie
 
Registered: Jan 2012
Location: MA, USA
Distribution: Debian Sid
Posts: 11

Rep: Reputation: Disabled
Quote:
Originally Posted by Knightron
Next time you use apt, apt will attempt to satisfy ia32-libs, or remove google earth, i do not suggest using the ignore-depends flag.
I agree, better to make a custom deb package. Apologies for the hasty post, it's only a very temporary solution.

I've also been having instability in the current 7.1.2.2041-r0 version of Google Earth. The older 6.0.3.2197-r0 version from the "http://dl.google.com/linux/earth/deb/ stable main" repository seems to be stable on my Debian Sid amd64 machine, however I had to delete the library /opt/google/earth/free/libcurl.so.4 and install libcurl3:i386 to get the search (Fly to) function working. One could probably also rebuild the package without this library.
Code:
$ apt-cache policy google-earth-stable 
google-earth-stable:
  Installed: (none)
  Candidate: 6.0.3.2197-r0
  Version table:
     7.1.2.2041-r0 0
        100 /var/lib/dpkg/status
     6.0.3.2197-r0 0
        400 http://dl.google.com/linux/earth/deb/ stable/main amd64 Packages
$ apt-get download google-earth-stable 
Get:1 http://dl.google.com/linux/earth/deb/ stable/main google-earth-stable amd64 6.0.3.2197-r0 [23.6 MB]
 
Old 01-19-2014, 12:11 PM   #15
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Google earth is basically dead. The functionality has been put into Google Maps. Just go to Google Maps in your browser, and you have everything Google Earth used to have, and more.
 
  


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
[SOLVED] Problem running Google Earth in Debian Sid 64 bits Hungry ghost Linux - Software 18 12-13-2012 09:01 PM
[SOLVED] How can I install Google earth 5 yaarappa Linux - Software 54 03-05-2009 05:39 PM
google earth install rgreeves Linux - Software 8 11-15-2008 10:46 AM
How to install Google Earth Gins Linux - General 2 11-14-2008 03:11 AM
Problem Installing Google Earth on Debian maguila Linux - Newbie 1 02-25-2007 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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