trash-put command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
trash-put: command not found
or when using sudo you get the following error message
sudo: trash-put: command not found
Solutions to trash-put: command not found
How To Fix trash-put: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu trash-put is provided by trash-cli package.
trash-cli is:
This package provides a command line interface trashcan utility compliant with the FreeDesktop.org Trash Specification. It remembers the name, original path, deletion date, and permissions of each trashed file
To fix this problem, we can install more using the command below.
sudo apt-get -y install trash-cli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install trash-cli.
sudo apt -y install trash-cli
Or if you have aptitude installed you can use the following command.
sudo aptitude install trash-cli
Summary
In this tutorial we learn how to fix trash-put command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.