如何在Ubuntu 13.10中安装Google-Earth 64bit,ia32-libs依赖性错误
我想安装Google-Earth,它需要ia32-libs。 所以,我做了apt-get install ia32-libs
但错误弹出如下:
Reading package lists... Done Building dependency tree Reading state information... Done Package ia32-libs 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 However the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0
我该如何安装ia32-libs?
在重新打包Google地球之前,这只是一种解决方法。
Google地球构建包
- 下载Google Earth x64 .DEB
-
打开终端,复制并粘贴以下命令并按Enter键
sudo apt-get install libc6:i386 lsb-core
-
打开下载文件夹
- 右键单击Google Earth .deb包并选择Extract Here
- 打开提取文件的文件夹。
- 打开DEBIAN文件夹
- 使用gedit打开
control
文件 - 删除整行: 取决于:lsb-core(> = 3.2),ia32-libs
- 现在单击保存,然后退出控制文件
-
现在删除您下载的原始Google Earth .DEB程序包
-
创建一个名为
getfix
的文件夹,现在将提取的Google Earth文件夹移动到getfix文件夹中
现在我们要重建Google Earth .deb包:
-
打开终端,复制/粘贴以下命令,然后按Enter键 :
dpkg -b ~/Downloads/getfix/google-earth-stable_current_amd64
-
复制/粘贴以下命令(这将安装重新打包的
.deb
)sudo dpkg -i ~/Downloads/getfix/google-earth-stable_current_amd64.deb
对于Ubuntu 13.10 / 14.04 / 1404.1 64位安装
sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 \ libglu1-mesa:i386 libgl1-mesa-glx:i386 libxext6:i386 \ libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core
对于Ubuntu 14.04.2图像64位安装(当使用14.04.2图像时,你得到mesa-lts-utopic堆栈,所以一个包是不同的,即libgl1-mesa-glx-lts-utopic:i386
sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 \ libglu1-mesa:i386 libgl1-mesa-glx-lts-utopic:i386 libxext6:i386 \ libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core
然后获取当前的i386软件包并安装它 – http://www.google.com/earth/download/ge/agree.html
在撰写本答案时,此处描述的所有方法都不起作用。 但是我安装了32位版本,它在64位13.10 Kubuntu上工作正常。 似乎Google Earth软件包毕竟是32位,它使用ia32libs使其在64位上运行。 希望这可以帮助
在解压缩.deb包之后,我找不到Debian文件夹,所以没有编辑来修改内容行,更不用说重建包了……这对于非极客来说有点太复杂了。
为什么不简单地获得32位稳定包?: http : //www.google.com/earth/download/ge/agree.html
如ubuntuforums中所述: http ://ubuntuforums.org/showthread.php?t = 2183733
这对我有用:)
这个问题已在Debian Jessie / Sid中修复,因为它没有与Saucy / Raring同步我将固定版本上传到googleearth-package PPA:
https://launchpad.net/~absinthesyringe/+archive/googleearth-package
只需安装32位版本。 它工作正常。 以下是我的参考https://help.ubuntu.com/community/GoogleEarth