玩转贝启科技BQ3588C开源鸿蒙系统开发板 —— 编译构建及此过程中的踩坑填坑(3)

2024-01-08 15:30:39

接前一篇文章:玩转贝启科技BQ3588C开源鸿蒙系统开发板 —— 编译构建及此过程中的踩坑填坑(2)

上一篇文章结束时在等待提示的各依赖包下载安装后的编译结果,但是很遗憾,编译并没有最终完成,既未成功也没有失败。这是个什么情况?是笔者收到了系统给出的提示,说硬盘还剩1%了,磁盘空间不够了。没办法,只能重新安装虚拟机,分配更大的空间。当初笔者编译Android的时候,给虚拟机分配100GB的空间就完全够用了,这次创建虚拟机时分配了120G的空间,没想到居然没够用!

不过这样重头来过也有好处,正好可以把之前的完整流程再完全走一遍,有些弯路这次直接迈过去,编译脉络会非常清晰。那么就冲走前文书的流程,这次把坑都直接避过去,也可以说是重走一次坑已被填平的路。

本次笔者给虚拟机分配了200GB磁盘空间,如下所示:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           589M  2.1M  587M   1% /run
/dev/sda3       196G   13G  174G   7% /
tmpfs           2.9G     0  2.9G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/sda2       512M  6.1M  506M   2% /boot/efi
tmpfs           589M  184K  588M   1% /run/user/1000
/dev/sr0        156M  156M     0 100% /media/ph/CDROM

当然,系统还是和之前一样,装的是Ubuntu 22.04。

$ uname -a
Linux ph-virtual-machine 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

系统环境已经准备好,重新开始之前的流程。

1. 安装依赖工具

安装命令如下:

sudo apt-get update && sudo apt-get install binutils git git-lfs gnupg flexbison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multiliblibc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev ccachelibgl1-mesa-dev libxml2-utils xsltproc unzip m4 bc gnutls-bin python3.8python3-pip ruby

之前倒霉就倒到这步上了。当初笔者在玩海思芯片、根据海思提供的手册中的指导编译系统时,就老在这上边填坑踩坑。华为这帮人(本想说这帮孙子来着,但一来不太文明,二来有失学者身份)似乎有这个传统,不把全部依赖都给你列出来,而只给你列出一部分,余下的让你自行遇到错误、解决错误。也不知道他们是无心的还是故意的,我觉得后者的可能性大罢,那简直是一定的。当初海思系统编译这块网上一大堆的帖子,都是开发者们在编译海思系统时所遇到的各种各样的问题以及他们最终花了大量时间得到的解决方法(有不少最终还没有解决)。你看海思那手册挺唬人的,好像每一步都给出了详细的指导,其实里边的东西千疮百孔,完全经不起推敲。像那个你要是真正想为用户尤其是开发者服务,你的手册就应该写得很细致并且很严谨,虽然不强求你做成“傻瓜式”的手册,但至少应该保证每一步都能正确通过,最终整个系统也可以成功构建出来,而不是让用户自行去“踩坑填坑”。现在一看,这鸿蒙完全是沿袭了和华为海思的“光荣传统”(弄不好这东西就是之前海思那帮人鼓捣出来的),“说一半话”,做用户的“坑王”。

你不愿意为用户提供方便,那么我来“俯首甘为用户牛”;你做用户的“坑王”,那么我来做用户的“导航”。这里在以上这些依赖的基础上,直接加入笔者后来自行探索得到的必须安装的额外包。

(1)更新

实际命令及结果如下:

$ sudo apt update
[sudo] password for ph: 
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease                                 
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease                         
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
179 packages can be upgraded. Run 'apt list --upgradable' to see them.

(2)安装binutils

实际命令及结果如下:

$ sudo apt install binutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0
Suggested packages:
  binutils-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0
