Download · Toolkit

Download Toolkit 4 Linux

The forensic4linux.com Toolkit is a single shell script that downloads and installs the most commonly used open-source Linux forensic tools — acquisition, carving, recovery, logs, memory, and metadata analysis — through your distribution's package manager and pip. It is written in portable POSIX sh, detects your distribution automatically, and installs every tool with sensible defaults.

One-command install

On a machine where your user has sudo rights, that's all you need — the script re-uses sudo for the package commands and asks for the password when required. To be explicit about privileges you can also run:

curl -sS -k https://forensic4linux.com/download/toolkit | sudo sh
Why this is safe-ish Piping a script to sh means you run code from the network as your user (or root). The script is plain text and logged to /tmp/forensic4linux-toolkit.log It only installs packages from your distro's repositories and volatility3 from PyPI; it never touches your data.

What gets installed

ToolPurposeProvides
The Sleuth KitFile-system & volume analysis from imagesfls, icat, istat, mmls, fsstat, mactime
AutopsyGraphical forensics platform on top of TSKautopsy
dcflddDrive imaging with on-the-fly hashingdcfldd
testdisk / photorecPartition recovery & media carvingtestdisk, photorec
foremostSignature-based file carvingforemost
scalpelFast, config-driven file carvingscalpel
bulk_extractorBulk artifact extraction (emails, URLs, PII)bulk_extractor
extundeleteDeleted-file recovery on ext3/ext4extundelete
ddrescueRobust drive imaging past read errorsddrescue
e2fsprogsext filesystem internals & debugfsdebugfs
binutilsText extraction from binariesstrings
ripgrepFast grep for logs & raw image searchingrg
libewf toolsE01 / EWF expert-witness format imagingewfacquire, ewfexport
p7zip / unzipArchive handling7z, unzip
exiftoolMetadata extraction from mediaexiftool
smartmontoolsDrive health inspectionsmartctl
hdparmDrive identity & infohdparm
volatility3Memory forensics (from PyPI)vol3

Supported distributions

FamilyPackage managerCoverage
Debian / UbuntuaptFull — everything is packaged
Fedora / RHEL / CentOS / Rocky / Almadnf (yum fallback)Full — most tools packaged
Arch LinuxpacmanGood — some tools live in the AUR and are skipped with a warning
openSUSEzypperGood — most tools packaged
AlpineapkPartial — core tools only

If a tool isn't available in your distribution's repositories, the script reports it in the final summary instead of failing — every tool that can be installed, is.

What the script does

  1. Detects your distribution and package manager from /etc/os-release.
  2. Checks which tools are already present (skips re-install).
  3. Installs missing tools from your distro's repositories with sudo.
  4. Installs volatility3 from PyPI with pip.
  5. Logs everything to /tmp/forensic4linux-toolkit.log.
  6. Prints a summary of what was installed and what needs manual attention.
Legal reminder Install the toolkit on machines you own or are authorized to examine. The tools it installs are for legitimate digital forensics, incident response, and training — same as everything else on this site.

← Back to home  ·  View raw toolkit script →