{"id":46660,"date":"2024-05-31T14:33:08","date_gmt":"2024-05-31T14:33:08","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46660"},"modified":"2024-05-31T14:52:31","modified_gmt":"2024-05-31T14:52:31","slug":"install-google-earth-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/05\/install-google-earth-ubuntu\/","title":{"rendered":"Install Google Earth in Ubuntu 24.04 | 22.04 (Step by Step)"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44628\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/liewa-earth-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a step by step beginner&#8217;s guide shows how to install Google Earth Pro or Enterprise Client in Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04<\/p>\n<p>Today we can use Google Earth easily in web browser or mobile phone. For those still need a desktop app, it&#8217;s easy to install in Debian\/Ubuntu through:<\/p>\n<ul>\n<li>either Google&#8217;s official apt repository (native <i>.deb <\/i> packages),<\/li>\n<li>or Flatpak package, that runs in sandbox environment.<\/li>\n<\/ul>\n<p>Choose either one that you prefer, though both run in only <code>amd64<\/code> (Intel\/AMD) CPU architecture.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-38652\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy-600x389.webp\" alt=\"\" width=\"600\" height=\"389\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy-600x389.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/earthpro-jammy.webp 1070w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h3>Method 1: Install Google Earth from its official repository<\/h3>\n<p>Google provides an official repository that contains the native <code>.deb<\/code> package for Google Earth Pro and <em>Enterprise Client<\/em> for all current Debian\/Ubuntu systems.<\/p>\n<h4>1. Setup the key:<\/h4>\n<p>To add the Google Earth repository, you need to first install the key so your Ubuntu will trust the package from that repository.<\/p>\n<p>To do so, press <b>Ctrl+Alt+T<\/b> on keyboard to open up a terminal window, and run the command below:<\/p>\n<pre>sudo wget -qO - https:\/\/dl-ssl.google.com\/linux\/linux_signing_key.pub | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/google-earth.gpg &gt;\/dev\/null<\/pre>\n<p><i>This is a single command that download the key file, dearmor it, and install as &#8216;google-earth.gpg&#8217; file under &#8216;\/etc\/apt\/keyrings&#8217; directory to follow the new Debian policy. <\/i><\/p>\n<p>After \u00a0that, you may run <code>ls \/etc\/apt\/keyrings<\/code> to list the directory content and verify if the key file is there.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earth-key.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46661\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earth-key-700x321.webp\" alt=\"\" width=\"610\" height=\"280\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earth-key-700x321.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earth-key-300x138.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earth-key.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>2. Add Google Earth repository:<\/h4>\n<p>After setup the key, run the single command below to add the Google Earth apt repository into your system:<\/p>\n<pre>sudo sh -c 'echo \"deb [arch=amd64 signed-by=\/etc\/apt\/keyrings\/google-earth.gpg] https:\/\/dl.google.com\/linux\/earth\/deb\/ stable main\" &gt; \/etc\/apt\/sources.list.d\/google-earth.list'<\/pre>\n<p>This command will create <code>google-earth.list<\/code> file under &#8216;\/etc\/apt\/sources.list.d&#8217; directory, and write the line &#8220;<i>deb [arch=amd64 signed-by=&#8230;] http:\/\/&#8230; main<\/i>&#8221; (without quotes) into that file.<\/p>\n<p>You can verify its content by running the <code>cat \/pat\/to\/file<\/code> command in the screenshot below.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earch-repo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46662\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earch-repo-700x344.webp\" alt=\"\" width=\"610\" height=\"300\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earch-repo-700x344.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earch-repo-300x147.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/google-earch-repo.webp 714w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>3. Install Google Earth<\/h4>\n<p>Finally, refresh system package cache via command:<\/p>\n<pre>sudo apt update<\/pre>\n<p>The command should output lines including something looks like &#8220;<i>Get:x http:\/\/dl.google.com\/linux\/earth\/deb\/&#8230;<\/i>&#8220;.<\/p>\n<p>And, then you can install the application by running command:<\/p>\n<pre>sudo apt install google-earth-pro-stable<\/pre>\n<p><i>For choice, replace <code>google-earth-pro-stable<\/code> with <code>google-earth-ec-stable<\/code> for Enterprise version.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46663\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch-700x401.webp\" alt=\"\" width=\"610\" height=\"349\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch-700x401.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch-300x172.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch-768x440.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/apt-google-earch.webp 866w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After installation, search for and launch it from either start menu or Gnome overview screen depends on your desktop environment and enjoy!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38658\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/launch-earth.png\" alt=\"\" width=\"505\" height=\"273\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/launch-earth.png 505w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/launch-earth-300x162.png 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><\/p>\n<p><b>NOTE: After installed the .deb package, it automatically setup a duplicated apt repository, via the old deprecated way!<\/b><\/p>\n<p>It&#8217;s recommended to open terminal and run command (Ctrl+Alt+T) to remove the auto-generated source file &amp; key file:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/google-earth-*.list \/etc\/apt\/trusted.gpg.d\/google-earth-*.gpg<\/pre>\n<p>Then run <code>sudo apt update<\/code> to refresh cache.<\/p>\n<h3>Method 2: Install Google Earth Pro via Flatpak<\/h3>\n<p>For choice, Google Earth (Pro edition only) is also available to install as Flatpak package. <b>It runs in sandbox environment, but can be installed on most Linux.<\/b><\/p>\n<p>This is an unofficial, but open-source package. The source about how it&#8217;s built is available <a href=\"https:\/\/github.com\/flathub\/com.google.EarthPro\" target=\"_blank\" rel=\"noopener\">in this github page<\/a>.<\/p>\n<p><b>Linux Mint 21<\/b> and <b>Fedora Workstation<\/b> (since 38 with 3rd party repository enabled) can directly search for and install it from either Software Manager or Gnome Software.<\/p>\n<p>While, <b>Ubuntu\/Debian<\/b> and other Linux can follow the steps below to install the package.<\/p>\n<ul>\n<li>First, press <code>Ctrl+Alt+T<\/code> to open up a terminal window. When it opens, run command to enable Flatpak support:\n<pre>sudo apt install flatpak<\/pre>\n<p>For other Linux and old Ubuntu 18.04 and earlier, follow the official <a href=\"https:\/\/flatpak.org\/setup\/\" target=\"_blank\" rel=\"noopener\">setup guide<\/a> for this package format support.<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Next, install <a href=\"https:\/\/flathub.org\/apps\/com.google.EarthPro\" target=\"_blank\" rel=\"noopener\">Google Earth Flatpak package<\/a> by running command in terminal:\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.google.EarthPro.flatpakref<\/pre>\n<p><i>There may be lots of run-time libraries to download, if you don&#8217;t have them.<\/i><\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/flatpak-googleearth.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46664\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/flatpak-googleearth-700x375.webp\" alt=\"\" width=\"610\" height=\"327\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/flatpak-googleearth-700x375.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/flatpak-googleearth-300x161.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/flatpak-googleearth.webp 730w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Just like normal <code>.deb<\/code> package, you can then search for and launch the app from menu after installation.<\/p>\n<p>If you don&#8217;t see the app icon, either log out and back in to apply variable change or use <code>flatpak run com.google.EarthPro<\/code> command to start it from command line.<\/p>\n<h3>Remove Google Earth and its repository<\/h3>\n<p>To uninstall the Google Earth apt repository, open up a terminal window and run command to delete the corresponding source and key files:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/google-earth*.list \/etc\/apt\/trusted.gpg.d\/google-earth*.gpg \/etc\/apt\/keyrings\/google-earth*.gpg<\/pre>\n<p>Then run command <code>sudo apt update<\/code> to refresh system package cache.<\/p>\n<p>And, to remove the Google Earth .deb package, run the command below in terminal:<\/p>\n<pre>sudo apt remove google-earth-*-stable<\/pre>\n<p>For the Google Earth Flatpak package, use the command below to uninstall it:<\/p>\n<pre>flatpak uninstall --delete-data com.google.EarthPro<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to clear useless runtime libraries.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step beginner&#8217;s guide shows how to install Google Earth Pro or Enterprise Client in Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04 Today we can use Google Earth easily in web browser or mobile phone. For those still need a desktop app, it&#8217;s easy to install in Debian\/Ubuntu through: either Google&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":44628,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[33],"class_list":["post-46660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-google-earth"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46660"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46660\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44628"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}