0 upgraded, 6 newly installed, 0 to remove and 179 not upgraded.
Need to get 3,425 kB of archives.
After this operation, 14.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 binutils-common amd64 2.38-4ubuntu2.4 [222 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libbinutils amd64 2.38-4ubuntu2.4 [662 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libctf-nobfd0 amd64 2.38-4ubuntu2.4 [108 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libctf0 amd64 2.38-4ubuntu2.4 [103 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.38-4ubuntu2.4 [2,327 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 binutils amd64 2.38-4ubuntu2.4 [3,194 B]
Fetched 3,425 kB in 0s (7,816 kB/s)  
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 199518 files and directories currently installed.)
Preparing to unpack .../0-binutils-common_2.38-4ubuntu2.4_amd64.deb ...
Unpacking binutils-common:amd64 (2.38-4ubuntu2.4) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../1-libbinutils_2.38-4ubuntu2.4_amd64.deb ...
Unpacking libbinutils:amd64 (2.38-4ubuntu2.4) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../2-libctf-nobfd0_2.38-4ubuntu2.4_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.38-4ubuntu2.4) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../3-libctf0_2.38-4ubuntu2.4_amd64.deb ...
Unpacking libctf0:amd64 (2.38-4ubuntu2.4) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../4-binutils-x86-64-linux-gnu_2.38-4ubuntu2.4_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.38-4ubuntu2.4) ...
Selecting previously unselected package binutils.
Preparing to unpack .../5-binutils_2.38-4ubuntu2.4_amd64.deb ...
Unpacking binutils (2.38-4ubuntu2.4) ...
Setting up binutils-common:amd64 (2.38-4ubuntu2.4) ...
Setting up libctf-nobfd0:amd64 (2.38-4ubuntu2.4) ...
Setting up libbinutils:amd64 (2.38-4ubuntu2.4) ...
Setting up libctf0:amd64 (2.38-4ubuntu2.4) ...
Setting up binutils-x86-64-linux-gnu (2.38-4ubuntu2.4) ...
Setting up binutils (2.38-4ubuntu2.4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...

(3)安装git

实际命令及结果如下:

$ sudo apt install git
[sudo] password for ph: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 11 not upgraded.
Need to get 4,147 kB of archives.
After this operation, 21.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 liberror-perl all 0.17029-1 [26.5 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 git-man all 1:2.34.1-1ubuntu1.10 [954 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.10 [3,166 kB]
Fetched 4,147 kB in 0s (10.8 MB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 200049 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.34.1-1ubuntu1.10_all.deb ...
Unpacking git-man (1:2.34.1-1ubuntu1.10) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.10_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.10) ...
Setting up liberror-perl (0.17029-1) ...
Setting up git-man (1:2.34.1-1ubuntu1.10) ...
Setting up git (1:2.34.1-1ubuntu1.10) ...
Processing triggers for man-db (2.10.2-1) ...

(4)安装git-lfs

实际命令及结果如下:

$ sudo apt install git-lfs
[sudo] password for ph: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  git-lfs
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 3,503 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 git-lfs amd64 3.0.2-1ubuntu0.2 [3,503 kB]
Fetched 3,503 kB in 0s (9,976 kB/s)
Selecting previously unselected package git-lfs.
(Reading database ... 201034 files and directories currently installed.)
Preparing to unpack .../git-lfs_3.0.2-1ubuntu0.2_amd64.deb ...
Unpacking git-lfs (3.0.2-1ubuntu0.2) ...
Setting up git-lfs (3.0.2-1ubuntu0.2) ...
Processing triggers for man-db (2.10.2-1) ...

(5)gnupg?

实际命令及结果如下:

$ sudo apt install gnupg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gnupg is already the newest version (2.2.27-3ubuntu2.1).
gnupg set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(6)flex

实际命令及结果如下:

$ sudo apt install flex
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gcc gcc-11 libasan6 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libfl-dev libfl2 libgcc-11-dev libitm1 liblsan0 libnsl-dev libsigsegv2 libtirpc-dev libtsan0
  libubsan1 linux-libc-dev m4 manpages-dev rpcsvc-proto
Suggested packages:
  bison build-essential flex-doc gcc-multilib make autoconf automake libtool gcc-doc gcc-11-multilib gcc-11-doc gcc-11-locales glibc-doc m4-doc
The following NEW packages will be installed:
  flex gcc gcc-11 libasan6 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libfl-dev libfl2 libgcc-11-dev libitm1 liblsan0 libnsl-dev libsigsegv2 libtirpc-dev libtsan0
  libubsan1 linux-libc-dev m4 manpages-dev rpcsvc-proto
0 upgraded, 23 newly installed, 0 to remove and 11 not upgraded.
Need to get 36.1 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libsigsegv2 amd64 2.13-1ubuntu3 [14.6 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 m4 amd64 1.4.18-5ubuntu2 [199 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 flex amd64 2.6.4-8build2 [307 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.3.0-1ubuntu1~22.04 [48.3 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libitm1 amd64 12.3.0-1ubuntu1~22.04 [30.2 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libasan6 amd64 11.4.0-1ubuntu1~22.04 [2,282 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 liblsan0 amd64 12.3.0-1ubuntu1~22.04 [1,069 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtsan0 amd64 11.4.0-1ubuntu1~22.04 [2,260 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libubsan1 amd64 12.3.0-1ubuntu1~22.04 [976 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,517 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.4.0-1ubuntu1~22.04 [20.1 MB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.5 [20.3 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.5 [28.9 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-91.101 [1,332 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.5 [2,098 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfl2 amd64 2.6.4-8build2 [10.7 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfl-dev amd64 2.6.4-8build2 [6,236 B]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 manpages-dev all 5.10-1ubuntu1 [2,309 kB]
Fetched 36.1 MB in 2s (23.4 MB/s)        
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 201081 files and directories currently installed.)
Preparing to unpack .../00-libsigsegv2_2.13-1ubuntu3_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.13-1ubuntu3) ...
Selecting previously unselected package m4.
Preparing to unpack .../01-m4_1.4.18-5ubuntu2_amd64.deb ...
Unpacking m4 (1.4.18-5ubuntu2) ...
Selecting previously unselected package flex.
Preparing to unpack .../02-flex_2.6.4-8build2_amd64.deb ...
Unpacking flex (2.6.4-8build2) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../03-libcc1-0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../04-libitm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../05-libasan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../06-liblsan0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../07-libtsan0_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../08-libubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../09-libgcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../10-gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../11-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../12-libc-dev-bin_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.5) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../13-libc-devtools_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.5) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../14-linux-libc-dev_5.15.0-91.101_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-91.101) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../15-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../16-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../17-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../18-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../19-libc6-dev_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.5) ...
Selecting previously unselected package libfl2:amd64.
Preparing to unpack .../20-libfl2_2.6.4-8build2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-8build2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../21-libfl-dev_2.6.4-8build2_amd64.deb ...
Unpacking libfl-dev:amd64 (2.6.4-8build2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../22-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up linux-libc-dev:amd64 (5.15.0-91.101) ...
Setting up libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up libsigsegv2:amd64 (2.13-1ubuntu3) ...
Setting up libfl2:amd64 (2.6.4-8build2) ...
Setting up libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libc-dev-bin (2.35-0ubuntu3.5) ...
Setting up libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libc-devtools (2.35-0ubuntu3.5) ...
Setting up libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up m4 (1.4.18-5ubuntu2) ...
Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.5) ...
Setting up flex (2.6.4-8build2) ...
Setting up libfl-dev:amd64 (2.6.4-8build2) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...

(7)bison

实际命令及结果如下:

$ sudo apt install bison
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  bison-doc
The following NEW packages will be installed:
  bison
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 748 kB of archives.
After this operation, 2,519 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 bison amd64 2:3.8.2+dfsg-1build1 [748 kB]
Fetched 748 kB in 0s (2,872 kB/s)
Selecting previously unselected package bison.
(Reading database ... 205347 files and directories currently installed.)
Preparing to unpack .../bison_2%3a3.8.2+dfsg-1build1_amd64.deb ...
Unpacking bison (2:3.8.2+dfsg-1build1) ...
Setting up bison (2:3.8.2+dfsg-1build1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Processing triggers for man-db (2.10.2-1) ...

(8)gperf?

实际命令及结果如下:

$ sudo apt install gperf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  gperf
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 103 kB of archives.
After this operation, 270 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 gperf amd64 3.1-1build1 [103 kB]
Fetched 103 kB in 0s (488 kB/s) 
Selecting previously unselected package gperf.
(Reading database ... 205463 files and directories currently installed.)
Preparing to unpack .../gperf_3.1-1build1_amd64.deb ...
Unpacking gperf (3.1-1build1) ...
Setting up gperf (3.1-1build1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...

(9)build-essential

实际命令及结果如下:

$ sudo apt install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dpkg-dev fakeroot g++ g++-11 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfakeroot libfile-fcntllock-perl libstdc++-11-dev
  lto-disabled-list make
Suggested packages:
  debian-keyring g++-multilib g++-11-multilib gcc-11-doc bzr libstdc++-11-doc make-doc
The following NEW packages will be installed:
  build-essential dpkg-dev fakeroot g++ g++-11 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libfakeroot libfile-fcntllock-perl
  libstdc++-11-dev lto-disabled-list make
0 upgraded, 14 newly installed, 0 to remove and 11 not upgraded.
Need to get 15.1 MB of archives.
After this operation, 55.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libstdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,101 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 g++-11 amd64 11.4.0-1ubuntu1~22.04 [11.4 MB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1,412 B]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libdpkg-perl all 1.21.1ubuntu2.2 [237 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 lto-disabled-list all 24 [12.5 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 dpkg-dev all 1.21.1ubuntu2.2 [922 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 build-essential amd64 12.9ubuntu3 [4,744 B]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfakeroot amd64 1.28-1ubuntu1 [31.5 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 fakeroot amd64 1.28-1ubuntu1 [60.4 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6build3 [11.9 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfile-fcntllock-perl amd64 0.22-3build7 [33.9 kB]
Fetched 15.1 MB in 1s (16.4 MB/s)                  
Selecting previously unselected package libstdc++-11-dev:amd64.
(Reading database ... 205477 files and directories currently installed.)
Preparing to unpack .../00-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11.
Preparing to unpack .../01-g++-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../02-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../03-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../04-libdpkg-perl_1.21.1ubuntu2.2_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.2) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../05-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../06-dpkg-dev_1.21.1ubuntu2.2_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.2) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../07-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../08-libfakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.28-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../09-fakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.28-1ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../10-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../11-libalgorithm-diff-xs-perl_0.04-6build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../12-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../13-libfile-fcntllock-perl_0.22-3build7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build7) ...
Setting up lto-disabled-list (24) ...
Setting up libfile-fcntllock-perl (0.22-3build7) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up libfakeroot:amd64 (1.28-1ubuntu1) ...
Setting up fakeroot (1.28-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up make (4.3-4.1build1) ...
Setting up libdpkg-perl (1.21.1ubuntu2.2) ...
Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up libalgorithm-diff-xs-perl (0.04-6build3) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up g++-11 (11.4.0-1ubuntu1~22.04) ...
Setting up dpkg-dev (1.21.1ubuntu2.2) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(10)zip

实际命令及结果如下:

$ sudo apt install zip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
zip is already the newest version (3.0-12build2).
zip set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(11)curl

实际命令及结果如下:

$ sudo apt install curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  curl
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 194 kB of archives.
After this operation, 454 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.15 [194 kB]
Fetched 194 kB in 1s (153 kB/s)
Selecting previously unselected package curl.
(Reading database ... 206872 files and directories currently installed.)
Preparing to unpack .../curl_7.81.0-1ubuntu1.15_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.15) ...
Setting up curl (7.81.0-1ubuntu1.15) ...
Processing triggers for man-db (2.10.2-1) ...

(12)zlib1g-dev

实际命令及结果如下:

$ sudo apt install zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  zlib1g-dev
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 164 kB of archives.
After this operation, 606 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
Fetched 164 kB in 0s (753 kB/s)    
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ... 206879 files and directories currently installed.)
Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Processing triggers for man-db (2.10.2-1) ...

(13)gcc-multilib

实际命令及结果如下:

$ sudo apt install gcc-multilib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gcc-11-multilib lib32asan6 lib32atomic1 lib32gcc-11-dev lib32gcc-s1 lib32gomp1 lib32itm1 lib32quadmath0 lib32stdc++6 lib32ubsan1 libc6-dev-i386 libc6-dev-x32 libc6-i386
  libc6-x32 libx32asan6 libx32atomic1 libx32gcc-11-dev libx32gcc-s1 libx32gomp1 libx32itm1 libx32quadmath0 libx32stdc++6 libx32ubsan1
The following NEW packages will be installed:
  gcc-11-multilib gcc-multilib lib32asan6 lib32atomic1 lib32gcc-11-dev lib32gcc-s1 lib32gomp1 lib32itm1 lib32quadmath0 lib32stdc++6 lib32ubsan1 libc6-dev-i386 libc6-dev-x32
  libc6-i386 libc6-x32 libx32asan6 libx32atomic1 libx32gcc-11-dev libx32gcc-s1 libx32gomp1 libx32itm1 libx32quadmath0 libx32stdc++6 libx32ubsan1
0 upgraded, 24 newly installed, 0 to remove and 11 not upgraded.
Need to get 21.8 MB of archives.
After this operation, 82.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-i386 amd64 2.35-0ubuntu3.5 [2,837 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-dev-i386 amd64 2.35-0ubuntu3.5 [1,445 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-x32 amd64 2.35-0ubuntu3.5 [2,978 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-dev-x32 amd64 2.35-0ubuntu3.5 [1,632 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32gcc-s1 amd64 12.3.0-1ubuntu1~22.04 [63.9 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32gcc-s1 amd64 12.3.0-1ubuntu1~22.04 [54.0 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32gomp1 amd64 12.3.0-1ubuntu1~22.04 [133 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32gomp1 amd64 12.3.0-1ubuntu1~22.04 [127 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32itm1 amd64 12.3.0-1ubuntu1~22.04 [32.0 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32itm1 amd64 12.3.0-1ubuntu1~22.04 [30.2 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32atomic1 amd64 12.3.0-1ubuntu1~22.04 [8,500 B]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32atomic1 amd64 12.3.0-1ubuntu1~22.04 [10.2 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32asan6 amd64 11.4.0-1ubuntu1~22.04 [2,154 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32asan6 amd64 11.4.0-1ubuntu1~22.04 [2,128 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32stdc++6 amd64 12.3.0-1ubuntu1~22.04 [740 kB]
Get:16 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32ubsan1 amd64 12.3.0-1ubuntu1~22.04 [959 kB]
Get:17 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32stdc++6 amd64 12.3.0-1ubuntu1~22.04 [682 kB]
Get:18 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32ubsan1 amd64 12.3.0-1ubuntu1~22.04 [963 kB]
Get:19 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32quadmath0 amd64 12.3.0-1ubuntu1~22.04 [244 kB]
Get:20 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32quadmath0 amd64 12.3.0-1ubuntu1~22.04 [156 kB]
Get:21 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32gcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,339 kB]
Get:22 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32gcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,107 kB]
Get:23 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-multilib amd64 11.4.0-1ubuntu1~22.04 [876 B]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc-multilib amd64 4:11.2.0-1ubuntu1 [1,382 B]
Fetched 21.8 MB in 1s (22.0 MB/s)   
Selecting previously unselected package libc6-i386.
(Reading database ... 206908 files and directories currently installed.)
Preparing to unpack .../00-libc6-i386_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-i386 (2.35-0ubuntu3.5) ...
Selecting previously unselected package libc6-dev-i386.
Preparing to unpack .../01-libc6-dev-i386_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-dev-i386 (2.35-0ubuntu3.5) ...
Selecting previously unselected package libc6-x32.
Preparing to unpack .../02-libc6-x32_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-x32 (2.35-0ubuntu3.5) ...
Selecting previously unselected package libc6-dev-x32.
Preparing to unpack .../03-libc6-dev-x32_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-dev-x32 (2.35-0ubuntu3.5) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../04-lib32gcc-s1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32gcc-s1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32gcc-s1.
Preparing to unpack .../05-libx32gcc-s1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32gcc-s1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32gomp1.
Preparing to unpack .../06-lib32gomp1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32gomp1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32gomp1.
Preparing to unpack .../07-libx32gomp1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32gomp1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32itm1.
Preparing to unpack .../08-lib32itm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32itm1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32itm1.
Preparing to unpack .../09-libx32itm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32itm1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32atomic1.
Preparing to unpack .../10-lib32atomic1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32atomic1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32atomic1.
Preparing to unpack .../11-libx32atomic1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32atomic1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32asan6.
Preparing to unpack .../12-lib32asan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32asan6 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32asan6.
Preparing to unpack .../13-libx32asan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32asan6 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../14-lib32stdc++6_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32stdc++6 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32ubsan1.
Preparing to unpack .../15-lib32ubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32ubsan1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32stdc++6.
Preparing to unpack .../16-libx32stdc++6_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32stdc++6 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32ubsan1.
Preparing to unpack .../17-libx32ubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32ubsan1 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32quadmath0.
Preparing to unpack .../18-lib32quadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32quadmath0 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32quadmath0.
Preparing to unpack .../19-libx32quadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32quadmath0 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package lib32gcc-11-dev.
Preparing to unpack .../20-lib32gcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32gcc-11-dev (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32gcc-11-dev.
Preparing to unpack .../21-libx32gcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32gcc-11-dev (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11-multilib.
Preparing to unpack .../22-gcc-11-multilib_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11-multilib (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-multilib.
Preparing to unpack .../23-gcc-multilib_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc-multilib (4:11.2.0-1ubuntu1) ...
Setting up libc6-x32 (2.35-0ubuntu3.5) ...
Setting up libx32gomp1 (12.3.0-1ubuntu1~22.04) ...
Setting up libc6-i386 (2.35-0ubuntu3.5) ...
Setting up libx32quadmath0 (12.3.0-1ubuntu1~22.04) ...
Setting up lib32atomic1 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32atomic1 (12.3.0-1ubuntu1~22.04) ...
Setting up libc6-dev-i386 (2.35-0ubuntu3.5) ...
Setting up lib32itm1 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32gcc-s1 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32itm1 (12.3.0-1ubuntu1~22.04) ...
Setting up libc6-dev-x32 (2.35-0ubuntu3.5) ...
Setting up lib32gomp1 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32asan6 (11.4.0-1ubuntu1~22.04) ...
Setting up lib32gcc-s1 (12.3.0-1ubuntu1~22.04) ...
Setting up lib32stdc++6 (12.3.0-1ubuntu1~22.04) ...
Setting up lib32asan6 (11.4.0-1ubuntu1~22.04) ...
Setting up lib32quadmath0 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32stdc++6 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32ubsan1 (12.3.0-1ubuntu1~22.04) ...
Setting up lib32ubsan1 (12.3.0-1ubuntu1~22.04) ...
Setting up libx32gcc-11-dev (11.4.0-1ubuntu1~22.04) ...
Setting up lib32gcc-11-dev (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-11-multilib (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-multilib (4:11.2.0-1ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(14)g++-multilib

实际命令及结果如下:

$ sudo apt install g++-multilib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  g++-11-multilib lib32stdc++-11-dev libx32stdc++-11-dev
Suggested packages:
  lib32stdc++6-11-dbg libx32stdc++6-11-dbg
The following NEW packages will be installed:
  g++-11-multilib g++-multilib lib32stdc++-11-dev libx32stdc++-11-dev
0 upgraded, 4 newly installed, 0 to remove and 11 not upgraded.
Need to get 1,897 kB of archives.
After this operation, 21.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32stdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [989 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx32stdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [906 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 g++-11-multilib amd64 11.4.0-1ubuntu1~22.04 [890 B]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 g++-multilib amd64 4:11.2.0-1ubuntu1 [854 B]
Fetched 1,897 kB in 0s (5,940 kB/s)
Selecting previously unselected package lib32stdc++-11-dev.
(Reading database ... 207765 files and directories currently installed.)
Preparing to unpack .../lib32stdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking lib32stdc++-11-dev (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libx32stdc++-11-dev.
Preparing to unpack .../libx32stdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libx32stdc++-11-dev (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11-multilib.
Preparing to unpack .../g++-11-multilib_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11-multilib (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-multilib.
Preparing to unpack .../g++-multilib_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++-multilib (4:11.2.0-1ubuntu1) ...
Setting up lib32stdc++-11-dev (11.4.0-1ubuntu1~22.04) ...
Setting up libx32stdc++-11-dev (11.4.0-1ubuntu1~22.04) ...
Setting up g++-11-multilib (11.4.0-1ubuntu1~22.04) ...
Setting up g++-multilib (4:11.2.0-1ubuntu1) ...

(15)libc6-dev-i386

实际命令及结果如下:

$ sudo apt install libc6-dev-i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libc6-dev-i386 is already the newest version (2.35-0ubuntu3.5).
libc6-dev-i386 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(16)lib32ncurses5-dev

实际命令及结果如下:

$ sudo apt install lib32ncurses5-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'lib32ncurses-dev' instead of 'lib32ncurses5-dev'
The following additional packages will be installed:
  lib32ncurses6 lib32ncursesw6 lib32tinfo6 libncurses-dev
Suggested packages:
  ncurses-doc
The following NEW packages will be installed:
  lib32ncurses-dev lib32ncurses6 lib32ncursesw6 lib32tinfo6 libncurses-dev
0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
Need to get 1,108 kB of archives.
After this operation, 5,488 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32tinfo6 amd64 6.3-2ubuntu0.1 [103 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32ncurses6 amd64 6.3-2ubuntu0.1 [118 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32ncursesw6 amd64 6.3-2ubuntu0.1 [157 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libncurses-dev amd64 6.3-2ubuntu0.1 [381 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32ncurses-dev amd64 6.3-2ubuntu0.1 [350 kB]
Fetched 1,108 kB in 0s (3,928 kB/s)   
Selecting previously unselected package lib32tinfo6.
(Reading database ... 207831 files and directories currently installed.)
Preparing to unpack .../lib32tinfo6_6.3-2ubuntu0.1_amd64.deb ...
Unpacking lib32tinfo6 (6.3-2ubuntu0.1) ...
Selecting previously unselected package lib32ncurses6.
Preparing to unpack .../lib32ncurses6_6.3-2ubuntu0.1_amd64.deb ...
Unpacking lib32ncurses6 (6.3-2ubuntu0.1) ...
Selecting previously unselected package lib32ncursesw6.
Preparing to unpack .../lib32ncursesw6_6.3-2ubuntu0.1_amd64.deb ...
Unpacking lib32ncursesw6 (6.3-2ubuntu0.1) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../libncurses-dev_6.3-2ubuntu0.1_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.3-2ubuntu0.1) ...
Selecting previously unselected package lib32ncurses-dev.
Preparing to unpack .../lib32ncurses-dev_6.3-2ubuntu0.1_amd64.deb ...
Unpacking lib32ncurses-dev (6.3-2ubuntu0.1) ...
Setting up libncurses-dev:amd64 (6.3-2ubuntu0.1) ...
Setting up lib32tinfo6 (6.3-2ubuntu0.1) ...
Setting up lib32ncurses6 (6.3-2ubuntu0.1) ...
Setting up lib32ncursesw6 (6.3-2ubuntu0.1) ...
Setting up lib32ncurses-dev (6.3-2ubuntu0.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(17)x11proto-core-dev

实际命令及结果如下:

$ sudo apt install x11proto-core-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  x11proto-dev xorg-sgml-doctools
The following NEW packages will be installed:
  x11proto-core-dev x11proto-dev xorg-sgml-doctools
0 upgraded, 3 newly installed, 0 to remove and 11 not upgraded.
Need to get 618 kB of archives.
After this operation, 1,811 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 x11proto-dev all 2021.5-1 [604 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 x11proto-core-dev all 2021.5-1 [2,438 B]
Fetched 618 kB in 0s (2,369 kB/s)       
Selecting previously unselected package xorg-sgml-doctools.
(Reading database ... 207972 files and directories currently installed.)
Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1.1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1.1) ...
Selecting previously unselected package x11proto-dev.
Preparing to unpack .../x11proto-dev_2021.5-1_all.deb ...
Unpacking x11proto-dev (2021.5-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../x11proto-core-dev_2021.5-1_all.deb ...
Unpacking x11proto-core-dev (2021.5-1) ...
Setting up xorg-sgml-doctools (1:1.11-1.1) ...
Processing triggers for sgml-base (1.30) ...
Setting up x11proto-dev (2021.5-1) ...
Setting up x11proto-core-dev (2021.5-1) ...

(18)libx11-dev

实际命令及结果如下:

$ sudo apt install libx11-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libpthread-stubs0-dev libxau-dev libxcb1-dev libxdmcp-dev xtrans-dev
Suggested packages:
  libx11-doc libxcb-doc
The following NEW packages will be installed:
  libpthread-stubs0-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev xtrans-dev
0 upgraded, 6 newly installed, 0 to remove and 11 not upgraded.
Need to get 942 kB of archives.
After this operation, 3,697 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libpthread-stubs0-dev amd64 0.4-1build2 [5,516 B]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxau-dev amd64 1:1.0.9-1build5 [9,724 B]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxdmcp-dev amd64 1:1.1.3-0ubuntu5 [26.5 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 xtrans-dev all 1.4.0-1 [68.9 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxcb1-dev amd64 1.14-3ubuntu3 [86.5 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libx11-dev amd64 2:1.7.5-1ubuntu0.3 [744 kB]
Fetched 942 kB in 0s (3,310 kB/s)   
Selecting previously unselected package libpthread-stubs0-dev:amd64.
(Reading database ... 208192 files and directories currently installed.)
Preparing to unpack .../0-libpthread-stubs0-dev_0.4-1build2_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.4-1build2) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../1-libxau-dev_1%3a1.0.9-1build5_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../2-libxdmcp-dev_1%3a1.1.3-0ubuntu5_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../3-xtrans-dev_1.4.0-1_all.deb ...
Unpacking xtrans-dev (1.4.0-1) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../4-libxcb1-dev_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../5-libx11-dev_2%3a1.7.5-1ubuntu0.3_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.7.5-1ubuntu0.3) ...
Setting up libxau-dev:amd64 (1:1.0.9-1build5) ...
Setting up libpthread-stubs0-dev:amd64 (0.4-1build2) ...
Setting up libxdmcp-dev:amd64 (1:1.1.3-0ubuntu5) ...
Setting up xtrans-dev (1.4.0-1) ...
Setting up libxcb1-dev:amd64 (1.14-3ubuntu3) ...
Setting up libx11-dev:amd64 (2:1.7.5-1ubuntu0.3) ...
Processing triggers for man-db (2.10.2-1) ...

(19)lib32z1-dev

实际命令及结果如下:

$ sudo apt install lib32z1-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  lib32z1
The following NEW packages will be installed:
  lib32z1 lib32z1-dev
0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
Need to get 122 kB of archives.
After this operation, 366 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32z1 amd64 1:1.2.11.dfsg-2ubuntu9.2 [59.8 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 lib32z1-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [62.1 kB]
Fetched 122 kB in 0s (541 kB/s)        
Selecting previously unselected package lib32z1.
(Reading database ... 208269 files and directories currently installed.)
Preparing to unpack .../lib32z1_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking lib32z1 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package lib32z1-dev.
Preparing to unpack .../lib32z1-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking lib32z1-dev (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up lib32z1 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up lib32z1-dev (1:1.2.11.dfsg-2ubuntu9.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(20)ccache

实际命令及结果如下:

$ sudo apt install ccache
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libhiredis0.14
Suggested packages:
  distcc | icecc
The following NEW packages will be installed:
  ccache libhiredis0.14
0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
Need to get 528 kB of archives.
After this operation, 1,469 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libhiredis0.14 amd64 0.14.1-2 [32.8 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 ccache amd64 4.5.1-1 [495 kB]
Fetched 528 kB in 0s (2,026 kB/s)
Selecting previously unselected package libhiredis0.14:amd64.
(Reading database ... 208280 files and directories currently installed.)
Preparing to unpack .../libhiredis0.14_0.14.1-2_amd64.deb ...
Unpacking libhiredis0.14:amd64 (0.14.1-2) ...
Selecting previously unselected package ccache.
Preparing to unpack .../ccache_4.5.1-1_amd64.deb ...
Unpacking ccache (4.5.1-1) ...
Setting up libhiredis0.14:amd64 (0.14.1-2) ...
Setting up ccache (4.5.1-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Processing triggers for man-db (2.10.2-1) ...

(21)libgl1-mesa-dev

实际命令及结果如下:

$ sudo apt install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libegl-dev libgl-dev libgles-dev libgles1 libglvnd-core-dev libglvnd-dev libglx-dev libopengl-dev
The following NEW packages will be installed:
  libegl-dev libgl-dev libgl1-mesa-dev libgles-dev libgles1 libglvnd-core-dev libglvnd-dev libglx-dev libopengl-dev
0 upgraded, 9 newly installed, 0 to remove and 11 not upgraded.
Need to get 220 kB of archives.
After this operation, 2,576 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libglx-dev amd64 1.4.0-1 [14.1 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgl-dev amd64 1.4.0-1 [101 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libegl-dev amd64 1.4.0-1 [18.0 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgles1 amd64 1.4.0-1 [11.5 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libgles-dev amd64 1.4.0-1 [49.4 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libopengl-dev amd64 1.4.0-1 [3,400 B]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libglvnd-core-dev amd64 1.4.0-1 [12.7 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libglvnd-dev amd64 1.4.0-1 [3,162 B]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgl1-mesa-dev amd64 23.0.4-0ubuntu1~22.04.1 [6,510 B]
Fetched 220 kB in 0s (912 kB/s)             
Selecting previously unselected package libglx-dev:amd64.
(Reading database ... 208301 files and directories currently installed.)
Preparing to unpack .../0-libglx-dev_1.4.0-1_amd64.deb ...
Unpacking libglx-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libgl-dev:amd64.
Preparing to unpack .../1-libgl-dev_1.4.0-1_amd64.deb ...
Unpacking libgl-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libegl-dev:amd64.
Preparing to unpack .../2-libegl-dev_1.4.0-1_amd64.deb ...
Unpacking libegl-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libgles1:amd64.
Preparing to unpack .../3-libgles1_1.4.0-1_amd64.deb ...
Unpacking libgles1:amd64 (1.4.0-1) ...
Selecting previously unselected package libgles-dev:amd64.
Preparing to unpack .../4-libgles-dev_1.4.0-1_amd64.deb ...
Unpacking libgles-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libopengl-dev:amd64.
Preparing to unpack .../5-libopengl-dev_1.4.0-1_amd64.deb ...
Unpacking libopengl-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libglvnd-core-dev:amd64.
Preparing to unpack .../6-libglvnd-core-dev_1.4.0-1_amd64.deb ...
Unpacking libglvnd-core-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libglvnd-dev:amd64.
Preparing to unpack .../7-libglvnd-dev_1.4.0-1_amd64.deb ...
Unpacking libglvnd-dev:amd64 (1.4.0-1) ...
Selecting previously unselected package libgl1-mesa-dev:amd64.
Preparing to unpack .../8-libgl1-mesa-dev_23.0.4-0ubuntu1~22.04.1_amd64.deb ...
Unpacking libgl1-mesa-dev:amd64 (23.0.4-0ubuntu1~22.04.1) ...
Setting up libglvnd-core-dev:amd64 (1.4.0-1) ...
Setting up libgles1:amd64 (1.4.0-1) ...
Setting up libglx-dev:amd64 (1.4.0-1) ...
Setting up libopengl-dev:amd64 (1.4.0-1) ...
Setting up libgl-dev:amd64 (1.4.0-1) ...
Setting up libegl-dev:amd64 (1.4.0-1) ...
Setting up libgles-dev:amd64 (1.4.0-1) ...
Setting up libglvnd-dev:amd64 (1.4.0-1) ...
Setting up libgl1-mesa-dev:amd64 (23.0.4-0ubuntu1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(22)?libxml2-utils

实际命令及结果如下:

$ sudo apt install libxml2-utils
[sudo] password for ph: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libxml2-utils
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 40.2 kB of archives.
After this operation, 207 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxml2-utils amd64 2.9.13+dfsg-1ubuntu0.3 [40.2 kB]
Fetched 40.2 kB in 0s (195 kB/s)         
Selecting previously unselected package libxml2-utils.
(Reading database ... 208394 files and directories currently installed.)
Preparing to unpack .../libxml2-utils_2.9.13+dfsg-1ubuntu0.3_amd64.deb ...
Unpacking libxml2-utils (2.9.13+dfsg-1ubuntu0.3) ...
Setting up libxml2-utils (2.9.13+dfsg-1ubuntu0.3) ...
Processing triggers for man-db (2.10.2-1) ...

(23)xsltproc

实际命令及结果如下:

$ sudo apt install xsltproc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  xsltproc
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 14.7 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 xsltproc amd64 1.1.34-4ubuntu0.22.04.1 [14.7 kB]
Fetched 14.7 kB in 0s (78.5 kB/s)
Selecting previously unselected package xsltproc.
(Reading database ... 208402 files and directories currently installed.)
Preparing to unpack .../xsltproc_1.1.34-4ubuntu0.22.04.1_amd64.deb ...
Unpacking xsltproc (1.1.34-4ubuntu0.22.04.1) ...
Setting up xsltproc (1.1.34-4ubuntu0.22.04.1) ...
Processing triggers for man-db (2.10.2-1) ...

(24)unzip?

实际命令及结果如下:

$ sudo apt install unzip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
unzip is already the newest version (6.0-26ubuntu3.1).
unzip set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(25)m4?

实际命令及结果如下:

$ sudo apt install m4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
m4 is already the newest version (1.4.18-5ubuntu2).
m4 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(26)bc

实际命令及结果如下:

$ sudo apt install bc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bc is already the newest version (1.07.1-3build1).
bc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(27)gnutls-bin

实际命令及结果如下:

$ sudo apt install gnutls-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libgnutls-dane0 libunbound8
The following NEW packages will be installed:
  gnutls-bin libgnutls-dane0 libunbound8
0 upgraded, 3 newly installed, 0 to remove and 11 not upgraded.
Need to get 675 kB of archives.
After this operation, 2,141 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libunbound8 amd64 1.13.1-1ubuntu5.3 [395 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libgnutls-dane0 amd64 3.7.3-4ubuntu1.3 [22.6 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 gnutls-bin amd64 3.7.3-4ubuntu1.3 [257 kB]
Fetched 675 kB in 0s (2,184 kB/s)     
Selecting previously unselected package libunbound8:amd64.
(Reading database ... 208412 files and directories currently installed.)
Preparing to unpack .../libunbound8_1.13.1-1ubuntu5.3_amd64.deb ...
Unpacking libunbound8:amd64 (1.13.1-1ubuntu5.3) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../libgnutls-dane0_3.7.3-4ubuntu1.3_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.7.3-4ubuntu1.3) ...
Selecting previously unselected package gnutls-bin.
Preparing to unpack .../gnutls-bin_3.7.3-4ubuntu1.3_amd64.deb ...
Unpacking gnutls-bin (3.7.3-4ubuntu1.3) ...
Setting up libunbound8:amd64 (1.13.1-1ubuntu5.3) ...
Setting up libgnutls-dane0:amd64 (3.7.3-4ubuntu1.3) ...
Setting up gnutls-bin (3.7.3-4ubuntu1.3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(28)python3.8

实际命令及结果如下:

$ sudo apt install python3.8
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3.8' has no installation candidate

(29)python3-pip

实际命令及结果如下:

$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.10-dev python3-dev python3-distutils python3-setuptools python3-wheel
  python3.10-dev
Suggested packages:
  apache2 | lighttpd | httpd python-setuptools-doc
The following NEW packages will be installed:
  javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.10-dev python3-dev python3-distutils python3-pip python3-setuptools
  python3-wheel python3.10-dev
0 upgraded, 13 newly installed, 0 to remove and 11 not upgraded.
Need to get 7,849 kB of archives.
After this operation, 33.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5,936 B]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libexpat1-dev amd64 2.4.7-1ubuntu0.2 [147 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-underscore all 1.13.2~dfsg-2 [118 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libjs-sphinxdoc all 4.3.2-1 [139 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-dev amd64 3.10.12-1~22.04.3 [4,762 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-dev amd64 3.10.6-1~22.04 [7,166 B]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-dev amd64 3.10.12-1~22.04.3 [507 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.8-1~22.04 [139 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-dev amd64 3.10.6-1~22.04 [26.0 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 python3-setuptools all 59.6.0-1.2ubuntu0.22.04.1 [339 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 python3-wheel all 0.37.1-2ubuntu0.22.04.1 [32.0 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.4 [1,305 kB]
Fetched 7,849 kB in 1s (10.6 MB/s)      
Selecting previously unselected package javascript-common.
(Reading database ... 208447 files and directories currently installed.)
Preparing to unpack .../00-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../01-libexpat1-dev_2.4.7-1ubuntu0.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../02-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../03-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../04-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../05-libpython3.10-dev_3.10.12-1~22.04.3_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.12-1~22.04.3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../06-libpython3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../07-python3.10-dev_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10-dev (3.10.12-1~22.04.3) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../08-python3-distutils_3.10.8-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.8-1~22.04) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../09-python3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../10-python3-setuptools_59.6.0-1.2ubuntu0.22.04.1_all.deb ...
Unpacking python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../11-python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../12-python3-pip_22.0.2+dfsg-1ubuntu0.4_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.4) ...
Setting up python3-distutils (3.10.8-1~22.04) ...
Setting up javascript-common (11+nmu1) ...
Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.3) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.4) ...
Setting up python3.10-dev (3.10.12-1~22.04.3) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up libpython3-dev:amd64 (3.10.6-1~22.04) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up python3-dev (3.10.6-1~22.04) ...
Processing triggers for man-db (2.10.2-1) ...

(30)ruby

实际命令及结果如下:

$ sudo apt install ruby
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fonts-lato libruby3.0 rake ruby-net-telnet ruby-rubygems ruby-webrick ruby-xmlrpc ruby3.0 rubygems-integration
Suggested packages:
  ri ruby-dev bundler
The following NEW packages will be installed:
  fonts-lato libruby3.0 rake ruby ruby-net-telnet ruby-rubygems ruby-webrick ruby-xmlrpc ruby3.0 rubygems-integration
0 upgraded, 10 newly installed, 0 to remove and 11 not upgraded.
Need to get 8,248 kB of archives.
After this operation, 37.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 fonts-lato all 2.0-2.1 [2,696 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 rubygems-integration all 1.18 [5,336 B]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 ruby3.0 amd64 3.0.2-7ubuntu2.4 [50.1 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 ruby-rubygems all 3.3.5-2 [228 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 ruby amd64 1:3.0~exp1 [5,100 B]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 rake all 13.0.6-2 [61.7 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 ruby-net-telnet all 0.1.1-2 [12.6 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 ruby-webrick all 1.7.0-3 [51.8 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 ruby-xmlrpc all 0.3.2-1ubuntu0.1 [24.9 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libruby3.0 amd64 3.0.2-7ubuntu2.4 [5,113 kB]
Fetched 8,248 kB in 1s (11.9 MB/s)     
Selecting previously unselected package fonts-lato.
(Reading database ... 209724 files and directories currently installed.)
Preparing to unpack .../0-fonts-lato_2.0-2.1_all.deb ...
Unpacking fonts-lato (2.0-2.1) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../1-rubygems-integration_1.18_all.deb ...
Unpacking rubygems-integration (1.18) ...
Selecting previously unselected package ruby3.0.
Preparing to unpack .../2-ruby3.0_3.0.2-7ubuntu2.4_amd64.deb ...
Unpacking ruby3.0 (3.0.2-7ubuntu2.4) ...
Selecting previously unselected package ruby-rubygems.
Preparing to unpack .../3-ruby-rubygems_3.3.5-2_all.deb ...
Unpacking ruby-rubygems (3.3.5-2) ...
Selecting previously unselected package ruby.
Preparing to unpack .../4-ruby_1%3a3.0~exp1_amd64.deb ...
Unpacking ruby (1:3.0~exp1) ...
Selecting previously unselected package rake.
Preparing to unpack .../5-rake_13.0.6-2_all.deb ...
Unpacking rake (13.0.6-2) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../6-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-webrick.
Preparing to unpack .../7-ruby-webrick_1.7.0-3_all.deb ...
Unpacking ruby-webrick (1.7.0-3) ...
Selecting previously unselected package ruby-xmlrpc.
Preparing to unpack .../8-ruby-xmlrpc_0.3.2-1ubuntu0.1_all.deb ...
Unpacking ruby-xmlrpc (0.3.2-1ubuntu0.1) ...
Selecting previously unselected package libruby3.0:amd64.
Preparing to unpack .../9-libruby3.0_3.0.2-7ubuntu2.4_amd64.deb ...
Unpacking libruby3.0:amd64 (3.0.2-7ubuntu2.4) ...
Setting up fonts-lato (2.0-2.1) ...
Setting up rubygems-integration (1.18) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up ruby-webrick (1.7.0-3) ...
Setting up ruby-xmlrpc (0.3.2-1ubuntu0.1) ...
Setting up rake (13.0.6-2) ...
Setting up libruby3.0:amd64 (3.0.2-7ubuntu2.4) ...
Setting up ruby3.0 (3.0.2-7ubuntu2.4) ...
Setting up ruby (1:3.0~exp1) ...
Setting up ruby-rubygems (3.3.5-2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

到此为止,是官网手册中提示要下载安装的依赖包。下边开始是笔者后来根据系统提示额外下载安装的包。

(31)openjdk-11-jdk

实际命令及结果如下:

$ sudo apt install openjdk-11-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni libice-dev libsm-dev libxt-dev openjdk-11-jdk-headless openjdk-11-jre
  openjdk-11-jre-headless
Suggested packages:
  default-jre libice-doc libsm-doc libxt-doc openjdk-11-demo openjdk-11-source visualvm fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni libice-dev libsm-dev libxt-dev openjdk-11-jdk openjdk-11-jdk-headless
  openjdk-11-jre openjdk-11-jre-headless
0 upgraded, 12 newly installed, 0 to remove and 11 not upgraded.
Need to get 120 MB of archives.
After this operation, 270 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 java-common all 0.72build2 [6,782 B]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 openjdk-11-jre-headless amd64 11.0.21+9-0ubuntu1~22.04 [42.5 MB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 ca-certificates-java all 20190909ubuntu1.2 [12.1 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 fonts-dejavu-extra all 2.37-2build1 [2,041 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libatk-wrapper-java all 0.38.0-5build1 [53.1 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libatk-wrapper-java-jni amd64 0.38.0-5build1 [49.0 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libice-dev amd64 2:1.0.10-1build2 [51.4 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libsm-dev amd64 2:1.2.3-1build2 [18.1 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxt-dev amd64 1:1.2.1-1 [396 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 openjdk-11-jre amd64 11.0.21+9-0ubuntu1~22.04 [214 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.21+9-0ubuntu1~22.04 [73.5 MB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 openjdk-11-jdk amd64 11.0.21+9-0ubuntu1~22.04 [1,327 kB]
Fetched 120 MB in 5s (25.8 MB/s)       
Selecting previously unselected package java-common.
(Reading database ... 212715 files and directories currently installed.)
Preparing to unpack .../00-java-common_0.72build2_all.deb ...
Unpacking java-common (0.72build2) ...
Selecting previously unselected package openjdk-11-jre-headless:amd64.
Preparing to unpack .../01-openjdk-11-jre-headless_11.0.21+9-0ubuntu1~22.04_amd64.deb ...
Unpacking openjdk-11-jre-headless:amd64 (11.0.21+9-0ubuntu1~22.04) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../02-ca-certificates-java_20190909ubuntu1.2_all.deb ...
Unpacking ca-certificates-java (20190909ubuntu1.2) ...
Selecting previously unselected package fonts-dejavu-extra.
Preparing to unpack .../03-fonts-dejavu-extra_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-extra (2.37-2build1) ...
Selecting previously unselected package libatk-wrapper-java.
Preparing to unpack .../04-libatk-wrapper-java_0.38.0-5build1_all.deb ...
Unpacking libatk-wrapper-java (0.38.0-5build1) ...
Selecting previously unselected package libatk-wrapper-java-jni:amd64.
Preparing to unpack .../05-libatk-wrapper-java-jni_0.38.0-5build1_amd64.deb ...
Unpacking libatk-wrapper-java-jni:amd64 (0.38.0-5build1) ...
Selecting previously unselected package libice-dev:amd64.
Preparing to unpack .../06-libice-dev_2%3a1.0.10-1build2_amd64.deb ...
Unpacking libice-dev:amd64 (2:1.0.10-1build2) ...
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../07-libsm-dev_2%3a1.2.3-1build2_amd64.deb ...
Unpacking libsm-dev:amd64 (2:1.2.3-1build2) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../08-libxt-dev_1%3a1.2.1-1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.2.1-1) ...
Selecting previously unselected package openjdk-11-jre:amd64.
Preparing to unpack .../09-openjdk-11-jre_11.0.21+9-0ubuntu1~22.04_amd64.deb ...
Unpacking openjdk-11-jre:amd64 (11.0.21+9-0ubuntu1~22.04) ...
Selecting previously unselected package openjdk-11-jdk-headless:amd64.
Preparing to unpack .../10-openjdk-11-jdk-headless_11.0.21+9-0ubuntu1~22.04_amd64.deb ...
Unpacking openjdk-11-jdk-headless:amd64 (11.0.21+9-0ubuntu1~22.04) ...
Selecting previously unselected package openjdk-11-jdk:amd64.
Preparing to unpack .../11-openjdk-11-jdk_11.0.21+9-0ubuntu1~22.04_amd64.deb ...
Unpacking openjdk-11-jdk:amd64 (11.0.21+9-0ubuntu1~22.04) ...
Setting up java-common (0.72build2) ...
Setting up libice-dev:amd64 (2:1.0.10-1build2) ...
Setting up libsm-dev:amd64 (2:1.2.3-1build2) ...
Setting up libxt-dev:amd64 (1:1.2.1-1) ...
Setting up fonts-dejavu-extra (2.37-2build1) ...
Setting up libatk-wrapper-java (0.38.0-5build1) ...
Setting up libatk-wrapper-java-jni:amd64 (0.38.0-5build1) ...
Setting up openjdk-11-jre-headless:amd64 (11.0.21+9-0ubuntu1~22.04) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
Setting up openjdk-11-jre:amd64 (11.0.21+9-0ubuntu1~22.04) ...
Setting up openjdk-11-jdk-headless:amd64 (11.0.21+9-0ubuntu1~22.04) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jfr to provide /usr/bin/jfr (jfr) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
Setting up openjdk-11-jdk:amd64 (11.0.21+9-0ubuntu1~22.04) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
Setting up ca-certificates-java (20190909ubuntu1.2) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:GTS_Root_R1.pem
Adding debian:D-TRUST_BR_Root_CA_1_2020.pem
Adding debian:UCA_Global_G2_Root.pem
Adding debian:GlobalSign_Root_R46.pem
Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:USERTrust_ECC_Certification_Authority.pem
Adding debian:NAVER_Global_Root_Certification_Authority.pem
Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem
Adding debian:Starfield_Class_2_CA.pem
Adding debian:XRamp_Global_CA_Root.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
Adding debian:ePKI_Root_Certification_Authority.pem
Adding debian:certSIGN_ROOT_CA.pem
Adding debian:ISRG_Root_X2.pem
Adding debian:Hongkong_Post_Root_CA_3.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:COMODO_Certification_Authority.pem
Adding debian:Entrust_Root_Certification_Authority_-_G4.pem
Adding debian:AffirmTrust_Premium_ECC.pem
Adding debian:GLOBALTRUST_2020.pem
Adding debian:Hongkong_Post_Root_CA_1.pem
Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem
Adding debian:emSign_Root_CA_-_C1.pem
Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068_2.pem
Adding debian:Secure_Global_CA.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:Certum_EC-384_CA.pem
Adding debian:certSIGN_Root_CA_G2.pem
Adding debian:QuoVadis_Root_CA_2.pem
Adding debian:vTrus_ECC_Root_CA.pem
Adding debian:Microsec_e-Szigno_Root_CA_2009.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:COMODO_ECC_Certification_Authority.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
Adding debian:IdenTrust_Commercial_Root_CA_1.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:UCA_Extended_Validation_Root.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:e-Szigno_Root_CA_2017.pem
Adding debian:Security_Communication_Root_CA.pem
Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem
Adding debian:AC_RAIZ_FNMT-RCM.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:NetLock_Arany_=Class_Gold=_F?tanúsítvány.pem
Adding debian:AffirmTrust_Commercial.pem
Adding debian:Entrust_Root_Certification_Authority.pem
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:GlobalSign_Root_CA_-_R3.pem
Adding debian:SwissSign_Silver_CA_-_G2.pem
Adding debian:GlobalSign_Root_CA.pem
Adding debian:TWCA_Global_Root_CA.pem
Adding debian:TWCA_Root_Certification_Authority.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem
Adding debian:SecureTrust_CA.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem
Adding debian:AffirmTrust_Networking.pem
Adding debian:E-Tugra_Global_Root_CA_RSA_v3.pem
Adding debian:GTS_Root_R4.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Adding debian:SSL.com_Root_Certification_Authority_ECC.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:Actalis_Authentication_Root_CA.pem
Adding debian:TunTrust_Root_CA.pem
Adding debian:Certum_Trusted_Root_CA.pem
Adding debian:Trustwave_Global_Certification_Authority.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
Adding debian:ACCVRAIZ1.pem
Adding debian:Security_Communication_ECC_RootCA1.pem
Adding debian:Go_Daddy_Class_2_CA.pem
Adding debian:TeliaSonera_Root_CA_v1.pem
Adding debian:HiPKI_Root_CA_-_G1.pem
Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem
Adding debian:Amazon_Root_CA_1.pem
Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem
Adding debian:Certigna_Root_CA.pem
Adding debian:emSign_Root_CA_-_G1.pem
Adding debian:Security_Communication_RootCA2.pem
Adding debian:GTS_Root_R2.pem
Adding debian:Baltimore_CyberTrust_Root.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:emSign_ECC_Root_CA_-_C3.pem
Adding debian:Telia_Root_CA_v2.pem
Adding debian:GTS_Root_R3.pem
Adding debian:Certainly_Root_R1.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem
Adding debian:D-TRUST_EV_Root_CA_1_2020.pem
Adding debian:SSL.com_Root_Certification_Authority_RSA.pem
Adding debian:QuoVadis_Root_CA_1_G3.pem
Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
Adding debian:vTrus_Root_CA.pem
Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
Adding debian:GlobalSign_Root_CA_-_R6.pem
Adding debian:USERTrust_RSA_Certification_Authority.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:QuoVadis_Root_CA_3_G3.pem
Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem
Adding debian:SwissSign_Gold_CA_-_G2.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:Amazon_Root_CA_4.pem
Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem
Adding debian:E-Tugra_Global_Root_CA_ECC_v3.pem
Adding debian:ANF_Secure_Server_Root_CA.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:SecureSign_RootCA11.pem
Adding debian:Amazon_Root_CA_3.pem
Adding debian:GlobalSign_Root_E46.pem
Adding debian:T-TeleSec_GlobalRoot_Class_2.pem
Adding debian:Certainly_Root_E1.pem
Adding debian:Atos_TrustedRoot_2011.pem
Adding debian:Buypass_Class_2_Root_CA.pem
Adding debian:SZAFIR_ROOT_CA2.pem
Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem
Adding debian:ISRG_Root_X1.pem
Adding debian:Izenpe.com.pem
Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:QuoVadis_Root_CA_3.pem
Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem
Adding debian:Certigna.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:emSign_ECC_Root_CA_-_G3.pem
Adding debian:Security_Communication_RootCA3.pem
Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
done.
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.

(32)?libxt-dev

实际命令及结果如下:

$ sudo apt install libxt-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxt-dev is already the newest version (1:1.2.1-1).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(33)libx11-dev

实际命令及结果如下:

$ sudo apt-get install libx11-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libx11-dev is already the newest version (2:1.7.5-1ubuntu0.3).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(34)xorg-dev

实际命令及结果如下:

$ sudo apt install xorg-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libbrotli-dev libdmx-dev libdmx1 libdrm-dev libfontconfig-dev libfontconfig1-dev libfontenc-dev libfreetype-dev libfreetype6-dev libfs-dev libfs6 libpciaccess-dev
  libpixman-1-dev libpng-dev libpng-tools libxaw7-dev libxcomposite-dev libxcursor-dev libxcvt-dev libxdamage-dev libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev
  libxinerama-dev libxkbfile-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxtst-dev libxv-dev libxvmc-dev
  libxxf86dga-dev libxxf86vm-dev mesa-common-dev pkg-config uuid-dev xserver-xorg-dev
Suggested packages:
  freetype2-doc libxaw-doc libxext-doc
The following NEW packages will be installed:
  libbrotli-dev libdmx-dev libdmx1 libdrm-dev libfontconfig-dev libfontconfig1-dev libfontenc-dev libfreetype-dev libfreetype6-dev libfs-dev libfs6 libpciaccess-dev
  libpixman-1-dev libpng-dev libpng-tools libxaw7-dev libxcomposite-dev libxcursor-dev libxcvt-dev libxdamage-dev libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev
  libxinerama-dev libxkbfile-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxtst-dev libxv-dev libxvmc-dev
  libxxf86dga-dev libxxf86vm-dev mesa-common-dev pkg-config uuid-dev xorg-dev xserver-xorg-dev
0 upgraded, 45 newly installed, 0 to remove and 11 not upgraded.
Need to get 5,527 kB of archives.
After this operation, 16.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libbrotli-dev amd64 1.0.9-2build6 [337 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libdmx1 amd64 1:1.1.4-2build2 [9,372 B]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libdmx-dev amd64 1:1.1.4-2build2 [33.5 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libpciaccess-dev amd64 0.16-3 [21.9 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-dev amd64 2.4.113-2~ubuntu0.22.04.1 [292 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libpng-dev amd64 1.6.37-3build5 [192 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype-dev amd64 2.11.1+dfsg-1ubuntu0.2 [555 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype6-dev amd64 2.11.1+dfsg-1ubuntu0.2 [8,290 B]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 uuid-dev amd64 2.37.2-4ubuntu3 [33.1 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 pkg-config amd64 0.29.2-1ubuntu3 [48.2 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfontconfig-dev amd64 2.13.1-4.2ubuntu5 [151 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfontconfig1-dev amd64 2.13.1-4.2ubuntu5 [1,836 B]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfontenc-dev amd64 1:1.1.4-1build3 [15.4 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfs6 amd64 2:1.0.8-1build2 [22.9 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfs-dev amd64 2:1.0.8-1build2 [29.1 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libpixman-1-dev amd64 0.40.0-1ubuntu0.22.04.1 [280 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libpng-tools amd64 1.6.37-3build5 [28.7 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxext-dev amd64 2:1.3.4-1build1 [84.7 kB]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxmu-headers all 2:1.1.3-3 [54.1 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxmu-dev amd64 2:1.1.3-3 [54.6 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libxpm-dev amd64 1:3.5.12-1ubuntu0.22.04.2 [90.7 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxaw7-dev amd64 2:1.0.14-1 [253 kB]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxfixes-dev amd64 1:6.0.0-1 [12.2 kB]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxcomposite-dev amd64 1:0.4.5-1build2 [9,326 B]
Get:25 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxrender-dev amd64 1:0.9.10-1build4 [26.7 kB]
Get:26 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxcursor-dev amd64 1:1.2.0-2build4 [28.2 kB]
Get:27 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxcvt-dev amd64 0.1.1-3 [3,242 B]
Get:28 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxdamage-dev amd64 1:1.1.5-2build2 [5,264 B]
Get:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxfont-dev amd64 1:2.0.5-1build1 [128 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxft-dev amd64 2.3.4-1 [52.4 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxi-dev amd64 2:1.8-1build1 [193 kB]
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxinerama-dev amd64 2:1.1.4-3 [8,104 B]
Get:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxkbfile-dev amd64 1:1.1.0-1build3 [85.0 kB]
Get:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxmuu-dev amd64 2:1.1.3-3 [7,926 B]
Get:35 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxrandr-dev amd64 2:1.5.2-1build1 [26.7 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxres-dev amd64 2:1.2.1-1 [8,538 B]
Get:37 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxss-dev amd64 1:1.2.3-1build2 [12.3 kB]
Get:38 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxtst-dev amd64 2:1.2.3-1build4 [16.3 kB]
Get:39 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxv-dev amd64 2:1.0.11-1build2 [33.4 kB]
Get:40 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxvmc-dev amd64 2:1.0.12-2build2 [24.2 kB]
Get:41 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxxf86dga-dev amd64 2:1.1.5-0ubuntu3 [16.5 kB]
Get:42 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libxxf86vm-dev amd64 1:1.1.4-1build3 [13.9 kB]
Get:43 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 mesa-common-dev amd64 23.0.4-0ubuntu1~22.04.1 [2,010 kB]
Get:44 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 xserver-xorg-dev amd64 2:21.1.4-2ubuntu1.7~22.04.5 [203 kB]
Get:45 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 xorg-dev all 1:7.7+23ubuntu2 [4,262 B]
Fetched 5,527 kB in 1s (6,782 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libbrotli-dev:amd64.
(Reading database ... 213607 files and directories currently installed.)
Preparing to unpack .../00-libbrotli-dev_1.0.9-2build6_amd64.deb ...
Unpacking libbrotli-dev:amd64 (1.0.9-2build6) ...
Selecting previously unselected package libdmx1:amd64.
Preparing to unpack .../01-libdmx1_1%3a1.1.4-2build2_amd64.deb ...
Unpacking libdmx1:amd64 (1:1.1.4-2build2) ...
Selecting previously unselected package libdmx-dev:amd64.
Preparing to unpack .../02-libdmx-dev_1%3a1.1.4-2build2_amd64.deb ...
Unpacking libdmx-dev:amd64 (1:1.1.4-2build2) ...
Selecting previously unselected package libpciaccess-dev:amd64.
Preparing to unpack .../03-libpciaccess-dev_0.16-3_amd64.deb ...
Unpacking libpciaccess-dev:amd64 (0.16-3) ...
Selecting previously unselected package libdrm-dev:amd64.
Preparing to unpack .../04-libdrm-dev_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm-dev:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack .../05-libpng-dev_1.6.37-3build5_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.37-3build5) ...
Selecting previously unselected package libfreetype-dev:amd64.
Preparing to unpack .../06-libfreetype-dev_2.11.1+dfsg-1ubuntu0.2_amd64.deb ...
Unpacking libfreetype-dev:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Selecting previously unselected package libfreetype6-dev:amd64.
Preparing to unpack .../07-libfreetype6-dev_2.11.1+dfsg-1ubuntu0.2_amd64.deb ...
Unpacking libfreetype6-dev:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../08-uuid-dev_2.37.2-4ubuntu3_amd64.deb ...
Unpacking uuid-dev:amd64 (2.37.2-4ubuntu3) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../09-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Selecting previously unselected package libfontconfig-dev:amd64.
Preparing to unpack .../10-libfontconfig-dev_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig-dev:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libfontconfig1-dev:amd64.
Preparing to unpack .../11-libfontconfig1-dev_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig1-dev:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libfontenc-dev:amd64.
Preparing to unpack .../12-libfontenc-dev_1%3a1.1.4-1build3_amd64.deb ...
Unpacking libfontenc-dev:amd64 (1:1.1.4-1build3) ...
Selecting previously unselected package libfs6:amd64.
Preparing to unpack .../13-libfs6_2%3a1.0.8-1build2_amd64.deb ...
Unpacking libfs6:amd64 (2:1.0.8-1build2) ...
Selecting previously unselected package libfs-dev:amd64.
Preparing to unpack .../14-libfs-dev_2%3a1.0.8-1build2_amd64.deb ...
Unpacking libfs-dev:amd64 (2:1.0.8-1build2) ...
Selecting previously unselected package libpixman-1-dev:amd64.
Preparing to unpack .../15-libpixman-1-dev_0.40.0-1ubuntu0.22.04.1_amd64.deb ...
Unpacking libpixman-1-dev:amd64 (0.40.0-1ubuntu0.22.04.1) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../16-libpng-tools_1.6.37-3build5_amd64.deb ...
Unpacking libpng-tools (1.6.37-3build5) ...
Selecting previously unselected package libxext-dev:amd64.
Preparing to unpack .../17-libxext-dev_2%3a1.3.4-1build1_amd64.deb ...
Unpacking libxext-dev:amd64 (2:1.3.4-1build1) ...
Selecting previously unselected package libxmu-headers.
Preparing to unpack .../18-libxmu-headers_2%3a1.1.3-3_all.deb ...
Unpacking libxmu-headers (2:1.1.3-3) ...
Selecting previously unselected package libxmu-dev:amd64.
Preparing to unpack .../19-libxmu-dev_2%3a1.1.3-3_amd64.deb ...
Unpacking libxmu-dev:amd64 (2:1.1.3-3) ...
Selecting previously unselected package libxpm-dev:amd64.
Preparing to unpack .../20-libxpm-dev_1%3a3.5.12-1ubuntu0.22.04.2_amd64.deb ...
Unpacking libxpm-dev:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Selecting previously unselected package libxaw7-dev:amd64.
Preparing to unpack .../21-libxaw7-dev_2%3a1.0.14-1_amd64.deb ...
Unpacking libxaw7-dev:amd64 (2:1.0.14-1) ...
Selecting previously unselected package libxfixes-dev:amd64.
Preparing to unpack .../22-libxfixes-dev_1%3a6.0.0-1_amd64.deb ...
Unpacking libxfixes-dev:amd64 (1:6.0.0-1) ...
Selecting previously unselected package libxcomposite-dev:amd64.
Preparing to unpack .../23-libxcomposite-dev_1%3a0.4.5-1build2_amd64.deb ...
Unpacking libxcomposite-dev:amd64 (1:0.4.5-1build2) ...
Selecting previously unselected package libxrender-dev:amd64.
Preparing to unpack .../24-libxrender-dev_1%3a0.9.10-1build4_amd64.deb ...
Unpacking libxrender-dev:amd64 (1:0.9.10-1build4) ...
Selecting previously unselected package libxcursor-dev:amd64.
Preparing to unpack .../25-libxcursor-dev_1%3a1.2.0-2build4_amd64.deb ...
Unpacking libxcursor-dev:amd64 (1:1.2.0-2build4) ...
Selecting previously unselected package libxcvt-dev:amd64.
Preparing to unpack .../26-libxcvt-dev_0.1.1-3_amd64.deb ...
Unpacking libxcvt-dev:amd64 (0.1.1-3) ...
Selecting previously unselected package libxdamage-dev:amd64.
Preparing to unpack .../27-libxdamage-dev_1%3a1.1.5-2build2_amd64.deb ...
Unpacking libxdamage-dev:amd64 (1:1.1.5-2build2) ...
Selecting previously unselected package libxfont-dev.
Preparing to unpack .../28-libxfont-dev_1%3a2.0.5-1build1_amd64.deb ...
Unpacking libxfont-dev (1:2.0.5-1build1) ...
Selecting previously unselected package libxft-dev:amd64.
Preparing to unpack .../29-libxft-dev_2.3.4-1_amd64.deb ...
Unpacking libxft-dev:amd64 (2.3.4-1) ...
Selecting previously unselected package libxi-dev:amd64.
Preparing to unpack .../30-libxi-dev_2%3a1.8-1build1_amd64.deb ...
Unpacking libxi-dev:amd64 (2:1.8-1build1) ...
Selecting previously unselected package libxinerama-dev:amd64.
Preparing to unpack .../31-libxinerama-dev_2%3a1.1.4-3_amd64.deb ...
Unpacking libxinerama-dev:amd64 (2:1.1.4-3) ...
Selecting previously unselected package libxkbfile-dev:amd64.
Preparing to unpack .../32-libxkbfile-dev_1%3a1.1.0-1build3_amd64.deb ...
Unpacking libxkbfile-dev:amd64 (1:1.1.0-1build3) ...
Selecting previously unselected package libxmuu-dev:amd64.
Preparing to unpack .../33-libxmuu-dev_2%3a1.1.3-3_amd64.deb ...
Unpacking libxmuu-dev:amd64 (2:1.1.3-3) ...
Selecting previously unselected package libxrandr-dev:amd64.
Preparing to unpack .../34-libxrandr-dev_2%3a1.5.2-1build1_amd64.deb ...
Unpacking libxrandr-dev:amd64 (2:1.5.2-1build1) ...
Selecting previously unselected package libxres-dev:amd64.
Preparing to unpack .../35-libxres-dev_2%3a1.2.1-1_amd64.deb ...
Unpacking libxres-dev:amd64 (2:1.2.1-1) ...
Selecting previously unselected package libxss-dev:amd64.
Preparing to unpack .../36-libxss-dev_1%3a1.2.3-1build2_amd64.deb ...
Unpacking libxss-dev:amd64 (1:1.2.3-1build2) ...
Selecting previously unselected package libxtst-dev:amd64.
Preparing to unpack .../37-libxtst-dev_2%3a1.2.3-1build4_amd64.deb ...
Unpacking libxtst-dev:amd64 (2:1.2.3-1build4) ...
Selecting previously unselected package libxv-dev:amd64.
Preparing to unpack .../38-libxv-dev_2%3a1.0.11-1build2_amd64.deb ...
Unpacking libxv-dev:amd64 (2:1.0.11-1build2) ...
Selecting previously unselected package libxvmc-dev:amd64.
Preparing to unpack .../39-libxvmc-dev_2%3a1.0.12-2build2_amd64.deb ...
Unpacking libxvmc-dev:amd64 (2:1.0.12-2build2) ...
Selecting previously unselected package libxxf86dga-dev:amd64.
Preparing to unpack .../40-libxxf86dga-dev_2%3a1.1.5-0ubuntu3_amd64.deb ...
Unpacking libxxf86dga-dev:amd64 (2:1.1.5-0ubuntu3) ...
Selecting previously unselected package libxxf86vm-dev:amd64.
Preparing to unpack .../41-libxxf86vm-dev_1%3a1.1.4-1build3_amd64.deb ...
Unpacking libxxf86vm-dev:amd64 (1:1.1.4-1build3) ...
Selecting previously unselected package mesa-common-dev:amd64.
Preparing to unpack .../42-mesa-common-dev_23.0.4-0ubuntu1~22.04.1_amd64.deb ...
Unpacking mesa-common-dev:amd64 (23.0.4-0ubuntu1~22.04.1) ...
Selecting previously unselected package xserver-xorg-dev.
Preparing to unpack .../43-xserver-xorg-dev_2%3a21.1.4-2ubuntu1.7~22.04.5_amd64.deb ...
Unpacking xserver-xorg-dev (2:21.1.4-2ubuntu1.7~22.04.5) ...
Selecting previously unselected package xorg-dev.
Preparing to unpack .../44-xorg-dev_1%3a7.7+23ubuntu2_all.deb ...
Unpacking xorg-dev (1:7.7+23ubuntu2) ...
Setting up libxmu-headers (2:1.1.3-3) ...
Setting up libpixman-1-dev:amd64 (0.40.0-1ubuntu0.22.04.1) ...
Setting up libpciaccess-dev:amd64 (0.16-3) ...
Setting up libxcvt-dev:amd64 (0.1.1-3) ...
Setting up libpng-tools (1.6.37-3build5) ...
Setting up libxxf86dga-dev:amd64 (2:1.1.5-0ubuntu3) ...
Setting up libxxf86vm-dev:amd64 (1:1.1.4-1build3) ...
Setting up libpng-dev:amd64 (1.6.37-3build5) ...
Setting up libfontenc-dev:amd64 (1:1.1.4-1build3) ...
Setting up libxfixes-dev:amd64 (1:6.0.0-1) ...
Setting up libdmx1:amd64 (1:1.1.4-2build2) ...
Setting up libdmx-dev:amd64 (1:1.1.4-2build2) ...
Setting up uuid-dev:amd64 (2.37.2-4ubuntu3) ...
Setting up libxpm-dev:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Setting up libxext-dev:amd64 (2:1.3.4-1build1) ...
Setting up libfs6:amd64 (2:1.0.8-1build2) ...
Setting up libxres-dev:amd64 (2:1.2.1-1) ...
Setting up libxi-dev:amd64 (2:1.8-1build1) ...
Setting up libxmuu-dev:amd64 (2:1.1.3-3) ...
Setting up libxrender-dev:amd64 (1:0.9.10-1build4) ...
Setting up libbrotli-dev:amd64 (1.0.9-2build6) ...
Setting up libxtst-dev:amd64 (2:1.2.3-1build4) ...
Setting up libxkbfile-dev:amd64 (1:1.1.0-1build3) ...
Setting up libxdamage-dev:amd64 (1:1.1.5-2build2) ...
Setting up libdrm-dev:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxcomposite-dev:amd64 (1:0.4.5-1build2) ...
Setting up libxcursor-dev:amd64 (1:1.2.0-2build4) ...
Setting up libxmu-dev:amd64 (2:1.1.3-3) ...
Setting up libxss-dev:amd64 (1:1.2.3-1build2) ...
Setting up libfreetype-dev:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Setting up libxv-dev:amd64 (2:1.0.11-1build2) ...
Setting up libxrandr-dev:amd64 (2:1.5.2-1build1) ...
Setting up libxinerama-dev:amd64 (2:1.1.4-3) ...
Setting up libfs-dev:amd64 (2:1.0.8-1build2) ...
Setting up libxaw7-dev:amd64 (2:1.0.14-1) ...
Setting up mesa-common-dev:amd64 (23.0.4-0ubuntu1~22.04.1) ...
Setting up libxvmc-dev:amd64 (2:1.0.12-2build2) ...
Setting up libfontconfig-dev:amd64 (2.13.1-4.2ubuntu5) ...
Setting up libxfont-dev (1:2.0.5-1build1) ...
Setting up libfreetype6-dev:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Setting up libxft-dev:amd64 (2.3.4-1) ...
Setting up libfontconfig1-dev:amd64 (2.13.1-4.2ubuntu5) ...
Setting up xserver-xorg-dev (2:21.1.4-2ubuntu1.7~22.04.5) ...
Setting up xorg-dev (1:7.7+23ubuntu2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
Processing triggers for man-db (2.10.2-1) ...

(35)openssl

实际命令及结果如下:

$ sudo apt install openssl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
openssl is already the newest version (3.0.2-0ubuntu1.12).
openssl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

(36)libssl-dev

实际命令及结果如下:

$ sudo apt install libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  libssl-dev
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 2,373 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.12 [2,373 kB]
Fetched 2,373 kB in 0s (6,446 kB/s)  
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 215137 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.12_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.12) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.12) ...

(37)liblz4-tool

实际命令及结果如下:

$ sudo apt install liblz4-tool
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  lz4
The following NEW packages will be installed:
  liblz4-tool lz4
0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
Need to get 92.4 kB of archives.
After this operation, 249 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 lz4 amd64 1.9.3-2build2 [90.0 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 liblz4-tool all 1.9.3-2build2 [2,342 B]
Fetched 92.4 kB in 0s (409 kB/s)  
Selecting previously unselected package lz4.
(Reading database ... 215285 files and directories currently installed.)
Preparing to unpack .../lz4_1.9.3-2build2_amd64.deb ...
Unpacking lz4 (1.9.3-2build2) ...
Selecting previously unselected package liblz4-tool.
Preparing to unpack .../liblz4-tool_1.9.3-2build2_all.deb ...
Unpacking liblz4-tool (1.9.3-2build2) ...
Setting up lz4 (1.9.3-2build2) ...
Setting up liblz4-tool (1.9.3-2build2) ...
Processing triggers for man-db (2.10.2-1) ...

(38)genext2fs

实际命令及结果如下:

$ sudo apt install genext2fs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  genext2fs
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 31.1 kB of archives.
After this operation, 81.9 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 genext2fs amd64 1.5.0-2 [31.1 kB]
Fetched 31.1 kB in 0s (161 kB/s)     
Selecting previously unselected package genext2fs.
(Reading database ... 215299 files and directories currently installed.)
Preparing to unpack .../genext2fs_1.5.0-2_amd64.deb ...
Unpacking genext2fs (1.5.0-2) ...
Setting up genext2fs (1.5.0-2) ...
Processing triggers for man-db (2.10.2-1) ...

(39)default-jdk

实际命令及结果如下:

$ sudo apt install default-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  default-jdk-headless default-jre default-jre-headless
The following NEW packages will be installed:
  default-jdk default-jdk-headless default-jre default-jre-headless
0 upgraded, 4 newly installed, 0 to remove and 11 not upgraded.
Need to get 5,788 B of archives.
After this operation, 38.9 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 default-jre-headless amd64 2:1.11-72build2 [3,042 B]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 default-jre amd64 2:1.11-72build2 [896 B]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 default-jdk-headless amd64 2:1.11-72build2 [942 B]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 default-jdk amd64 2:1.11-72build2 [908 B]
Fetched 5,788 B in 0s (26.8 kB/s)
Selecting previously unselected package default-jre-headless.
(Reading database ... 215304 files and directories currently installed.)
Preparing to unpack .../default-jre-headless_2%3a1.11-72build2_amd64.deb ...
Unpacking default-jre-headless (2:1.11-72build2) ...
Selecting previously unselected package default-jre.
Preparing to unpack .../default-jre_2%3a1.11-72build2_amd64.deb ...
Unpacking default-jre (2:1.11-72build2) ...
Selecting previously unselected package default-jdk-headless.
Preparing to unpack .../default-jdk-headless_2%3a1.11-72build2_amd64.deb ...
Unpacking default-jdk-headless (2:1.11-72build2) ...
Selecting previously unselected package default-jdk.
Preparing to unpack .../default-jdk_2%3a1.11-72build2_amd64.deb ...
Unpacking default-jdk (2:1.11-72build2) ...
Setting up default-jre-headless (2:1.11-72build2) ...
Setting up default-jre (2:1.11-72build2) ...
Setting up default-jdk-headless (2:1.11-72build2) ...
Setting up default-jdk (2:1.11-72build2) ...

(40)libtinfo5

实际命令及结果如下:

$ sudo apt install libtinfo5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libtinfo5
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 100 kB of archives.
After this operation, 557 kB of additional disk space will be used.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 libtinfo5 amd64 6.3-2ubuntu0.1 [100 kB]
Fetched 100 kB in 0s (457 kB/s)
Selecting previously unselected package libtinfo5:amd64.
(Reading database ... 215311 files and directories currently installed.)
Preparing to unpack .../libtinfo5_6.3-2ubuntu0.1_amd64.deb ...
Unpacking libtinfo5:amd64 (6.3-2ubuntu0.1) ...
Setting up libtinfo5:amd64 (6.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(41)u-boot-tools

实际命令及结果如下:

$ sudo apt install u-boot-tools
[sudo] password for ph: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  device-tree-compiler libfdt1 libubootenv-tool libubootenv0.1
The following NEW packages will be installed:
  device-tree-compiler libfdt1 libubootenv-tool libubootenv0.1 u-boot-tools
0 upgraded, 5 newly installed, 0 to remove and 11 not upgraded.
Need to get 467 kB of archives.
After this operation, 1,368 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libubootenv0.1 amd64 0.3.2-1build1 [12.0 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libubootenv-tool amd64 0.3.2-1build1 [7,304 B]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 u-boot-tools amd64 2022.01+dfsg-2ubuntu2.5 [200 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfdt1 amd64 1.6.1-1 [20.0 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 device-tree-compiler amd64 1.6.1-1 [228 kB]
Fetched 467 kB in 0s (1,915 kB/s)              
Selecting previously unselected package libubootenv0.1:amd64.
(Reading database ... 215318 files and directories currently installed.)
Preparing to unpack .../libubootenv0.1_0.3.2-1build1_amd64.deb ...
Unpacking libubootenv0.1:amd64 (0.3.2-1build1) ...
Selecting previously unselected package libubootenv-tool.
Preparing to unpack .../libubootenv-tool_0.3.2-1build1_amd64.deb ...
Unpacking libubootenv-tool (0.3.2-1build1) ...
Selecting previously unselected package u-boot-tools.
Preparing to unpack .../u-boot-tools_2022.01+dfsg-2ubuntu2.5_amd64.deb ...
Unpacking u-boot-tools (2022.01+dfsg-2ubuntu2.5) ...
Selecting previously unselected package libfdt1:amd64.
Preparing to unpack .../libfdt1_1.6.1-1_amd64.deb ...
Unpacking libfdt1:amd64 (1.6.1-1) ...
Selecting previously unselected package device-tree-compiler.
Preparing to unpack .../device-tree-compiler_1.6.1-1_amd64.deb ...
Unpacking device-tree-compiler (1.6.1-1) ...
Setting up libfdt1:amd64 (1.6.1-1) ...
Setting up libubootenv0.1:amd64 (0.3.2-1build1) ...
Setting up device-tree-compiler (1.6.1-1) ...
Setting up u-boot-tools (2022.01+dfsg-2ubuntu2.5) ...
Setting up libubootenv-tool (0.3.2-1build1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(42)mtools

实际命令及结果如下:

$ sudo apt install mtools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  floppyd
The following NEW packages will be installed:
  mtools
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 201 kB of archives.
After this operation, 413 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 mtools amd64 4.0.33-1+really4.0.32-1build1 [201 kB]
Fetched 201 kB in 1s (388 kB/s)
Selecting previously unselected package mtools.
(Reading database ... 215389 files and directories currently installed.)
Preparing to unpack .../mtools_4.0.33-1+really4.0.32-1build1_amd64.deb ...
Unpacking mtools (4.0.33-1+really4.0.32-1build1) ...
Setting up mtools (4.0.33-1+really4.0.32-1build1) ...
Processing triggers for install-info (6.8-4build1) ...
Processing triggers for man-db (2.10.2-1) ...

(43)mtd-utils

实际命令及结果如下:

$ sudo apt install mtd-utils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libiniparser1
The following NEW packages will be installed:
  libiniparser1 mtd-utils
0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded.
Need to get 285 kB of archives.
After this operation, 1,331 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libiniparser1 amd64 4.1-4ubuntu4.1 [11.2 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 mtd-utils amd64 1:2.1.4-1 [273 kB]
Fetched 285 kB in 0s (1,222 kB/s)  
Selecting previously unselected package libiniparser1:amd64.
(Reading database ... 215465 files and directories currently installed.)
Preparing to unpack .../libiniparser1_4.1-4ubuntu4.1_amd64.deb ...
Unpacking libiniparser1:amd64 (4.1-4ubuntu4.1) ...
Selecting previously unselected package mtd-utils.
Preparing to unpack .../mtd-utils_1%3a2.1.4-1_amd64.deb ...
Unpacking mtd-utils (1:2.1.4-1) ...
Setting up libiniparser1:amd64 (4.1-4ubuntu4.1) ...
Setting up mtd-utils (1:2.1.4-1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(44)scons

实际命令及结果如下:

$ sudo apt install scons
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  scons
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 469 kB of archives.
After this operation, 2,316 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 scons all 4.0.1+dfsg-2 [469 kB]
Fetched 469 kB in 0s (1,948 kB/s)
Selecting previously unselected package scons.
(Reading database ... 215524 files and directories currently installed.)
Preparing to unpack .../scons_4.0.1+dfsg-2_all.deb ...
Unpacking scons (4.0.1+dfsg-2) ...
Setting up scons (4.0.1+dfsg-2) ...
Processing triggers for man-db (2.10.2-1) ...

(45)gcc-arm-none-eabi

实际命令及结果如下:

 sudo apt install gcc-arm-none-eabi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-dev libstdc++-arm-none-eabi-newlib
Suggested packages:
  libnewlib-doc
The following NEW packages will be installed:
  binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-dev libstdc++-arm-none-eabi-newlib
0 upgraded, 6 newly installed, 0 to remove and 11 not upgraded.
Need to get 442 MB of archives.
After this operation, 2,575 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 binutils-arm-none-eabi amd64 2.38-3ubuntu1+15build1 [3,040 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 gcc-arm-none-eabi amd64 15:10.3-2021.07-4 [47.7 MB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libstdc++-arm-none-eabi-dev all 15:10.3-2021.07-4+17 [1,049 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libnewlib-dev all 3.3.0-1.3 [137 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libnewlib-arm-none-eabi all 3.3.0-1.3 [43.2 MB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libstdc++-arm-none-eabi-newlib all 15:10.3-2021.07-4+17 [347 MB]
Fetched 442 MB in 15s (29.5 MB/s)                                                                                                                                                   
Selecting previously unselected package binutils-arm-none-eabi.
(Reading database ... 215755 files and directories currently installed.)
Preparing to unpack .../0-binutils-arm-none-eabi_2.38-3ubuntu1+15build1_amd64.deb ...
Unpacking binutils-arm-none-eabi (2.38-3ubuntu1+15build1) ...
Selecting previously unselected package gcc-arm-none-eabi.
Preparing to unpack .../1-gcc-arm-none-eabi_15%3a10.3-2021.07-4_amd64.deb ...
Unpacking gcc-arm-none-eabi (15:10.3-2021.07-4) ...
Selecting previously unselected package libstdc++-arm-none-eabi-dev.
Preparing to unpack .../2-libstdc++-arm-none-eabi-dev_15%3a10.3-2021.07-4+17_all.deb ...
Unpacking libstdc++-arm-none-eabi-dev (15:10.3-2021.07-4+17) ...
Selecting previously unselected package libnewlib-dev.
Preparing to unpack .../3-libnewlib-dev_3.3.0-1.3_all.deb ...
Unpacking libnewlib-dev (3.3.0-1.3) ...
Selecting previously unselected package libnewlib-arm-none-eabi.
Preparing to unpack .../4-libnewlib-arm-none-eabi_3.3.0-1.3_all.deb ...
Unpacking libnewlib-arm-none-eabi (3.3.0-1.3) ...
Selecting previously unselected package libstdc++-arm-none-eabi-newlib.
Preparing to unpack .../5-libstdc++-arm-none-eabi-newlib_15%3a10.3-2021.07-4+17_all.deb ...
Unpacking libstdc++-arm-none-eabi-newlib (15:10.3-2021.07-4+17) ...
Setting up binutils-arm-none-eabi (2.38-3ubuntu1+15build1) ...
Setting up gcc-arm-none-eabi (15:10.3-2021.07-4) ...
Setting up libnewlib-dev (3.3.0-1.3) ...
Setting up libnewlib-arm-none-eabi (3.3.0-1.3) ...
Setting up libstdc++-arm-none-eabi-dev (15:10.3-2021.07-4+17) ...
Setting up libstdc++-arm-none-eabi-newlib (15:10.3-2021.07-4+17) ...
Processing triggers for ccache (4.5.1-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

(46)gcc-arm-linux-gnueabi

实际命令及结果如下:

$ sudo apt install gcc-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils-arm-linux-gnueabi cpp-11-arm-linux-gnueabi cpp-arm-linux-gnueabi gcc-11-arm-linux-gnueabi gcc-11-arm-linux-gnueabi-base gcc-11-cross-base gcc-12-cross-base
  libasan6-armel-cross libatomic1-armel-cross libc6-armel-cross libc6-dev-armel-cross libgcc-11-dev-armel-cross libgcc-s1-armel-cross libgomp1-armel-cross libstdc++6-armel-cross
  libubsan1-armel-cross linux-libc-dev-armel-cross
Suggested packages:
  binutils-doc gcc-11-locales cpp-doc gcc-11-doc autoconf automake libtool gdb-arm-linux-gnueabi gcc-doc
The following packages will be REMOVED:
  g++-multilib gcc-multilib
The following NEW packages will be installed:
  binutils-arm-linux-gnueabi cpp-11-arm-linux-gnueabi cpp-arm-linux-gnueabi gcc-11-arm-linux-gnueabi gcc-11-arm-linux-gnueabi-base gcc-11-cross-base gcc-12-cross-base
  gcc-arm-linux-gnueabi libasan6-armel-cross libatomic1-armel-cross libc6-armel-cross libc6-dev-armel-cross libgcc-11-dev-armel-cross libgcc-s1-armel-cross libgomp1-armel-cross
  libstdc++6-armel-cross libubsan1-armel-cross linux-libc-dev-armel-cross
0 upgraded, 18 newly installed, 2 to remove and 11 not upgraded.
Need to get 38.4 MB of archives.
After this operation, 123 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gcc-11-arm-linux-gnueabi-base amd64 11.4.0-1ubuntu1~22.04cross1 [20.5 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 cpp-11-arm-linux-gnueabi amd64 11.4.0-1ubuntu1~22.04cross1 [8,864 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 cpp-arm-linux-gnueabi amd64 4:11.2.0-1ubuntu1 [3,474 B]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 binutils-arm-linux-gnueabi amd64 2.38-4ubuntu2.4 [3,495 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-cross-base all 11.4.0-1ubuntu1~22.04cross1 [15.5 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-12-cross-base all 12.3.0-1ubuntu1~22.04cross1 [15.7 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libc6-armel-cross all 2.35-0ubuntu1cross3 [1,015 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libgcc-s1-armel-cross all 12.3.0-1ubuntu1~22.04cross1 [46.4 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libgomp1-armel-cross all 12.3.0-1ubuntu1~22.04cross1 [119 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libatomic1-armel-cross all 12.3.0-1ubuntu1~22.04cross1 [10.3 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libasan6-armel-cross all 11.4.0-1ubuntu1~22.04cross1 [2,251 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libstdc++6-armel-cross all 12.3.0-1ubuntu1~22.04cross1 [573 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libubsan1-armel-cross all 12.3.0-1ubuntu1~22.04cross1 [975 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libgcc-11-dev-armel-cross all 11.4.0-1ubuntu1~22.04cross1 [845 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gcc-11-arm-linux-gnueabi amd64 11.4.0-1ubuntu1~22.04cross1 [17.6 MB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 gcc-arm-linux-gnueabi amd64 4:11.2.0-1ubuntu1 [1,230 B]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 linux-libc-dev-armel-cross all 5.15.0-22.22cross3 [1,203 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 libc6-dev-armel-cross all 2.35-0ubuntu1cross3 [1,398 kB]
Fetched 38.4 MB in 2s (25.0 MB/s)                      
(Reading database ... 219842 files and directories currently installed.)
Removing g++-multilib (4:11.2.0-1ubuntu1) ...
Removing gcc-multilib (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package gcc-11-arm-linux-gnueabi-base:amd64.
(Reading database ... 219839 files and directories currently installed.)
Preparing to unpack .../00-gcc-11-arm-linux-gnueabi-base_11.4.0-1ubuntu1~22.04cross1_amd64.deb ...
Unpacking gcc-11-arm-linux-gnueabi-base:amd64 (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package cpp-11-arm-linux-gnueabi.
Preparing to unpack .../01-cpp-11-arm-linux-gnueabi_11.4.0-1ubuntu1~22.04cross1_amd64.deb ...
Unpacking cpp-11-arm-linux-gnueabi (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package cpp-arm-linux-gnueabi.
Preparing to unpack .../02-cpp-arm-linux-gnueabi_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp-arm-linux-gnueabi (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package binutils-arm-linux-gnueabi.
Preparing to unpack .../03-binutils-arm-linux-gnueabi_2.38-4ubuntu2.4_amd64.deb ...
Unpacking binutils-arm-linux-gnueabi (2.38-4ubuntu2.4) ...
Selecting previously unselected package gcc-11-cross-base.
Preparing to unpack .../04-gcc-11-cross-base_11.4.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package gcc-12-cross-base.
Preparing to unpack .../05-gcc-12-cross-base_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking gcc-12-cross-base (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libc6-armel-cross.
Preparing to unpack .../06-libc6-armel-cross_2.35-0ubuntu1cross3_all.deb ...
Unpacking libc6-armel-cross (2.35-0ubuntu1cross3) ...
Selecting previously unselected package libgcc-s1-armel-cross.
Preparing to unpack .../07-libgcc-s1-armel-cross_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libgcc-s1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libgomp1-armel-cross.
Preparing to unpack .../08-libgomp1-armel-cross_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libgomp1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libatomic1-armel-cross.
Preparing to unpack .../09-libatomic1-armel-cross_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libatomic1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libasan6-armel-cross.
Preparing to unpack .../10-libasan6-armel-cross_11.4.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libasan6-armel-cross (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libstdc++6-armel-cross.
Preparing to unpack .../11-libstdc++6-armel-cross_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libstdc++6-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libubsan1-armel-cross.
Preparing to unpack .../12-libubsan1-armel-cross_12.3.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libubsan1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package libgcc-11-dev-armel-cross.
Preparing to unpack .../13-libgcc-11-dev-armel-cross_11.4.0-1ubuntu1~22.04cross1_all.deb ...
Unpacking libgcc-11-dev-armel-cross (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package gcc-11-arm-linux-gnueabi.
Preparing to unpack .../14-gcc-11-arm-linux-gnueabi_11.4.0-1ubuntu1~22.04cross1_amd64.deb ...
Unpacking gcc-11-arm-linux-gnueabi (11.4.0-1ubuntu1~22.04cross1) ...
Selecting previously unselected package gcc-arm-linux-gnueabi.
Preparing to unpack .../15-gcc-arm-linux-gnueabi_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc-arm-linux-gnueabi (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package linux-libc-dev-armel-cross.
Preparing to unpack .../16-linux-libc-dev-armel-cross_5.15.0-22.22cross3_all.deb ...
Unpacking linux-libc-dev-armel-cross (5.15.0-22.22cross3) ...
Selecting previously unselected package libc6-dev-armel-cross.
Preparing to unpack .../17-libc6-dev-armel-cross_2.35-0ubuntu1cross3_all.deb ...
Unpacking libc6-dev-armel-cross (2.35-0ubuntu1cross3) ...
Setting up binutils-arm-linux-gnueabi (2.38-4ubuntu2.4) ...
Setting up gcc-11-arm-linux-gnueabi-base:amd64 (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-12-cross-base (12.3.0-1ubuntu1~22.04cross1) ...
Setting up cpp-11-arm-linux-gnueabi (11.4.0-1ubuntu1~22.04cross1) ...
Setting up linux-libc-dev-armel-cross (5.15.0-22.22cross3) ...
Setting up cpp-arm-linux-gnueabi (4:11.2.0-1ubuntu1) ...
Setting up libc6-armel-cross (2.35-0ubuntu1cross3) ...
Setting up gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libc6-dev-armel-cross (2.35-0ubuntu1cross3) ...
Setting up libgomp1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libgcc-s1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libstdc++6-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libatomic1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libubsan1-armel-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libasan6-armel-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libgcc-11-dev-armel-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-11-arm-linux-gnueabi (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-arm-linux-gnueabi (4:11.2.0-1ubuntu1) ...
Processing triggers for ccache (4.5.1-1) ...
Updating symlinks in /usr/lib/ccache ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...

至此就完成了所有依赖包的下载安装。

这里顺带提一下,笔者发现虚拟机在安装Ubuntu之后,第一次关机再开机后,网络图标都会消失,在设置中的网络也没有“Wired”那一项。解决这个问题的方法参考:【Ubuntu】Ubuntu22.04没有网络图标解决办法

解决方法是删除NetworkManager缓存文件,重启网络后问题就解决了。具体命令(步骤)如下:

sudo systemctl stop NetworkManager

sudo rm /var/lib/NetworkManager/NetworkManager.state

sudo systemctl start NetworkManager

笔者遇到的是一模一样的问题,亲测有效。只是一节,必须趁着有网络的时候先sudo apt update。?

至此,第1步——安装依赖工具就完成了。

文章来源:https://blog.csdn.net/phmatthaus/article/details/135394876
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。