How To Install rifiuti2 on Ubuntu 18.04

In this tutorial we learn how to install rifiuti2 on Ubuntu 18.04. rifiuti2 is replacement for rifiuti, a MS Windows recycle bin analysis tool

Introduction

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

What is rifiuti2

rifiuti2 is:

Rifiuti2 analyses recycle bin files from Windows. Analysis of Windows recycle bin is usually carried out during Windows computer forensics.

Rifiuti2 can extract file deletion time, original path and size of deleted files and whether the deleted files have been moved out from the recycle bin since they are trashed.

Rifiuti2 is a rewrite of rifiuti, which is originally written for identical purpose. Then it was extended to cover more functionalities, such as:

  • Handles recycle bin up to Windows 10;
  • Handles ancient Windows like 95, NT4 and ME;
  • Supports all localized versions of Windows - both Unicode-based ones and legacy ones (using ANSI code page);
  • Supports output in XML format as well as original tab-delimited text.

Rifiuti2 is designed to be portable and runs on command line environment. Two programs rifiuti and rifiuti-vista are chosen depending on relevant Windows recycle bin format.

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

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

sudo apt-get update

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

sudo apt-get -y install rifiuti2

Install rifiuti2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rifiuti2

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

sudo aptitude -y install rifiuti2

How To Uninstall rifiuti2 on Ubuntu 18.04

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

sudo apt-get remove rifiuti2

Uninstall rifiuti2 And Its Dependencies

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

sudo apt-get -y autoremove rifiuti2

Remove rifiuti2 Configurations and Data

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

sudo apt-get -y purge rifiuti2

Remove rifiuti2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rifiuti2

References

Summary

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