cryptmount-setup command not found

In this troubleshooting guide we learn how to fix cryptmount-setup command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cryptmount-setup: command not found

or when using sudo you get the following error message

sudo: cryptmount-setup: command not found

Solutions to cryptmount-setup: command not found

How To Fix cryptmount-setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cryptmount-setup is provided by cryptmount package.

cryptmount is:

cryptmount is a utility for creating encrypted filesystems & swap partitions and which allows an ordinary user to mount/unmount filesystems without requiring superuser privileges.

It offers the following features: * easy and safe on-demand access to filesystems without su/sudo; * access passwords can be changed easily without involving the sys-admin; * filesystems can reside on raw disk partitions or ordinary files; * supports LUKS encrypted filesystems created by cryptsetup; * encrypted access keys can be stored on removable media (e.g. USB flash disks); * includes support for encrypted swap partitions; * multiple filesystems can be stored in a single disk partition; * encrypted filesystems can be initialized at boot-up or on demand; * temporary filesystems can be setup via command-line, for use in shell-scripts; * transparent configuration of dm-crypt & loopback devices during mounting; * access keys can optionally be made compatible with OpenSSL.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cryptmount

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cryptmount.

sudo apt -y install cryptmount

Or if you have aptitude installed you can use the following command.

sudo aptitude install cryptmount

Summary

In this tutorial we learn how to fix cryptmount-setup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.