如何安装lib32ncurses5-dev和libncurses5-dev:i386

时间:2013-12-31 18:52:10

标签: linux

如何在我的机器上同时安装lib32ncurses5-dev和libncurses5-dev:i386? 当我安装'sudo apt-get install lib32ncurses5-dev'时,它说会删除libncurses5-dev:i386。

$ sudo apt-get install lib32ncurses5-dev
[sudo] password for cheungs: 
Sorry, try again.
[sudo] password for cheungs: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libterm-readkey-perl libjpeg62 python-support libsvn-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  lib32ncurses5 lib32tinfo-dev lib32tinfo5 libncurses5-dev
Suggested packages:
  ncurses-doc
The following packages will be REMOVED:
  libncurses5-dev:i386
The following NEW packages will be installed:
  lib32ncurses5 lib32ncurses5-dev lib32tinfo-dev lib32tinfo5 libncurses5-dev
0 upgraded, 5 newly installed, 1 to remove and 652 not upgraded.
Need to get 673 kB of archives.

完成此操作后,将使用2,041 kB的额外磁盘空间。

当我编译android时,我需要'libncurses5-dev:i386'。当我为rasphberry pi做'menuconfig'时,我需要'libncurses5-dev:i386'。

谢谢。

1 个答案:

答案 0 :(得分:0)

你可以在这里简要地看一下这个问题。

https://askubuntu.com/questions/256487/initialising-the-build-environment-for-android-on-64-bit-12-04

您需要安装这些软件包才能解决此问题。

lib32ncurses5-dev

lib32readline6-dev的

lib32z1-dev的

希望它会有所帮助..