How to install Google Earth on Debian Stretch?

4

3

after downloading from google the deb file I try:

dpkg -i google-earth-stable_current_amd64.deb

but it complains that lsb-core is missing. So I need that package, "which is a virtual package and is not provided by any available package". It looks like lsb-core has been removed from Debian Stretch.

Any hints?

Antonio Giungato

Posted 9 years ago

Reputation: 43

lsb-core is still available on Ubuntu (as at 15.04) and it may well install on Debian if you down-load the .deb file. You may also find this link helpful. – AFH – 9 years ago

Answers

5

Debian dropped LSB support, so lsb-core it's not in Debian >= Stretch anymore.

Update

As correctly noted by @tknv, some months after this answer a new lsb-compat has been made available. So the best solution to the problem is to install it:

sudo apt install lsb-compat

Tampering way (deprecated):

To have it working you also could:

  1. Modify the package metadata removing the lsb-core dependency
  2. Ensure the presence of ld-lsb ELF linker (once provided by lsb-core)

To do so you can:

  1. Follow the instructions already reported here
  2. Check the name of the ld-lsb ELF linker required (architecture dependent):

    ldd /opt/google/earth/free/googleearth-bin |grep ld
  3. Using the information gathered in 2, manually create the symlink. For 64-bit architecture the command is:

    sudo ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

    For 32-bit architecture I guess the correct command would be:

    sudo ln -s /lib/ld-linux-x86.so.2 /lib/ld-lsb-x86.so.3

Alessio Gaeta

Posted 9 years ago

Reputation: 211

The 32-bit version is actually: sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3 – Evan – 6 years ago

4

It worked with my Debian Stretch. Try:

sudo apt-get install lsb-compat

Info about the lsb-compat package

tknv

Posted 9 years ago

Reputation: 141

0

This is also the fix when bypassing the installer and extracting the deb. Then the very misleading error is:

bash: ./googleearth-bin: No such file or directory

It is not the google earth binary which is missing, but the specified loader ld-lsb-x86.so.3

finite graygreen

Posted 9 years ago

Reputation: 116

0

I am running Debian Stretch. I downloaded google-earth-pro-stable_current_amd64.deb, and I installed lsb-compat as described above, except sudo is not a command on my system. Instead I used the command su, and supplied the password.

su
apt-get install lsb-compat
cd Downloads
dpkg google-earth-pro_stable_current_amd64.deb

I can run it from a command line with the command google-earth-pro. But the view occupies just a tiny upper left corner of the available screen space. It is not very usable at this point, but it is installed.

Daddy Parker

Posted 9 years ago

Reputation: 1