How to Install Google Earth on Ubuntu (26.04, 24.04, 22.04)

Last updated Tuesday, March 10, 2026 11:50 am 9 min read 9 comments

Historical imagery, 3D terrain, and GIS imports still make Google Earth Pro useful when a browser map is not enough. You can install Google Earth on Ubuntu with Google’s official APT repository or a Flatpak build from Flathub, and the current package now works on Ubuntu 26.04, 24.04, and 22.04.

For most systems, Google’s repository is the cleaner path because Google Earth is not in Ubuntu’s default repositories and the repo delivers the newest official Linux build with normal APT updates. Google still publishes a direct .deb download, but it installs the same package and is harder to keep tidy than the repository method. Flatpak is the sandboxed alternative if you already use Flathub, and the steps here also cover the legacy source-file workaround, launch commands, updates, removal, and the minimal-install fixes that still matter.

Install Google Earth on Ubuntu

Ubuntu gives you two practical installation paths for Google Earth Pro, depending on whether you want Google’s newest Linux package or a sandboxed desktop build.

MethodChannelVersionUpdatesBest For
APT (Official repository)Google RepositoryLatest stablesudo apt upgradeUsers who want Google’s newest official Linux release and normal APT updates
FlatpakFlathubStable Flathub buildsudo flatpak updateUsers who prefer sandboxed desktop apps or already rely on Flatpak

This guide covers Ubuntu 26.04 LTS, 24.04 LTS, and 22.04 LTS on amd64 systems. Google’s current APT package and the Flathub build both install on the supported Ubuntu LTS releases, so the older libxml2 dependency problem no longer blocks Ubuntu 26.04.

Update Ubuntu Before Installing Google Earth

Refresh your package lists first so Google Earth installs against current system libraries and package metadata.

sudo apt update
sudo apt upgrade -y

This guide uses sudo for commands that need root privileges. If your user is not in the sudoers file yet, see how to add a sudo user on Ubuntu.

Install Google Earth from Google’s APT Repository

The APT method gives you Google’s newest official Linux package. Ubuntu installs the package as google-earth-pro-stable, while the launcher command and desktop menu entry use google-earth-pro and Google Earth Pro.

Install the packages needed for secure downloads, key handling, and desktop menu integration:

sudo apt install ca-certificates curl gpg xdg-utils -y

The -y flag accepts the package prompt automatically. This installs certificate handling for HTTPS downloads, the curl command for fetching the key, gpg for APT signature verification, and xdg-utils for the desktop launcher helpers Google Earth expects on minimal Ubuntu installs. Standard Ubuntu desktop systems usually already have those helper commands, but minimal or server-style images often do not.

Import Google’s signing key into a dedicated APT keyring:

curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-earth.gpg

The -fsSL flags tell curl to fail on HTTP errors, stay quiet unless something breaks, and follow redirects. The --dearmor flag converts the downloaded key into the binary format APT expects.

Create a DEB822 source file for the Google Earth repository:

cat <<EOF | sudo tee /etc/apt/sources.list.d/google-earth.sources
Types: deb
URIs: https://dl.google.com/linux/earth/deb/
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/google-earth.gpg
EOF

The sudo tee part matters because plain > redirection does not inherit sudo. This writes the repository file with root privileges while keeping the source definition readable in one block.

Google Earth can still drop a legacy google-earth-pro.list file during installation. Pre-creating it as read-only keeps your DEB822 source file authoritative:

sudo rm -f /etc/apt/sources.list.d/google-earth-pro.list
sudo touch /etc/apt/sources.list.d/google-earth-pro.list
sudo chmod 444 /etc/apt/sources.list.d/google-earth-pro.list

Refresh APT and confirm Ubuntu can see the Google Earth package:

sudo apt update
apt-cache policy google-earth-pro-stable
google-earth-pro-stable:
  Installed: (none)
  Candidate: 7.3.7.1094-r0
  Version table:
     7.3.7.1094-r0 500
        500 https://dl.google.com/linux/earth/deb stable/main amd64 Packages

Install Google Earth Pro once the repository check shows the package candidate:

sudo apt install google-earth-pro-stable -y

Verify the installed package version with dpkg-query:

dpkg-query -W -f='${binary:Package} ${Version}\n' google-earth-pro-stable
google-earth-pro-stable 7.3.7.1094-r0

Google updates this package in place, so your installed version may be newer than the example shown here.

Install Google Earth with Flatpak on Ubuntu

Flathub provides a sandboxed Google Earth Pro build that works across the supported Ubuntu LTS releases. This package is community-maintained and Flathub explicitly notes that it is not verified by, affiliated with, or supported by Google.

Flatpak is not installed by default on Ubuntu. If you need it first, see how to install Flatpak on Ubuntu.

Add the Flathub remote at system scope and keep the command idempotent with --if-not-exists:

sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Install the Google Earth Pro Flatpak from Flathub:

sudo flatpak install flathub com.google.EarthPro -y

Flatpak will pull the required runtime automatically during the first install. Confirm the app ID, branch, and version after installation:

