How To Install googleearth-package on Ubuntu 20.04

In this tutorial we learn how to install googleearth-package on Ubuntu 20.04. googleearth-package is utility to automatically build a Debian package of Google Earth

Introduction

In this tutorial we learn how to install googleearth-package on Ubuntu 20.04.

What is googleearth-package

googleearth-package is:

Google Earth is a 3D planet viewer that lets you interactively navigate satellite imagery, maps, terrain, and so forth.

Google Earth is available for GNU/Linux from their web site, but is non-free software and is undistributable. It also does not integrate well into a Debian system.

This utility makes it possible to build your own personal Debian package of Google Earth. The packaging itself is Free Software, but the Google Earth program is governed by the copyright holder (Google), so you may be limited as to what you can do with the resulting package (i.e. no redistribution, etc). This package will simply help you create the package, it is your responsibility to use the resulting package responsibly.

There are three methods to install googleearth-package on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install googleearth-package Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install googleearth-package using apt-get by running the following command:

sudo apt-get -y install googleearth-package

Install googleearth-package Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install googleearth-package using apt by running the following command:

sudo apt -y install googleearth-package

Install googleearth-package Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install googleearth-package using aptitude by running the following command:

sudo aptitude -y install googleearth-package

How To Uninstall googleearth-package on Ubuntu 20.04

To uninstall only the googleearth-package package we can use the following command:

sudo apt-get remove googleearth-package

Uninstall googleearth-package And Its Dependencies

To uninstall googleearth-package and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove googleearth-package

Remove googleearth-package Configurations and Data

To remove googleearth-package configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge googleearth-package

Remove googleearth-package configuration, data, and all of its dependencies

We can use the following command to remove googleearth-package configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge googleearth-package

References

Summary

In this tutorial we learn how to install googleearth-package package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.