care command not found

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

Introduction

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

care: command not found

or when using sudo you get the following error message

sudo: care: command not found

Solutions to care: command not found

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

In Ubuntu care is provided by care package.

care is:

CARE monitors the execution of the specified command to create an archive that contains all the material required to re-execute it in the same context.

That way, the command will be reproducible everywhere, even on Linux systems that are supposed to be not compatible with the original Linux system. CARE is typically useful to get reliable bug reports, demonstrations, artifact evaluation, tutorials, portable applications, minimal rootfs, file-system coverage, …

By design, CARE does not record events at all. Instead, it archives environment variables and accessed file-system components – before modification – during the so-called initial execution. Then, to reproduce this execution, the re-execute.sh script embedded into the archive restores the environment variables and relaunches the command confined into the saved file-system.

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

sudo apt-get -y install care

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

You can also use apt command to install care.

sudo apt -y install care

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

sudo aptitude install care

Summary

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