flatpak info com.google.EarthPro
Google Earth Pro - 3D planet viewer

          ID: com.google.EarthPro
         Ref: app/com.google.EarthPro/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 7.3.6
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system

The Flathub build can lag behind Google’s repository, so use the APT method when the newest official Linux release matters more than sandboxing.

Launch Google Earth on Ubuntu

Google Earth Pro can be launched from the terminal or from Ubuntu’s application menu, depending on which package format you installed.

Launch the APT Build of Google Earth

The Google repository installs the standard desktop launcher command below:

google-earth-pro

Launch the Flatpak Build of Google Earth

The Flathub package runs through the Flatpak runtime, so use the application ID:

flatpak run com.google.EarthPro

Open Google Earth from the Ubuntu Applications Menu

Open the Activities overview, search for Google Earth Pro, and select the launcher from the application results. Both the APT build and the Flatpak build register a desktop launcher with that name.

Get Started with Google Earth Pro on Ubuntu

Once Google Earth opens, a few built-in tools are worth checking right away if you want more than a quick globe view.

Explore Historical Imagery in Google Earth Pro

Historical imagery is still one of Google Earth’s best desktop features. Open the clock icon on the toolbar to move through older satellite captures and compare how cities, coastlines, or landmarks changed over time.

Import GIS Data into Google Earth Pro

Google Earth Pro can import KML, KMZ, CSV, and other mapped datasets, which makes it useful for site planning, field work, travel research, or classroom projects that need more context than a browser tab gives you.

Tune Google Earth Pro Performance on Ubuntu

If navigation feels heavy on older hardware, trim the rendering load before you assume the package install went wrong.

  • Lower texture quality and disable extra layer effects if zooming and panning feel sluggish.
  • Turn off 3D buildings in dense city views when you want faster redraws on integrated graphics.
  • Keep only the layers you actually need enabled so Google Earth is not redrawing unnecessary overlays.

Update or Remove Google Earth on Ubuntu

Google Earth updates differently depending on whether you installed the official APT package or the Flathub build.

Update Google Earth from Google’s APT Repository

Refresh APT metadata, then upgrade only the Google Earth package:

sudo apt update
sudo apt install --only-upgrade google-earth-pro-stable

Re-run dpkg-query -W -f='${binary:Package} ${Version}\n' google-earth-pro-stable if you want to confirm the new package version after the upgrade.

Update Google Earth Flatpak

Update the Flathub build through Flatpak’s system scope:

sudo flatpak update com.google.EarthPro

Re-run flatpak info com.google.EarthPro afterward if you want to confirm the updated Flatpak version and origin.

Remove the APT Build of Google Earth

Remove the Google Earth package first, then clear leftover dependencies that nothing else needs:

sudo apt remove google-earth-pro-stable -y
sudo apt autoremove -y

Delete the Google Earth source files and signing key, then refresh APT:

sudo rm -f /etc/apt/sources.list.d/google-earth.sources /etc/apt/sources.list.d/google-earth-pro.list
sudo rm -f /usr/share/keyrings/google-earth.gpg
sudo apt update

Verify that the launcher and repository files are gone:

command -v google-earth-pro || echo google-earth-pro not found
ls /etc/apt/sources.list.d/google-earth* 2>/dev/null || echo Google Earth repo files removed
google-earth-pro not found
Google Earth repo files removed

If you also want to remove saved places, cached imagery, and crash logs from the APT build, delete ~/.googleearth after backing up anything you want to keep.

Remove the Flatpak Build of Google Earth

Remove the Flatpak app itself, then clear any runtimes that no installed Flatpak app still needs:

sudo flatpak remove com.google.EarthPro
sudo flatpak uninstall --unused

Confirm that Flatpak no longer sees the app:

flatpak info com.google.EarthPro
error: com.google.EarthPro/*unspecified*/*unspecified* not installed

If you launched the Flatpak build and want to remove its sandbox data too, delete ~/.var/app/com.google.EarthPro/ after backing up anything you want to keep.

Troubleshoot Google Earth on Ubuntu

Most install problems now come from stripped-down Ubuntu images or leftovers from older Google Earth setup methods, not from the current package itself.

Fix xdg-utils Errors When Installing Google Earth on Ubuntu

Minimal Ubuntu installs can miss the desktop helper commands Google Earth’s post-install script expects. When that happens, package configuration usually stops with one of these errors:

Error: Could not find xdg-icon-resource
Error: Could not find xdg-desktop-menu

Install the missing desktop helper package, then finish the interrupted package configuration:

sudo apt install xdg-utils -y
sudo dpkg --configure -a

Clean Up Legacy Google Earth Source Files on Ubuntu

If you used an older guide or Google’s direct .deb download before switching to a DEB822 source file, you may still have a leftover google-earth-pro.list entry in /etc/apt/sources.list.d/. Recreate it as a read-only placeholder so your google-earth.sources file remains the active repository definition:

sudo rm -f /etc/apt/sources.list.d/google-earth-pro.list
sudo touch /etc/apt/sources.list.d/google-earth-pro.list
sudo chmod 444 /etc/apt/sources.list.d/google-earth-pro.list
sudo apt update

If apt update finishes cleanly afterward, the legacy Google Earth source entry is no longer interfering with your DEB822 configuration.

