How to Install and Uninstall cryptsetup Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 02,2024

1. Install "cryptsetup" package

Please follow the guidelines below to install cryptsetup on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cryptsetup

2. Uninstall "cryptsetup" package

Please follow the steps below to uninstall cryptsetup on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cryptsetup $ sudo apt autoclean && sudo apt autoremove

3. Information about the cryptsetup package on Ubuntu 21.04 (Hirsute Hippo)

Package: cryptsetup
Architecture: amd64
Version: 2:2.3.4-1ubuntu3
Multi-Arch: foreign
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Cryptsetup Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 423
Depends: cryptsetup-bin (>= 2:1.6.0), dmsetup, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.33)
Recommends: cryptsetup-initramfs, cryptsetup-run
Suggests: dosfstools, keyutils, liblocale-gettext-perl
Breaks: cryptsetup-run (<< 2:2.1.0-6)
Replaces: cryptsetup-run (<< 2:2.1.0-6)
Filename: pool/main/c/cryptsetup/cryptsetup_2.3.4-1ubuntu3_amd64.deb
Size: 172392
MD5sum: fe3d107bb52980fc5201c52190f9de44
SHA1: 72f3846f94fdbed156dd5a843e876d0a17fbb9c3
SHA256: eb22a5063cc4f319538f0fc44f1147e742c1d8a265e42d38f35bffa276d9ffb4
SHA512: f20fd2c335d70aa539c0ab744c948473d8fdd87f6d91b253014826a7c46b13fa6bbce0fafa34865fd1e840791a1418865d124a8046c971f3b861edb1fccee75b
Homepage: https://gitlab.com/cryptsetup/cryptsetup
Description-en: 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.
.
This package provides the cryptdisk_start and stop wrappers and
luksformat.
Description-md5: 8b31e9d1472acf1abfced8af08a00f11
Task: server, cloud-image, ubuntu-live, server-raspi, kubuntu-desktop, kubuntu-full, xubuntu-live, lubuntu-live, ubuntustudio-desktop, ubuntukylin-live, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-live