launchy command not found

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

Introduction

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

launchy: command not found

or when using sudo you get the following error message

sudo: launchy: command not found

Solutions to launchy: command not found

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

In Ubuntu launchy is provided by ruby-launchy package.

ruby-launchy is:

Launchy is a helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external applications from within ruby programs.

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

sudo apt-get -y install ruby-launchy

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

You can also use apt command to install ruby-launchy.

sudo apt -y install ruby-launchy

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

sudo aptitude install ruby-launchy

Summary

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