Google Earth on Ubuntu FAQ

Should I use Google’s APT repository or Flatpak for Google Earth on Ubuntu?

Use Google’s APT repository when you want the newest official Linux build and straightforward APT upgrades. Use Flatpak when you already rely on Flathub or prefer sandboxed desktop apps, even if the Flathub version trails Google’s package.

Should I use the direct Google Earth .deb download or the APT repository on Ubuntu?

Use the APT repository if you want the cleanest long-term setup. Google still provides a direct .deb installer, but it installs the same package and can leave a legacy google-earth-pro.list entry behind if you later switch to a DEB822 .sources file.

Is there a Google Earth PPA for Ubuntu?

No official Google Earth PPA exists for Ubuntu. The practical Linux choices are Google’s official repository or the community-maintained Flathub package com.google.EarthPro.

Do you need a Google Earth Pro license key on Ubuntu?

No. Google Earth Pro is a no-charge product, so you do not need to buy or enter a serial number to use the Linux desktop build.

Conclusion

Google Earth is installed on Ubuntu with either Google’s APT repository or the Flathub build, and the current package works again on 26.04 alongside 24.04 and 22.04. If you want more sandboxed desktop apps next, install Flatpak on Ubuntu. If you only need browser access on a machine where you do not want the desktop client, Google Earth Web remains a simple fallback.

Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffee Buy me a coffee

9 thoughts on “How to Install Google Earth on Ubuntu (26.04, 24.04, 22.04)”

  1. 2 December 2025. Hi. Trying the same thing on Ubuntu 25.10 (the new Questing Quokka).
    First I downloaded from Google website google-earth-pro-stable_current_amd64.deb
    Tried opening the deb with App Center which failed to install (without error messages)

    So I tried the steps here from top of the page including Troubleshooting then the comments above

    At sudo apt install google-earth-pro-stable -y

    “Solving dependencies… Error!
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    Unsatisfied dependencies:
    google-earth-pro-stable : Depends: libglu1-mesa but it is not going to be installed
    Depends: libxml2 but it is not installable
    Error: Unable to satisfy dependencies. Reached two conflicting decisions:
    1. google-earth-pro-stable:amd64=7.3.6.10441-r0 is selected for install
    2. google-earth-pro-stable:amd64 Depends libxml2
    but none of the choices are installable:
    [no choices]”

    Then at sudo apt install libxml2 libxml-dev -y

    “Package libxml2 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

    Error: Package ‘libxml2’ has no installation candidate”

    However find usr/lib did find two instances of libxml2.so* on this (brand new, nearly empty) Ubuntu 25.10
    /usr/lib/x86_64-linux-gnu/libxml2.so.16
    /usr/lib/x86_64-linux-gnu/libxml2.so.16.0.5

    Reply
    • Matthew, thanks for the detailed error report. You’ve identified a real compatibility issue that affects Ubuntu 25.10 and newer releases.

      Ubuntu 25.10 transitioned from libxml2 (providing libxml2.so.2) to libxml2-16 (providing libxml2.so.16). Google Earth Pro explicitly depends on the older libxml2 package, which no longer exists in Ubuntu 25.10’s repositories. This is an ABI-breaking change that Google would need to address by rebuilding their package.

      Unfortunately, there’s no repository workaround for this. The libxml2-16 package cannot satisfy dependencies requiring libxml2. Your options are to run Ubuntu 24.04 LTS or 22.04 LTS where Google Earth installs without issues, or use a virtual machine running a compatible Ubuntu version.

      I’ve updated the article with a compatibility warning at the top noting this limitation. Thanks for helping document this issue for other readers on newer Ubuntu releases.

      Reply
    • Scott, thanks for reporting this. The libxml2 dependency error typically indicates you’re running Ubuntu 25.10 or a newer development release. Could you confirm your Ubuntu version by running lsb_release -a?

      Ubuntu 25.10 replaced the libxml2 package with libxml2-16, breaking compatibility with Google Earth Pro. If you’re on 25.10, the only current solutions are using Ubuntu 24.04 LTS or 22.04 LTS, or running Google Earth in a VM with a compatible Ubuntu version.

      If you’re on Ubuntu 24.04 or 22.04 and still seeing this error, let me know and we can troubleshoot further.

      Reply
        • Thanks for raising this, WhiteBear. Manually copying old library files to work around the libxml2 dependency is not a safe solution. As PH 7174 correctly noted in that Google support thread, copying old libraries to newer Debian-based systems can cause system instability or subtle runtime crashes.

          The libxml2 to libxml2-16 transition is an ABI-breaking change that affects the shared library version system-wide. Mixing library versions can cause unpredictable behavior in any application that links against libxml2, not just Google Earth.

          Google needs to rebuild their .deb package against the newer library. Until they do, the only reliable options are staying on Ubuntu 22.04 or 24.04 LTS, using a virtual machine, or using Google Earth Web in your browser. The article recommends these approaches specifically because they avoid the risks of manual library hacks.

          Reply
Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Leave a Comment

We read and reply to every comment - let us know how we can help or improve this guide.

Let us know you are human: