How to install Twilio Authy in Linux based system

Two-step verification is highly recommended to secure your online accounts. Most services now provide you with a feature to enable two-step verification. 

In the early days, we were dependent on OTP for two-factor authentication, but now you can choose several third-party applications for this specific task, and one of them is Twilio Authy.

What is Twilio Authy?

A Twilio Authy, a.ka. Authy, is an application that generates two-step secure tokens on your device, and you use that token to prove yourself as a legitimate user.

Authy does not provide a specific package for a specific Linux distro. They chose to go with Snaps, the most controversial program provided by Canonical.

Today we will see how to install Twilio Authy on Debian and Arch-based distributions.

Authy
Authy

Installation of Authy in Ubuntu

The first and foremost step is to install Snap on your Linux distributions, and then we can install Authy from the Snap store

A Ubuntu user can skip this because Snap is preinstalled, and for distributions like Debian, you need to run the following command:

$ sudo apt update && apt upgrade -y
$ sudo apt install snapd

One should always update their system repository before installing any new package which will help you to get the latest version of applications.

For other Linux flavours you can follow this guide to install Snap store on Ubuntu, Arch, Manjaro, CentOS, Fedora.

Before going further, it is best to restart your system to ensure snap paths are updated correctly at their corresponding locations.

Finally, we install Authy using a Snaps package manager.

$ sudo snap install authy --beta

Output:
authy 1.9.0 from Twilio Authy installed

After complete installation, you can find Authy on your app center or simply search it.

thefuck: Automatically Correct Previous Incorrect Command

Basic Setup of Twilio Authy

I already have an account with Twilio Authy, so I have simply entered my contact number linked with the account and moved ahead to the verification step.

Once it is done, you can generate Authy from your Linux machine; before that, you need to enter your backup password word to decrypt.

After that, Authy is yours.

Remove or Uninstall Authy

To remove authy is pretty simple. You just need to run a single command, and the authy will be purged from your Linux machine.

$ sudo snap remove --purge authy

Output:
authy removed

To ensure it is correctly uninstalled. Use the below command to check authy still present in your system.

Most reader preffered to read:A simple solution to the Private Key-Loss Conundrum

$ sudo snap list

Wrap up

That’s all to install Twilio Authy on your Linux machine.

If you are interested to know how you can generate Dynamical Passwords in a Linux terminal, then you should read this one.

Leave a Reply