How To Install sleuthkit on Ubuntu 22.04
Introduction
In this tutorial we learn how to install sleuthkit
on Ubuntu 22.04.
What is sleuthkit
sleuthkit is:
The Sleuth Kit, also known as TSK, is a collection of UNIX-based command line file and volume system forensic analysis tools. The filesystem tools allow you to examine filesystems of a suspect computer in a non-intrusive fashion. Because the tools do not rely on the operating system to process the filesystems, deleted and hidden content is shown.
The volume system (media management) tools allow you to examine the layout of disks and other media. You can also recover deleted files, get information stored in slack spaces, examine filesystems journal, see partitions layout on disks or images etc. But is very important clarify that the TSK acts over the current filesystem only.
The Sleuth Kit supports DOS partitions, BSD partitions (disk labels), Mac partitions, Sun slices (Volume Table of Contents), and GPT disks. With these tools, you can identify where partitions are located and extract them so that they can be analyzed with filesystem analysis tools.
Currently, TSK supports several filesystems, as NTFS, FAT, exFAT, HFS+, Ext3, Ext4, UFS and YAFFS2.
This package contains the set of command line tools in The Sleuth Kit.
There are three methods to install sleuthkit
on Ubuntu 22.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 sleuthkit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sleuthkit
using apt-get
by running the following command:
sudo apt-get -y install sleuthkit
Install sleuthkit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sleuthkit
using apt
by running the following command:
sudo apt -y install sleuthkit
Install sleuthkit 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 sleuthkit
using aptitude
by running the following command:
sudo aptitude -y install sleuthkit
How To Uninstall sleuthkit on Ubuntu 22.04
To uninstall only the sleuthkit
package we can use the following command:
sudo apt-get remove sleuthkit
Uninstall sleuthkit And Its Dependencies
To uninstall sleuthkit
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove sleuthkit
Remove sleuthkit Configurations and Data
To remove sleuthkit
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge sleuthkit
Remove sleuthkit configuration, data, and all of its dependencies
We can use the following command to remove sleuthkit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sleuthkit
References
Summary
In this tutorial we learn how to install sleuthkit
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.