[SOLVED] hpw to install Google Earth on Debian Wheezy
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by Knightron
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.
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
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):
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.