26

I want to install Google-Earth & it requires ia32-libs. So, I did apt-get install ia32-libs but error pops as:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

How can I install ia32-libs?

Parto
  • 15,647
Newbuntu
  • 263

6 Answers6

34

This is only a workaround until Google Earth is repackaged.

Google Earth Build Package

  1. Download Google Earth x64 .DEB
  2. Open Terminal, Copy & Paste Following Command And Press Enter

    sudo apt-get install libc6:i386 lsb-core
    
  3. Open Downloads Folder

  4. Right Click On Google Earth .deb package & Select Extract Here
  5. Open the folder where files are extracted.
  6. Open the DEBIAN Folder
  7. Open the control file with gedit
  8. Remove this whole Line: Depends: lsb-core (>= 3.2), ia32-libs
  9. Now Click Save, & Exit Control File
  10. Now Delete The Original Google Earth .DEB Package You Downloaded

  11. Create A Folder called getfix, Now Move The Extracted Google Earth Folder Into The getfix Folder

Now we Are Going To Rebuild The Google Earth .deb Package:

  1. Open Terminal, copy/paste the following command then press Enter:

    dpkg -b ~/Downloads/getfix/google-earth-stable_current_amd64
    
  2. Copy/paste the following command (this will install the repackaged .deb)

    sudo dpkg -i ~/Downloads/getfix/google-earth-stable_current_amd64.deb
    
kiri
  • 28,986
scouser73
  • 4,344
19

For Ubuntu 13.10/14.04/1404.1 64 bit installs

sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 \
libglu1-mesa:i386 libgl1-mesa-glx:i386 libxext6:i386 \
libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core

For Ubuntu 14.04.2 image 64 bit installs (when using the 14.04.2 image you get the mesa-lts-utopic stack so one package is different, ie. libgl1-mesa-glx-lts-utopic:i386

sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 \
libglu1-mesa:i386 libgl1-mesa-glx-lts-utopic:i386 libxext6:i386 \
libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core

Then get the current i386 package & install it - http://www.google.com/earth/download/ge/agree.html

doug
  • 17,212
2

At the time of writing this answer all the methods described here didn't work. However I installed the 32 bit version and it worked fine on 64 bit 13.10 Kubuntu. It seems that the Google Earth package is 32 bit after all and it uses the ia32libs to make it run on 64 bit. Hope this helps

A.B.
  • 41
1

After extracting .deb package, I cannot find the Debian folder, so not editing to modify contents line, much less rebuilding the package etc... this is a bit too complicated for non geeks.

Why not simply obtain the 32 bit stable package?:http://www.google.com/earth/download/ge/agree.html

as explained here in ubuntuforums: http://ubuntuforums.org/showthread.php?t=2183733

That worked for me :)

pgradone
  • 11
  • 1
1

This problem has been fixed in Debian Jessie/Sid, since it's not synced with Saucy/Raring I uploaded the fixed versions to googleearth-package PPA:

https://launchpad.net/~absinthesyringe/+archive/googleearth-package

1

Just install the 32 bit version. It works fine. Here is my reference https://help.ubuntu.com/community/GoogleEarth

dooderson
  • 121
  • 2