1.安装必备组建
使用gdebi在我们的系统上安装Google Earth包。gdebi能够确保在安装过程中自动获取所有安装必备组建,减少麻烦。如果Ubuntu系统上尚未安装gdebi,建议更新,可以通过以下方式安装:
$ sudo apt install gdebi-core wget
2.下载Google Earth安装包
下一步是下载Google Earth安装包。使用wget命令可以实现:
$ wget https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb
执行上述命令后,您应该在主目录中找到Google Earth的安装包:
$ ls google-earth-pro-stable_current_amd64.deb
google-earth-pro-stable_current_amd64.deb
3.安装Google Earth
使用gdebi命令在Ubuntu 18.04上安装Google Earth。当提示回答时:输入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.
您是否想安装这个软件包?[y/N]:y
4.开启运行Google Earth
此时在在左下方的开始菜单中搜索Google Earth
点击图表即可打开。