How To Install scalpel on CentOS 7

In this tutorial we learn how to install scalpel on CentOS 7. scalpel is Fast file carver working on disk images

Introduction

In this tutorial we learn how to install scalpel on CentOS 7.

What is scalpel

Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files. Scalpel is independent on used file-system and will carve files from FATx, NTFS, ext2/3, or raw partitions. It is useful for both digital forensics investigation and file recovery.

We can use yum or dnf to install scalpel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install scalpel.

Install scalpel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install scalpel using yum by running the following command:

sudo yum -y install scalpel

Install scalpel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install scalpel using dnf by running the following command:

sudo dnf -y install scalpel

How To Uninstall scalpel on CentOS 7

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

sudo dnf remove scalpel

References

Summary

In this tutorial we learn how to install scalpel on CentOS 7 using yum and dnf.