How To Install Gocryptfs On Debian, Ubuntu, Arch, Kali, Raspbian And MacOS?
Maintainer: Debian Go Packaging Team
Email: [email protected] .
Website: https://github.com/rfjakob/gocryptfs
Section: devel
Install gocryptfs
-
Debian
apt-get install gocryptfsClick to copy -
Ubuntu
apt-get install gocryptfsClick to copy -
Arch Linux
pacman -S gocryptfsClick to copy -
Kali Linux
apt-get install gocryptfsClick to copy -
Raspbian
apt-get install gocryptfsClick to copy -
macOS
brew install gocryptfsClick to copy
Encrypted overlay filesystem written in Go.
How to use gocryptfs?
Below are few example commands for gocryptfs that you can use in the terminal.
Initialize an encrypted filesystem:gocryptfs -init path/to/cipher_dirClick to copyMount an encrypted filesystem:gocryptfs path/to/cipher_dir path/to/mount_pointClick to copyMount with the explicit master key instead of password:gocryptfs --masterkey path/to/cipher_dir path/to/mount_pointClick to copyChange the password:gocryptfs --passwd path/to/cipher_dirClick to copyMake an encrypted snapshot of a plain directory:gocryptfs --reverse path/to/plain_dir path/to/cipher_dirClick to copy
To install the latest version of gocryptfs in your favorite operating system just copy the gocryptfs installation command from above and paste it into terminal. It will download and install the latest version of gocryptfs 2026 package in your OS.




