作者gn00618777 (非常念旧)
看板Linux
标题[问题] apt-get 套件的问题
时间Wed Oct 3 23:12:47 2018
板友晚安
想请教一下,我用 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 的架构了吗??
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 219.68.215.61
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1538579572.A.13A.html
※ 编辑: gn00618777 (219.68.215.61), 10/03/2018 23:19:13
※ 编辑: gn00618777 (219.68.215.61), 10/03/2018 23:30:21
1F:推 gholk: 可以 apt show u-boot-tool 或 apt search u-boot-tools 10/04 09:04
2F:→ gholk: u-boot-tools:i386 是指他能在 32 位元上的电脑上跑,不是 10/04 09:04
3F:→ gholk: 指 mkimage 能 build 出哪种架构的 image 10/04 09:05
4F:→ gholk: 只有少数软体像 wine 会 32 位只能执行 32 位的 .exe 档, 10/04 09:06
5F:→ gholk: 64 位只能执行 64 位的 exe 档。 10/04 09:06
6F:→ gholk: 最後 apt 上的软体不见得是最新版,所以官网的支援可能不同 10/04 09:07
7F:→ gn00618777: 好的谢谢 10/15 23:24