Google Earth deb64 - (non Lib32) Installation 2014

Questions about applications and software
Forum rules
Before you post please read this

Google Earth deb64 - (non Lib32) Installation 2014

Postby growly on Thu Mar 20, 2014 9:08 am

Google Earth Fix - LMD 64 and ubunto 64 [You can substitute file names etc to do the same with the 32 bit version]

I had problems installing Google earth 64 in Linux Mint Debian - it functions fine without the Lib 32 dependencies.
Choosing to force an install - the file it will work but will still be seen by the software managers as a broken file.
If you install any software later using Synaptic or the software manager after forcing, It will flag up as a broken package and will not update anything on your system until Google Earth is removed again with synaptic. Also installing new software packages will automatically uninstall Google Earth again.

The following is the easiest way I found to do it properly after reading many posts, a lot of posts were over my head initially so I have included in this article with manual GUI tools too, in case you do not get on completely with terminal editing.

Here is the fix and instructions collected from many places in these posts but written in my own words - hope it saves you time and frustration.
Remember to use the "sudo" command before some of these (inserting a space after) if it says you do not have permission. You will then be asked for your superuser password before execution of the terminal commands.
--------------------
Manually click on your linux File System folder and then the folder tmp
Then find and activate terminal screen.

Terminal window:
cd /tmp
then
wget -c http://goo.gl/hZQ6K -O google-earth-stable_amd64.deb
It links directly to the stable 64 linux version on google earth site This file will now be downloaded into your system tmp dir

Terminal window:
mkdir ge
then
dpkg-deb -R google-earth-stable_current_amd64.deb ge This teminal command extracts the contents of the downloaded package folders to the ge directory

or: instead of using terminal, you could extract the downloaded .deb to ge directory within tmp using right click mouse and archive manager selecting the temp/ge directory as the destination.

Go into system "tmp/ge/debian" right click and open the control file with text editor and remove the lines ", ia32-libs" after “the depends line” in the control file. (Save this file)

Go back to Terminal: (ensure you are in tmp directory) # cd /tmp

dpkg-deb -b ge googleearth-custom_amd64.deb this is where the folders and the modified control file are that came from the original .deb file
then type
gdebi googleearth-custom_amd64.deb

This terminal command will take the contents of the tmp/ge folder and re-build a .deb package from the contents naming it "googleearth-custom_amd64.deb"


There will now be a file called “googleearth-custom_amd64.deb” in the system/tmp directory. Save this file for future use and install Google Earth freshly from this custom file. (In the future you can re-install from this custom file or build a new one after downloading from Google earth).

After installation of googleearth-custom_amd64.deb using package manager

If the google earth start up link does not show up anywhere in your computer (like my pc) you can create it very easily like this.

right click on desktop select - create a new launcher here
Name: Google Earth
Command: /opt/google/earth/free/googleearth
click ok

To create the Icon right click on the newly created desktop launcher, select Properties and click on the springboard icon in basic properties.
Browse: “File System /opt/google/earth/free/googleearth” and select the Product_logo_64.png icon
Job done. :D

It would be great if a non lib32 dependence version of Google Earth was added to the software repository as standard.
growly
Level 1
Level 1
 
Posts: 1
Joined: Thu Mar 20, 2014 7:28 am

Linux Mint is funded by ads and donations.
 

Re: Google Earth deb64 - (non Lib32) Installation 2014

Postby TheObserver on Sun May 25, 2014 1:02 pm

Thank you for this easy to understand explanation.
I had difficulties to install earth since using LMDE.
Your guide looked promising but it didn't work for me.
I did it the same exact way you described. Still, google earth just shows the "Earth Logo" and crashes a second later.

I'm really wondering that no one who would be in the position to fix the issue is doing anything. After all, this software is used by a majority of users and on almost every device these days.
Since LMDE- in the Software Manager, there seems to be no way to just click and install googleearth anymore.... -and it used to be so simple.
User avatar
TheObserver
Level 2
Level 2
 
Posts: 64
Joined: Wed Mar 06, 2013 4:41 am

Re: Google Earth deb64 - (non Lib32) Installation 2014

Postby filozofio on Sat May 31, 2014 2:49 am

I have LMDE 64 bits. This is how it worked for me:

I had already done this:

Code: Select all
sudo dpkg --add-architecture i386


Then:

Code: Select all
sudo apt-get install googleearth-package


Code: Select all
make-googleearth-package


This created a package named "googleearth_6.0.3.2197+1.1.0-1_amd64.deb" in my home directory.

I tried to install it with GDebi, but it said that I had broken packages. The I run:

Code: Select all
sudo apt-get update -f


to repair all broken packages.

After that, Google Earth was installed and working properly.
User avatar
filozofio
Level 1
Level 1
 
Posts: 30
Joined: Thu Apr 14, 2011 2:31 am

Re: Google Earth deb64 - (non Lib32) Installation 2014

Postby TheObserver on Tue Jul 08, 2014 7:40 am

I did the steps filozofio mentioned before and earth works again!
I did not have to repair any packages though... I just ran the commands and started earth normally.

Today I am able to use google-earth on Mint the first time in month without crashing :)
Thanks a lot for your help!!!
User avatar
TheObserver
Level 2
Level 2
 
Posts: 64
Joined: Wed Mar 06, 2013 4:41 am

Re: Google Earth deb64 - (non Lib32) Installation 2014

Postby filozofio on Tue Jul 08, 2014 10:27 am

I am glad that it worked!
User avatar
filozofio
Level 1
Level 1
 
Posts: 30
Joined: Thu Apr 14, 2011 2:31 am

Re: Google Earth deb64 - (non Lib32) Installation 2014

Postby sdibaja on Thu Jul 17, 2014 12:08 pm

I should have looked here first.

a slightly different method that just worked for me:

Code: Select all
sudo apt-get install googleearth-package alien lib32nss-mdns libfreeimage3 lsb-core ttf-mscorefonts-installer pax rpm ttf-dejavu ttf-bitstream-vera
make-googleearth-package --force
sudo dpkg -i googleearth*.deb
sudo apt-get install libcurl3:i386
sudo apt-get -f install
Peter E
sdibaja
Level 2
Level 2
 
Posts: 63
Joined: Sun May 08, 2011 12:57 pm
Location: BC, Mexico


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 3 guests