Introduction
In this tutorial we learn how to install cryptmount
on Kali Linux.
What is cryptmount
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.
There are three methods to install cryptmount
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install cryptmount Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cryptmount
using apt-get
by running the following command:
sudo apt-get -y install cryptmount
Install cryptmount Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cryptmount
using apt
by running the following command:
sudo apt -y install cryptmount
Install cryptmount Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cryptmount
using aptitude
by running the following command:
sudo aptitude -y install cryptmount
How To Uninstall cryptmount on Kali Linux
To uninstall only the cryptmount
package we can use the following command:
sudo apt-get remove cryptmount
Uninstall cryptmount And Its Dependencies
To uninstall cryptmount
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cryptmount
Remove cryptmount Configurations and Data
To remove cryptmount
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cryptmount
Remove cryptmount configuration, data, and all of its dependencies
We can use the following command to remove cryptmount
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cryptmount
Dependencies
cryptmount have the following dependencies:
References
Summary
In this tutorial we learn how to install cryptmount
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.