【问题标题】:How can I install both lib32ncurses5-dev and libncurses5-dev:i386如何同时安装 lib32ncurses5-dev 和 libncurses5-dev:i386
【发布时间】:2014-03-14 23:56:14
【问题描述】:

如何在我的机器上同时安装 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'。当我为树莓派“制作 menuconfig”时,我需要“libncurses5-dev:i386”。

谢谢。

【问题讨论】:

  • 我认为这两个软件包都包含同名的文件,因此如果您设法强制安装这两个软件包,您很可能会破坏其中一个。您是否考虑过将完整的 rpi 工具链设置为单独的目录树(chrooted 或其他)?

标签: linux


【解决方案1】:

您可以在此处简要了解此问题。

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

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

lib32ncurses5-dev

lib32readline6-dev

lib32z1-dev

希望它会有所帮助..

【讨论】:

  • 您能否再概括一下链接中的答案?
  • 在终端尝试以下命令... sudo apt-get install lib32ncurses5-dev lib32readline6-dev lib32z1-dev
猜你喜欢
  • 2021-10-28
  • 2013-05-21
  • 2011-08-23
  • 2022-10-04
  • 1970-01-01
  • 2017-06-04
  • 1970-01-01
  • 2011-02-09
  • 2020-11-07
相关资源
最近更新 更多