Google Earth deb64 - (non Lib32) Installation 2014
Posted: 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.
It would be great if a non lib32 dependence version of Google Earth was added to the software repository as standard.
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.
It would be great if a non lib32 dependence version of Google Earth was added to the software repository as standard.