The objective is to install Google Earth on Ubuntu 18.04 Bionic Beaver Linux desktop

Operating System and Software Versions

  • Operating System:- Ubuntu 18.04 Bionic Beaver
  • Software:- Google Earth 7.3 or higher

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Instructions

Install Prerequisites

We will be using gdebi to install the Google Earth package on our system. gdebi ensures that there are no hassles during the installation as it will also automatically fetch all package prerequisites. In case gdebi is not installed yet on your system you can install it by: $ sudo apt install gdebi-core wget

Download Google Earth Package

Next step is to download Google Earth installation package. You can achieve that by using the wget command: $ wget https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb After execution of the above command you should find Google Earth's installation package within your home directory: $ ls google-earth-pro-stable_current_amd64.deb google-earth-pro-stable_current_amd64.deb

Install Google Earth

Lastly, use the gdebi command to install Google Earth on Ubuntu 18.04. When prompted answer y: $ sudo gdebi google-earth-pro-stable_current_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Reading state information... Done Explore, search and discover the planet Google Earth lets you fly anywhere to see satellite imagery, 3D buildings, 3D trees, terrain, Street View, planets and much more. Do you want to install the software package? : y

Start Google Earth

To start Google Earth application you can either run: $ google-earth-pro from your terminal or search your start menu:

Is a virtual globe that lets you travel anywhere sitting right in front of your desk. You can explore any place on earth (even in 3D) and also beyond earth. You can explore the surface of Moon and Mars, and explore the stars in the night sky.

One of our readers has informed us that he’s facing difficulties installing Google Earth on his Ubuntu 16.04 system. So, here we are with the installation guide for Google Earth on Ubuntu 16.04.

Installing Google Earth in Ubuntu 16.04

There was a time Linux distros were for nerds. They almost always had to type a bunch of commands to get various things done. But over the years, with the contribution of people all over the world,those days are gone. Now we are able to do almost everything from the graphical interface. But for those who feel more comfortable in terminal windows (count me in), we’ve included command-line installation guide as well.

Install Google Earth via GUI

Preparation

  • First of all, make sure the package database is up-to-date. Run this command in terminal:
    sudo apt update
  • For a smooth installation experience, install GDebi :
    sudo apt install gdebi

Installing Dependencies

The reason installing Google Earth on is somewhat troubling is that some of the packages it needs as dependencies are not available on Ubuntu 16.04 official repository. So, first we have to install them manually:

Installing Google Earth



Install Google Earth via Command-line

Fire up a terminal window and run these commands one after another:

# for 64 bit systems

Cd /tmp mkdir google-earth && cd google-earth wget http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-invalid-mta_4.1+Debian11ubuntu8_all.deb wget http://archive .ubuntu.com/ubuntu/pool/main/l/lsb/lsb-security_4.1+Debian11ubuntu8_amd64.deb wget http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-core_4.1 +Debian11ubuntu8_amd64.deb sudo dpkg -i *.deb sudo apt -f install wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb sudo dpkg -i google-earth- stable*.deb

# for 32 bit systems

cd /tmp mkdir google-earth && cd google-earth wget http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-invalid-mta_4.1+Debian11ubuntu8_all.deb wget http://archive .ubuntu.com/ubuntu/pool/main/l/lsb/lsb-security_4.1+Debian11ubuntu8_i386.deb wget http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-core_4.1 +Debian11ubuntu8_i386.deb sudo dpkg -i *.deb sudo apt -f install wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb sudo dpkg -i google-earth- stable*.deb

And there you are with Google Earth installed on your Ubuntu 16.04.

Any more trouble?

Are you facing any trouble using Linux or need any tutorials? You can always on or contact us on our

After a rather long break, I again came across a link where you can download Google Earth for Linux. Last time, an attempt to install and run it was unsuccessful due to the driver for the video card in the laptop, but now I have a good desktop, and I also seem to have figured out the laptop, so I decided to repeat the adventure. And having completed this quest, I decided to write a note for beginners, it won’t be superfluous in the vastness of the network.

For distributions on Debian database Ubuntu

If the distribution you have is based on Debian or Ubuntu, then consider yourself lucky, as there is an easy way, which is as follows:

  1. Adding the medibuntu repository, for example, with the following command: sudo echo "deb http://packages.medibuntu.org/karmic free non-free" >> /etc/apt/sources.list
  2. Import a key, for example, with the command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0C5A2783
  3. Installation, for example, with the command: sudo aptitude install googleearth

Note. To work on amd64 architecture you may need to install it on the system additional packages, they are not specified in the dependencies. I had to install ia32-libs and ia32libs-gtk.

There shouldn't be any problems with fonts. If appearance doesn’t suit you, you can try to launch it by launching in one of the “styles”:

googleearth -style cleanlooks
googleearth -style plastique

For other distributions

  1. Download installation file follow this link
  2. We make the file executable, for example, with the command chmod a+x GoogleEarthLinux.bin
  3. We launch the installer, for example, with the command sh ./GoogleEarthLinux.bin
  4. When installing for the first time, you can specify the installation directory, I installed in ~/.local/google-earth/ and to create the link I chose the path ~/bin/. This directory must be created in advance if it does not exist. By the way, it’s very convenient to store your scripts there.

A test run immediately after installation showed the presence of such a problem: the inscriptions in Russian were not displayed, instead of text there was some kind of indistinct mess of gray dots, and the inscriptions in English were displayed in some terrible font. After searching for a solution to the problem on the Internet, I realized what was going on.

And the thing is that installed program Google Earth includes the Qt4 library, this was apparently done for the purpose of allowing users to install the program without having Qt4 installed on the system. In my opinion. It would be better for them to indicate this in the dependencies, but the owner is a gentleman. In general, the included Qt4 library causes problems with the program interface. Usage system libraries- a wiser decision, at least in this case.

Troubleshooting interface and font problems

It is necessary to install the following packages, the rest, if missing, should be pulled up according to dependencies (although I didn’t have to install anything, I use a lot different programs to qt): qt4-qtconfig libqt4-webkit

Next, you will need to replace the files in the directory where Google Earth is installed with the appropriate symbolic links. First, do backup copy. This assumes that you are running a terminal emulator and are in the directory where the program is installed, in my case it is /home/leonder/.local/google-earth.

mkdir backup
cp libQt* backup
ln -fs /usr/lib/libQtCore.so.4 .
ln -fs /usr/lib/libQtNetwork.so.4 .
ln -fs /usr/lib/libQtGui.so.4 .
# The following line applies only to i386 systems. if you have a dual-core processor (amd64 architecture), then do not perform this.
ln -fs /usr/lib/libQtWebkit.so.4 .

After this, problems with the interface should be resolved. To celebrate, if anyone doesn’t know, you can fine-tune the interface with the program qtconfig.

The next problem is that photos from the panoramio service do not open. This also happens due to the fault of the included libraries, or rather the qt4 plugins. In order for photos and pictures to be displayed on Wiki, you should replace a couple more files with links:

cd /plugins/imageformats
ln -fs /usr/lib/qt4/plugins/imageformats/libqgi f.so .
ln -fs /usr/lib/qt4/plugins/imageformats/libqjp eg.so .

Tested on three computers, on all Debian squeeze. On the first one installed debian for i386 architecture, fluxbox, and on the second and third ones - amd64, KDE4. Important note: libQtWebkit.so.4 should not be replaced with amd64 - the program will no longer run. As a result, panoramio functions will most likely not work and Wikipedia pages will be without pictures. Over time, let's hope the developers will fix this...