apt-get 套件的問題 - Linux

Table of Contents

板友晚安

想請教一下,我用 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 的架構了嗎??


謝謝

--

All Comments

Donna avatarDonna2018-10-08
可以 apt show u-boot-tool 或 apt search u-boot-tools
u-boot-tools:i386 是指他能在 32 位元上的電腦上跑,不是
Anthony avatarAnthony2018-10-11
指 mkimage 能 build 出哪種架構的 image
Freda avatarFreda2018-10-13
只有少數軟體像 wine 會 32 位只能執行 32 位的 .exe 檔,
64 位只能執行 64 位的 exe 檔。
Mia avatarMia2018-10-15
最後 apt 上的軟體不見得是最新版,所以官網的支援可能不同
Yuri avatarYuri2018-10-16
好的謝謝