sswap command not found

In this troubleshooting guide we learn how to fix sswap command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

sswap: command not found

or when using sudo you get the following error message

sudo: sswap: command not found

Solutions to sswap: command not found

How To Fix sswap: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sswap is provided by secure-delete package.

secure-delete is:

Gutmann method based tools for securely wiping data from files, free disk space, swap and memory. This is a set of tools useful for security and anti-forensics actions.

This package provides srm, sfill, sswap and sdmem commands.

To fix this problem, we can install more using the command below.

sudo apt-get -y install secure-delete

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install secure-delete.

sudo apt -y install secure-delete

Or if you have aptitude installed you can use the following command.

sudo aptitude install secure-delete

Summary

In this tutorial we learn how to fix sswap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.