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

本文主要参考:

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-devlibtsan0 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 libsigsegv2libtirpc-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-devlto-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-perllibstdc++-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-i386libc6-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-x32libc6-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-wheelpython3.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-setuptoolspython3-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) ...

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/589982.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【编译原理】期末预习做题向I

新的一年希望可以成为更好的人嘿嘿! 这一篇基本就是把 up 讲的题都截了一遍然后加了点自己的笔记啥的 O.o (不妥的话会删掉的 qwq,希望没事嘿嘿) 来源:混子速成 I. 绪论 记住组成部分 II. 前后无关文法和语言 1.…

Python从入门到网络爬虫、自动化

可以创建C、C#、Python、Golang、Java、React、Node、Vue、PHP项目 创建Java项目 创建Python项目 简单if……else……语句 # 简单的if……else……语句 state True if state:print("状态正常") else:print("状态异常")# 复杂的if……elif……语句 score …

一骑绝尘!维乐携手骑行侠客轻风逆旅带你解锁冬日逆旅

是逆风冬旅还是冻旅?冬日似乎都被骑友们默认做事应该闭关闭的时间了,空气中萧瑟的寒风仿佛是穿透我们的骨膜,当我还在路上瑟瑟发抖的时候,此时一位公路骑行侠正在开启他的冬日旅途~      以下是来自他的自诉:   …

saas 多租户系统数据隔离方案

关注WX公众号: commindtech77, 获得数据资产相关白皮书下载地址 1. 回复关键字:数据资源入表白皮书 下载 《2023数据资源入表白皮书》 2. 回复关键字:光大银行 下载 光大银行-《商业银行数据资产会计核算研究报告》 3. 回复关键字…

【STM32F103】SysTick系统定时器延时函数

SysTick SysTick是Cortex-M3内核中的一个外设,内嵌在NVIC中,叫系统定时器。 当处理器在调试期间被喊停时,SysTick也将暂停运作。 一共有四个寄存器,不过我们通常用前三个,不需要校准。下图出自《STM32F10xxx Cortex…

关于SIC 的Know-how

SiC的分类和用途 根据电阻率不同,SiC衬底晶片可分为导电型和半绝缘型。 SiC衬底晶片主要用来做成高压功率器件和高频功率器件。其中,导电型SiC衬底晶片经过SiC外延后(SiC基SiC外延片),主要应用于制造耐高温、耐高压的…

72内网安全-域横向CSMSF联动及应急响应知识

拿到才行,拿不到就是多余的 案例一MSF&CobaltStrike 联动 Shell 有一些功能可能cs或者msf强大一些,他们两个可以相互调用,在真实情况下也是可以cs和msf同时启动的, cs移交给msf .创建Foreign监听器 “Listeners”“Add”…

蓝桥杯一维差分 | 算法基础

⭐简单说两句⭐ ✨ 正在努力的小新~ 💖 超级爱分享,分享各种有趣干货! 👩‍💻 提供:模拟面试 | 简历诊断 | 独家简历模板 🌈 感谢关注,关注了你就是我的超级粉丝啦! &…

Python-docx 深入word源码 带有序号的段落无法设置段后、段前距离、间距等段落属性

如果使用p doc.add_paragraph(内容, styleList Number)来创建序号段落,会发现设置序号段落之间的段前、段后以及段落间距无法生效。后来将docx库生成的word文档打开后发现段落的设置出现问题,如下图红框所示,将该选项去掉即可使段落间距属性…

【AIGC-图片生成视频系列-4】DreamTuner:单张图像足以进行主题驱动生成

目录 一. 项目概述 问题: 解决: 二. 方法详解 a) 整体结构 b) 自主题注意力 三. 文本控制的动漫角色驱动图像生成的结果 四. 文本控制的自然图像驱动图像生成的结果 五. 姿势控制角色驱动图像生成的结果 2023年的最后一天,发个文记录…

迈向通用异常检测和理解:大规模视觉语言模型(GPT-4V)率先推出

PAPERCODEhttps://arxiv.org/pdf/2311.02782.pdfhttps://github.com/caoyunkang/GPT4V-for-Generic-Anomaly-Detection 图1 GPT-4V在多模态多任务异常检测中的综合评估 在这项研究中,我们在多模态异常检测的背景下对GPT-4V进行了全面评估。我们考虑了四种模式&#…

BikeDNA(二) OSM数据的内在分析1

BikeDNA(二) OSM数据的内在分析1 该笔记本分析给定区域的 OSM 自行车基础设施数据的质量。 质量评估是“内在的”,即仅基于一个输入数据集,而不使用外部信息。 对于将 OSM 数据与用户提供的参考数据集进行比较的外在质量评估&…

mysql原理--optimizer trace表的神器功效

1.概述 设计 MySQL 的大叔提出了一个 optimizer trace 的功能,这个功能可以让我们方便的查看优化器生成执行计划的整个过程,这个功能的开启与关闭由系统变量 optimizer_trace 决定。 如果想打开这个功能,必须首先把 enabled 的值改为 on &am…

力扣回溯算法-电话号码的字母组合

力扣第17题,电话号码的字母组合 题目 给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。 给出数字到字母的映射如下(与电话按键相同)。注意 1 不对应任何字母。 .电话号码的字母组合 示例: 输入:“2…

lv14 注册字符设备 3

1 注册字符设备 1.1 结构体介绍 struct cdev {struct kobject kobj;//表示该类型实体是一种内核对象struct module *owner;//填THIS_MODULE,表示该字符设备从属于哪个内核模块const struct file_operations *ops;//指向空间存放着针对该设备的各种操作函数地址str…

2023-12-17 LeetCode每日一题(使用最小花费爬楼梯)

2023-12-17每日一题 一、题目编号 746. 使用最小花费爬楼梯二、题目链接 点击跳转到题目位置 三、题目描述 给你一个整数数组 cost ,其中 cost[i] 是从楼梯第 i 个台阶向上爬需要支付的费用。一旦你支付此费用,即可选择向上爬一个或者两个台阶。 你…

宠物猫的饲养技术,可爱猫的秘密世界

一、教程描述 从来没有养过猫的朋友,在你猫咪来你家之前,最基本的准备工作需要做好,比如清洁消毒屋子,为猫咪准备好猫砂、猫砂盆、猫粮(不要去超市买猫粮),以及一个柔软的窝。满三个月的小猫要…

Linux 安装 mysql 【使用 tar.gz | tar.xz安装包-离线安装】

一、以tar.xz压缩包为安装源 网址:https://downloads.mysql.com/archives/community/ 二、解压压缩包 首先,将压缩包从windows传输到linux上 解压到/usr/local下,并且将解压的目录名称改为mysql tar -xvf /tmp/mysql-8.1.0-linux-glibc2.2…

【JVM】一文掌握JVM垃圾回收机制

作为Java程序员,除了业务逻辑以外,随着更深入的了解,都无法避免的会接触到JVM以及垃圾回收相关知识。JVM调优是一个听起来很可怕,实际上很简单的事。 感到可怕,是因为垃圾回收相关机制都在JVM的C++层实现,我们在Java开发中看不见摸不着;而实际很简单,是因为它说到底,也…

[密码学]ECC加密

椭圆曲线加密 Ellipse Curve Cryptography 椭圆曲线上的离散对数问题 Ellipse Curve Discrete logarithm Problem 椭圆曲线 注意积分公式的分母,椭圆曲线由此得名。这种曲线和椭圆一点不像。 离散对数: yg^x mod p,对于给定的g,x,p求y很容易&#…