cramfsswap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cramfsswap: command not found
or when using sudo you get the following error message
sudo: cramfsswap: command not found
Solutions to cramfsswap: command not found
How To Fix cramfsswap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cramfsswap is provided by cramfsswap package.
cramfsswap is:
cramfs is a highly compressed and size optimized Linux filesystem which is mainly used for embedded applications. The problem with cramfs is that it is endianness sensitive, meaning you can’t mount a cramfs for a big endian target on a little endian machine and vice versa. This is often especially a problem in the development phase.
cramfsswap solves that problem by allowing you to swap to endianness of a cramfs filesystem.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cramfsswap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cramfsswap.
sudo apt -y install cramfsswap
Or if you have aptitude installed you can use the following command.
sudo aptitude install cramfsswap
Summary
In this tutorial we learn how to fix cramfsswap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.