玩转贝启科技BQ3588C开源鸿蒙系统开发板 —— 代码下载(1)

发布时间:2024年01月01日

本文主要参考:

BQ3588C_代码下载

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

说明:

以上安装命令适用于Ubuntu18.04,其他版本请根据安装包名称采用对应的安装命令。

实操

以上是官网的步骤,下边结合笔者实际给出详细过程。这里说一下笔者的环境,笔者是在一台Windows电脑上安装的VMware虚拟机,电脑的软硬件信息如下:

?之后,在虚拟机中安装的Ubuntu系统,信息如下:

$ 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 update
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease     
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease
Fetched 110 kB in 2s (54.5 kB/s)   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.

(2)安装binutils

实际命令及结果如下:

$ sudo apt install binutils
[sudo] password for ph: 
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 5 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 1s (2,324 kB/s)
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 199169 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.5) ...
Processing triggers for man-db (2.10.2-1) ...

(3)安装git

实际命令及结果如下:

$ sudo apt install git
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 5 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 1s (6,024 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 199437 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
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 5 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 (10.1 MB/s)
Selecting previously unselected package git-lfs.
(Reading database ... 200422 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 5 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 libquadmath0 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 libquadmath0 libsigsegv2
  libtirpc-dev libtsan0 libubsan1 linux-libc-dev m4 manpages-dev rpcsvc-proto
0 upgraded, 24 newly installed, 0 to remove and 5 not upgraded.
Need to get 36.3 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 libquadmath0 amd64 12.3.0-1ubuntu1~22.04 [154 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2,517 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.4.0-1ubuntu1~22.04 [20.1 MB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.5 [20.3 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.5 [28.9 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-91.101 [1,332 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.5 [2,098 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfl2 amd64 2.6.4-8build2 [10.7 kB]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 libfl-dev amd64 2.6.4-8build2 [6,236 B]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/main amd64 manpages-dev all 5.10-1ubuntu1 [2,309 kB]
Fetched 36.3 MB in 2s (19.6 MB/s)        
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 200469 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 libquadmath0:amd64.
Preparing to unpack .../09-libquadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../10-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 .../11-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 .../12-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 .../13-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 .../14-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 .../15-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 .../16-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 .../17-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 .../18-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 .../19-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 .../20-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 .../21-libfl2_2.6.4-8build2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-8build2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../22-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 .../23-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 libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
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 5 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,829 kB/s)
Selecting previously unselected package bison.
(Reading database ... 204738 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 5 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 (440 kB/s) 
Selecting previously unselected package gperf.
(Reading database ... 204854 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 5 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 10s (1,479 kB/s)                  
Selecting previously unselected package libstdc++-11-dev:amd64.
(Reading database ... 204868 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 5 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 5 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 (159 kB/s)
Selecting previously unselected package curl.
(Reading database ... 206263 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 5 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 (763 kB/s)
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ... 206270 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 5 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 (16.1 MB/s)   
Selecting previously unselected package libc6-i386.
(Reading database ... 206299 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++-multiliblibc6-dev-i386

实际命令及结果如下:

$ sudo apt install g++-multiliblibc6-dev-i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package g++-multiliblibc6-dev-i386

(15)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 5 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 1s (1,973 kB/s)        
Selecting previously unselected package lib32tinfo6.
(Reading database ... 207156 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) ...

(16)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 5 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 1s (483 kB/s)         
Selecting previously unselected package xorg-sgml-doctools.
(Reading database ... 207297 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) ...

(17)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 5 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,220 kB/s)
Selecting previously unselected package libpthread-stubs0-dev:amd64.
(Reading database ... 207517 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) ...

(18)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 5 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 (537 kB/s)        
Selecting previously unselected package lib32z1.
(Reading database ... 207594 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) ...

(19)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 5 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,103 kB/s)
Selecting previously unselected package libhiredis0.14:amd64.
(Reading database ... 207605 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) ...

(20)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 5 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 1s (196 kB/s)       
Selecting previously unselected package libglx-dev:amd64.
(Reading database ... 207626 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) ...

(21)?libxml2-utils

实际命令及结果如下:

$ sudo apt install libgl1-mesa-dev
[sudo] password for ph: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgl1-mesa-dev is already the newest version (23.0.4-0ubuntu1~22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
ph@ph-virtual-machine:~$ sudo apt install libxml2-utils
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 5 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 1s (32.8 kB/s)        
Selecting previously unselected package libxml2-utils.
(Reading database ... 207719 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) ...

(22)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 5 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 (77.0 kB/s)   
Selecting previously unselected package xsltproc.
(Reading database ... 207727 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) ...

(23)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 5 not upgraded.

(24)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 5 not upgraded.

(25)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 5 not upgraded.

(26)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 5 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,658 kB/s)   
Selecting previously unselected package libunbound8:amd64.
(Reading database ... 207737 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) ...

(27)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

(28)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 5 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 (9,601 kB/s) 
Selecting previously unselected package javascript-common.
(Reading database ... 207772 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) ...

(29)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 5 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 (14.8 MB/s)     
Selecting previously unselected package fonts-lato.
(Reading database ... 209049 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) ...

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