[问题] apt-get 套件的问题

楼主: gn00618777 (非常念旧)   2018-10-03 23:12:47
板友晚安
想请教一下,我用 docker 安装 ubuntu 14.04
apt-get update 之后
再下 apt-get install u-boot-tools:i386,目的是想要 mkimage 这个 binary来
build uImage
它其实会找不到套件可下载。只能下载 u-boot-tools
可我在 https://packages.ubuntu.com/trusty/admin/u-boot-tools
官网这边有列出来
1 到底要怎么判断网络上的套件清单可以在image内抓得到。除了直接
apt-get install 告诉你找不找得到
2 官网列了硬件架构有 amd64 arm64 armhf i386 等等,假设他是i386好了
它的意思是只能 build 出 32 位元的 binary 吗?
3 如果2成立,我14.04只能 apt-get install u-boot-tools,那我要怎判断
它能build哪种架构..?
4 我安装u-boot-tools后,用mkimage -A arm64 ,mkimage -V 是 2013
build kernel 时有说 arm64 不支援。然后他也列出了其他支援的 arch
可是官网不就列出它有支援 arm64 的架构了吗??
谢谢
作者: gholk (正常正高)   2018-10-04 09:04:00
可以 apt show u-boot-tool 或 apt search u-boot-toolsu-boot-tools:i386 是指他能在 32 位元上的电脑上跑,不是指 mkimage 能 build 出哪种架构的 image只有少数软件像 wine 会 32 位只能执行 32 位的 .exe 档,64 位只能执行 64 位的 exe 档。最后 apt 上的软件不见得是最新版,所以官网的支援可能不同
楼主: gn00618777 (非常念旧)   2018-10-15 23:24:00
好的谢谢

Links booklink

Contact Us: admin [ a t ] ucptt.com