How To Install forensics-colorize on Ubuntu 18.04

In this tutorial we learn how to install forensics-colorize on Ubuntu 18.04. forensics-colorize is show differences between files using color graphics

Introduction

In this tutorial we learn how to install forensics-colorize on Ubuntu 18.04.

What is forensics-colorize

forensics-colorize is:

forensics-colorize is a set of tools to visually compare large files, as filesystem images, creating graphics of them. It is intuitive because the produced graphics provide a quick and perfect sense about the percentage of changes between two files.

Comparing large textual files using a simple diff can produce a very big result in lines, causing confusion. On the other hand, diff is improper to compare binary files.

This package provides two command line programs: filecompare and colorize. The filecompare command is used to create a special and auxiliary input file for colorize. The colorize command will generate an intuitive graphic that will make easier to perceive the level of changes between the files.

There are three methods to install forensics-colorize 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 forensics-colorize Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install forensics-colorize

Install forensics-colorize Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install forensics-colorize

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

sudo aptitude -y install forensics-colorize

How To Uninstall forensics-colorize on Ubuntu 18.04

To uninstall only the forensics-colorize package we can use the following command:

sudo apt-get remove forensics-colorize

Uninstall forensics-colorize And Its Dependencies

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

sudo apt-get -y autoremove forensics-colorize

Remove forensics-colorize Configurations and Data

To remove forensics-colorize configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge forensics-colorize

Remove forensics-colorize configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge forensics-colorize

References

Summary

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