How To Install cifer on Ubuntu 20.04

In this tutorial we learn how to install cifer on Ubuntu 20.04. cifer is multipurpose classical cryptanalysis and code-breaking tool

Introduction

In this tutorial we learn how to install cifer on Ubuntu 20.04.

What is cifer

cifer is:

Cifer provides many functions designed to aid in cracking classical ciphers; a group of ciphers used historically, but which have now fallen into disuse because of their suceptability to ciphertext-only attacks. In general, they were designed and implemented by hand, and operate on an alphabet of letters (such as [A-Z]).

It operates using text files as input and output, and can perform both brute force and other, more sophisticated, attacks against many classic encryption schemes. In addition, it provides many utilities such as frequency analysis and automated encryption/decryption of texts.

There are three methods to install cifer on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cifer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cifer using apt-get by running the following command:

sudo apt-get -y install cifer

Install cifer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cifer using apt by running the following command:

sudo apt -y install cifer

Install cifer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cifer using aptitude by running the following command:

sudo aptitude -y install cifer

How To Uninstall cifer on Ubuntu 20.04

To uninstall only the cifer package we can use the following command:

sudo apt-get remove cifer

Uninstall cifer And Its Dependencies

To uninstall cifer and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove cifer

Remove cifer Configurations and Data

To remove cifer configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge cifer

Remove cifer configuration, data, and all of its dependencies

We can use the following command to remove cifer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cifer

References

Summary

In this tutorial we learn how to install cifer package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.