How To Install jacksum on Ubuntu 18.04

In this tutorial we learn how to install jacksum on Ubuntu 18.04. jacksum is computes checksums, CRCs and message digests

Introduction

In this tutorial we learn how to install jacksum on Ubuntu 18.04.

What is jacksum

jacksum is:

Jacksum is a free and platform independent software for computing and verifying checksums, CRCs and message digests. Jacksum features both a commandline interface and an open API.

Jacksum supports 58 popular algorithms (Adler32, BSD sum, Bzip2’s CRC-32, POSIX cksum, CRC-8, CRC-16, CRC-24, CRC-32 (FCS-32), CRC-64, ELF-32, eMule/eDonkey, FCS-16, GOST R 34.11-94, HAS-160, HAVAL (3/4/5 passes, 128/160/192/224/256 bits), MD2, MD4, MD5, MPEG-2’s CRC-32, RIPEMD-128, RIPEMD-160, RIPEMD-256, RIPEMD-320, SHA-0, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, Tiger-128, Tiger-160, Tiger, Tiger2, Tiger Tree Hash, Tiger2 Tree Hash, Unix System V sum, sum8, sum16, sum24, sum32, Whirlpool-0, Whirlpool-1, Whirlpool and xor8).

Some of the additional features include:

  • Fully customizable output
  • Customized CRC algorithms and support for combination of multiple algorithms
  • By default, output is 100% compatible with Unix-standard tools such as sum, cksum, md5sum and sha1sum
  • Supports verification of both the content and timestamp of files
  • Large file aware
  • Recursive file processing

There are three methods to install jacksum on Ubuntu 18.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 jacksum Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jacksum

Install jacksum Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jacksum

Install jacksum 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 jacksum using aptitude by running the following command:

sudo aptitude -y install jacksum

How To Uninstall jacksum on Ubuntu 18.04

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

sudo apt-get remove jacksum

Uninstall jacksum And Its Dependencies

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

sudo apt-get -y autoremove jacksum

Remove jacksum Configurations and Data

To remove jacksum configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jacksum

Remove jacksum configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jacksum

References

Summary

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