apfsck command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apfsck: command not found
or when using sudo you get the following error message
sudo: apfsck: command not found
Solutions to apfsck: command not found
How To Fix apfsck: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apfsck is provided by apfsprogs package.
apfsprogs is:
This is a suite of userland software to work with the Apple File System on Linux. For now only mkfs and fsck tools are available, both functional but lacking in features. Compatibility with the Apple implementations has barely been tested; please exercise caution.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apfsprogs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apfsprogs.
sudo apt -y install apfsprogs
Or if you have aptitude installed you can use the following command.
sudo aptitude install apfsprogs
Summary
In this tutorial we learn how to fix apfsck command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.