我刚刚成功运行普鲁皮诺在泽德板FPGA 和我设法在其上启动操作系统。但是,问题是不存在apt-get命令。我检查了以下内容:
$ uname -a
Linux buildroot 3.18.0-xilinx #1 SMP PREEMPT Wed Jun 12 12:19:13 CEST 2019 armv7l GNU/Linux
$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
$ ls /bin/
ash dnsdomainname linux64 nice sleep
busybox dumpkmap ln pidof stty
cat echo login ping su
catv egrep ls pipe_progress sync
chattr false lsattr printenv tar
chgrp fdflush mkdir ps touch
chmod fgrep mknod pwd true
chown getopt mktemp rm umount
cp grep more rmdir uname
cpio gunzip mount run-parts usleep
date gzip mountpoint sed vi
dd hostname mt setarch watch
df kill mv setserial zcat
dmesg linux32 netstat sh
$ ls /bin/
ash dnsdomainname linux64 nice sleep
busybox dumpkmap ln pidof stty
cat echo login ping su
catv egrep ls pipe_progress sync
chattr false lsattr printenv tar
chgrp fdflush mkdir ps touch
chmod fgrep mknod pwd true
chown getopt mktemp rm umount
cp grep more rmdir uname
cpio gunzip mount run-parts usleep
date gzip mountpoint sed vi
dd hostname mt setarch watch
df kill mv setserial zcat
dmesg linux32 netstat sh
$ ls /usr/bin/
[ du less readlink ssh-agent unzip
[[ eject logger realpath ssh-keygen uptime
ar env logname renice ssh-keyscan uudecode
awk expr lsof reset strings uuencode
basename find lspci resize tail vlock
bunzip2 flock lsusb rx tee wc
bzcat fold lzcat scp telnet wget
chrt free lzma seq test which
chvt fuser md5sum setkeycodes tftp who
cksum gdbserver mesg setsid time whoami
clear head microcom sftp top xargs
cmp hexdump mkfifo sha1sum tr xz
crontab hostid nohup sha256sum traceroute xzcat
cut id nslookup sha3sum tty yes
dc install od sha512sum uniq
deallocvt ipcrm openvt slogin unix2dos
diff ipcs passwd sort unlink
dirname killall patch ssh unlzma
dos2unix last printf ssh-add unxz
$ ls /usr/sbin/
addgroup chroot deluser fbset killall5 readprofile
adduser crond dnsd fdformat loadfont setlogcons
arping delgroup ether-wake inetd rdate sshd
所以除了 apt-get 命令之外,一切看起来都很好。任何人都有解决它的想法。
答案1
这是一个构建根- 生成的系统,并且那些不带有包管理器。整个想法是,您在构建中选择软件包,而不是在运行生成的映像的系统上进行选择。不要尝试在嵌入式系统上安装包管理器;相反,弄清楚如何修改构建(在构建系统上)以添加您需要的软件。
事实上,Buildroot 甚至在生成的镜像中不使用包;其原因是常见问题解答中已解释。