【发布时间】: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