wormhole command not found

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

Introduction

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

wormhole: command not found

or when using sudo you get the following error message

sudo: wormhole: command not found

Solutions to wormhole: command not found

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

In Ubuntu wormhole is provided by magic-wormhole package.

magic-wormhole is:

Magic Wormhole provides a command-line tool and Python library named “wormhole” which makes it possible to very easily transfer short pieces of text or arbitrary-sized files or directories from one computer to another.

The two endpoints are identified by using identical “wormhole codes”: in general, the sending machine generates and displays the code, which must then be typed into the receiving machine. The codes are short and human-pronounceable, using a phonetically-distinct wordlist. The receiving side offers tab-completion on the codewords, so usually only a few characters must be typed. Wormhole codes are single-use and do not need to be memorized.

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

sudo apt-get -y install magic-wormhole

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

You can also use apt command to install magic-wormhole.

sudo apt -y install magic-wormhole

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

sudo aptitude install magic-wormhole

Summary

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