之前在 x64 的 Ubuntu 上執行 x86 程式,都是安裝 ia-libs 這個套件,不過,從 13.10 之後,這個套件好像就被移除了。
而最近在學習的 Android 開發工具,不管 Eclipse 或 Android 雖然都有 x64 的版本,但是 Android 模擬器卻只提供在 x86 環境才能完整執行,找了一些方案,目前解決的辦法有二種:
1.
$ sudo dpkg --add-architecture i386
$ apt-get update
2.
# echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" > /etc/apt/source.list.d/ia32-libs-raring.list
# apt-get update
# apt-get install ia-libs
我比較建議用第一種,如果用第二種的話,raring 這個版本如果不再提供 source 的話,就沒有辦法安裝了!
[Ubuntu] Ubuntu 13.10 以後執行 x86 的程式
誰在線上
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客