Archives For Google Earth

This simple tutorial shows how to install Google Earth Pro or Enterprise Client in Ubuntu 22.04 step by step.

Today we can use Google Earth easily in web browser or mobile phone. For those still need a desktop app, Google’s official apt repository provides the .deb packages for Debian/Ubuntu Linux.

1. Setup the key:

To add the Google Earth repository, you need to first install the key so your Ubuntu will trust the package from that repository.

To do so, press Ctrl+Alt+T on keyboard to open terminal and run the command below:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

Type user password (no asterisk feedback) for sudo authentication. And skip the ‘apt-key is deprecated’ warning output. It still works and the most efficient way so far to add keys in Ubuntu 22.04.

2. Add Google Earth repository:

After setup the key, run the command below will add the Google Earth apt repository into your system:

sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

This command will create google.list file under ‘/etc/apt/sources.list.d’ directory, and write the line “deb [arch=amd64] http://… main” (without quotes) into that file.

3. Install Google Earth

Finally, refresh system package cache via command:

sudo apt update

And, then install the application by running command:

sudo apt install google-earth-pro-stable

You may replace google-earth-pro with google-earth-ec for Enterprise Client

After installation, search for and launch it from ‘Activities’ overview screen and enjoy!

Remove Google Earth and its repository

After installed the package, it setup the apt repository again so you’ll get duplicated warning next time you run apt update.

To fix it, launch “Software & Updates” and remove one of the sources under “Other Software” tab.

Or remove all of them if you don’t want to get updates from the repository any more.

And to remove the Google Earth package, run the command below in terminal (Ctrl+Alt+T):

sudo apt remove google-earth-*-stable

That’s all. Enjoy!

How to Install Google Earth in Ubuntu 17.04

Last updated: April 23, 2017

This quick tutorial is going to show you how to install the latest Google Earth in Ubuntu 17.04 Zesty Zapus by adding the Google Earth Linux repository.

Although you can download Google Earth, Google Earth Pro, or Google Earth Enterprise Client packages from their direct web pages, here’s how to add the single Linux repository, select install one of them, and receive automatic updates via update manager.

Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from the start menu. When it opens, run following commands one by one:

1. Run command to download and install the Google keyring:

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Type in your password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then run command to add Google Earth for Linux repository:

sudo sh -c 'echo "deb http://dl.google.com/linux/earth/deb/ stable main" >> /etc/apt/sources.list.d/google-earth.list'

3. Finally, you can search for and install google-earth via Synaptic Package Manager after clicking Refresh.

Or run command to check updates and install Google Earth:

sudo apt update

sudo apt install google-earth-stable

For choices, you may replace google-earth-stable in command with:

  • google-earth-pro-stable for Google Earth Pro edition.
  • google-earth-ec-stable for Google Earth Enterprise Client.

Uninstall:

To remove the repository, simply go to System Settings -> Software & Updates -> Other Software tab.

To remove Google Earth, either use Synaptic Package Manager or run command:

sudo apt remove google-earth-* && sudo apt autoremove

Google Earth Ubuntu 14.10

It’s easy to install Google Earth in a 32-bit Ubuntu machine. But 64-bit Ubuntu fails to install the official package due to the package dependencies ia32-libs is not available since Ubuntu 14.04.

A work-around is to install the 32-bit package in 64-bit Ubuntu and resolve the package dependencies manually.

Google Earth 7 in Ubuntu 14.10

Install Google Earth 7 in Ubuntu 14.10 64-bit:

1. First download the “32 bit .deb (For Debian/Ubuntu)” package from the earth.google.com:

Download Google Earth 32-bit .deb

2. During the downloading process, press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the command below and hit run to install required libraries (thanks to webupd8):

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

Type in your user password when it asks, note that there’s no visual feed back.

3. Now install the downloaded package via Software Center, Gdebi, or by running below command in terminal:

sudo dpkg -i ~/Downloads/google-earth-stable_current_i386.deb; sudo apt-get -f install

When done, start Google Earth from Unity dash or application menu and enjoy!

Install Google Earth 6 in Ubuntu 14.10:

If for some reason you want to install the old Google Earth 6 in Ubuntu (both 32-bit and 64-bit). Follow the steps below:

1. First click the link below to install the package googleearth-package, a utility to automatically build a debian package of Google Earth:

Click Install googleearth-package

2. Once installed, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to run the utility:

make-googleearth-package --force

The utility will automatically download the Google Earth 6 package from its official website and generate a .deb package installer from it.

3. Once the utility finished, you can see the new .deb package in your user home folder and install it via Ubuntu Software Center. Or run below command instead:

sudo dpkg -i googleearth_*.deb; sudo apt-get -f install

(Optional) To uninstall Google Earth 6 or 7 run command:

sudo dpkg -r googleearth google-earth-stable

Enjoy!

GoogleEarth

This simple and brief tutorial is going to show you how to install the latest Google Earth from the official repository.

1.) Press Ctrl+Alt+T to open a terminal window for running commands.

2.) Copy and paste below command and hit run to add Google-Earth repository:

sudo sh -c 'echo "deb http://dl.google.com/linux/earth/deb/ stable main" >> /etc/apt/sources.list.d/google-earth.list'

3.) Download and install the key:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

4.) Update:

sudo apt-get update

5.) Install Google Earth stable version:

sudo apt-get install google-earth-stable

Enjoy!