init-zram-swapping command not found
In this troubleshooting guide we learn how to fix init-zram-swapping command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
init-zram-swapping: command not found
or when using sudo you get the following error message
sudo: init-zram-swapping: command not found
Solutions to init-zram-swapping: command not found
How To Fix init-zram-swapping: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu init-zram-swapping is provided by zram-config package.
zram-config is:
This installs a simple service to enable zram support on kernels that have the module available.
To fix this problem, we can install more using the command below.
sudo apt-get -y install zram-config
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install zram-config.
sudo apt -y install zram-config
Or if you have aptitude installed you can use the following command.
sudo aptitude install zram-config
Summary
In this tutorial we learn how to fix init-zram-swapping command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.