How to install AES Crypt in linux to encrypt and decrypt your files

AES Crypt is a simple tool to encrypt end decrypt your files. You can do it without being expert in either linux and/or cryptography. If you are simply familiar with linux shell, you have more than enough knowledge to use AES Crypt.

AES Crypt is a file encryption software product available on several operating systems that uses the industry standard Advanced Encryption Standard (AES) to easily and securely encrypt files.

However, you might have needed root privilege if AES Crypt is not installed in your computer and you want to install it. The installation is also as easy as pie. Just look below:


Visit download page of AES Crypt and copy the download link of AES Crypt source code for linux.

SSH to your server as root and run the following commands:


tar -zxf download?file=v3%2Faescrypt305_source.tar.gz

Now the AES Crypt source is extracted. The download link and filename may differ version to version. Follow on…

cd aescrypt305_source/


make install

That’s it. If you don’t see any error message, AES Crypt is installed fine.

Now you may encrypt and decrypt any file easily.


aescrypt -e -p passkey

This command will encrypt with passkey. Remember this passkey. This is your key to decrypt this file. When the encryption is completed, you will see a new file This is your encrypted file. You may store it for future use. Again, if you forget your passkey, you will loss this file too.


aescrypt -d -p passkey

This will decrypt the file and will restore to its previous state.

You can get more examples here.