luksformat

disk encryption support - command line tools

Install

All systems
curl cmd.cat/luksformat.sh
Debian Debian
apt-get install cryptsetup-bin
Ubuntu
apt-get install cryptsetup-bin
image/svg+xml Kali Linux
apt-get install cryptsetup-run
Windows (WSL2)
sudo apt-get update sudo apt-get install cryptsetup-bin
Raspbian
apt-get install cryptsetup-bin

cryptsetup-bin

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. This package provides cryptsetup, cryptsetup-reencrypt and luksformat.

cryptsetup-run

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. Cryptsetup is backwards compatible with the on-disk format of cryptoloop, but also supports more secure formats. This package includes support for automatically configuring encrypted devices at boot time via the config file /etc/crypttab. Additional features are cryptoroot support through initramfs-tools and several supported ways to read a passphrase or key.