notify command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
notify: command not found
or when using sudo you get the following error message
sudo: notify: command not found
Solutions to notify: command not found
How To Fix notify: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu notify is provided by ruby-notify package.
ruby-notify is:
The “notify” provides a function to notify on cross platform. Notify supports the following features:
- growl
- notify-send
- Growl for Windows (
ruby_gntp
) - libnotify
- Mountain Lion Notification Center (
terminal-notifier
)
In Debian, “notify” command is simple wrapper to execute “notify-send”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-notify
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-notify.
sudo apt -y install ruby-notify
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-notify
Summary
In this tutorial we learn how to fix notify command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.