请帮助我了解 cryptsetup 的工作原理,以及 cryptsetup-bin 的缺失对 cryptsetup 有何影响
答案1
cryptsetup-bin 是 cryptsetup 的依赖项,但 cryptsetup-bin 不需要 cryptsetup 即可运行。
从结果来看apt show cryptsetup-bin
:
Description: disk encryption support - command line tools
Cryptsetup provides an interface for configuring encryption on block
devices (such as /home or swap partitions), using the Linux kernel
device mapper target dm-crypt. It features integrated Linux Unified Key
Setup (LUKS) support.
从结果来看apt show cryptsetup
:
Description: disk encryption support - startup scripts
Cryptsetup provides an interface for configuring encryption on block
devices (such as /home or swap partitions), using the Linux kernel
device mapper target dm-crypt. It features integrated Linux Unified Key
Setup (LUKS) support.
要在所有当前支持的 Ubuntu 版本中安装 cryptsetup-bin,请打开终端并输入:
sudo apt install cryptsetup-bin